Transformers
PyTorch
Arabic
t5
Arabic T5
MSA
Twitter
Arabic Dialect
Arabic Machine Translation
Arabic Text Summarization
Arabic News Title and Question Generation
Arabic Paraphrasing and Transliteration
Arabic Code-Switched Translation
text-generation-inference
Instructions to use UBC-NLP/AraT5v2-base-1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UBC-NLP/AraT5v2-base-1024 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("UBC-NLP/AraT5v2-base-1024", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -103,7 +103,7 @@
|
|
| 103 |
],
|
| 104 |
"eos_token": "</s>",
|
| 105 |
"extra_ids": 100,
|
| 106 |
-
"model_max_length":
|
| 107 |
"name_or_path": "vocab",
|
| 108 |
"pad_token": "<pad>",
|
| 109 |
"sp_model_kwargs": {},
|
|
|
|
| 103 |
],
|
| 104 |
"eos_token": "</s>",
|
| 105 |
"extra_ids": 100,
|
| 106 |
+
"model_max_length": 1024,
|
| 107 |
"name_or_path": "vocab",
|
| 108 |
"pad_token": "<pad>",
|
| 109 |
"sp_model_kwargs": {},
|