Instructions to use KoichiYasuoka/roberta-small-coptic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KoichiYasuoka/roberta-small-coptic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="KoichiYasuoka/roberta-small-coptic")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-small-coptic") model = AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-small-coptic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"do_lower_case": false, "remove_space": true, "keep_accents": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 128, "tokenizer_class": "PreTrainedTokenizerFast"} | |