Instructions to use oyousuf/afriberta_so1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use oyousuf/afriberta_so1 with Transformers:
# Load model directly from transformers import AutoTokenizer, RobertaForCL tokenizer = AutoTokenizer.from_pretrained("oyousuf/afriberta_so1") model = RobertaForCL.from_pretrained("oyousuf/afriberta_so1") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer_config.json
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"max_len": 512, "bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "castorini/afriberta_base", "use_fast": true}
|