Instructions to use vikp/surya_rec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vikp/surya_rec with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("vikp/surya_rec") model = AutoModel.from_pretrained("vikp/surya_rec") - Notebooks
- Google Colab
- Kaggle
Byt5LangTokenizer not available on huggingfaces
#2
by FiendHunter - opened
- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -1158,6 +1158,6 @@
|
|
| 1158 |
"model_max_length": 256,
|
| 1159 |
"pad_token": "<pad>",
|
| 1160 |
"processor_class": "SuryaProcessor",
|
| 1161 |
-
"tokenizer_class": "
|
| 1162 |
"unk_token": "<unk>"
|
| 1163 |
}
|
|
|
|
| 1158 |
"model_max_length": 256,
|
| 1159 |
"pad_token": "<pad>",
|
| 1160 |
"processor_class": "SuryaProcessor",
|
| 1161 |
+
"tokenizer_class": "Byt5Tokenizer",
|
| 1162 |
"unk_token": "<unk>"
|
| 1163 |
}
|