Instructions to use Recognai/selectra_medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Recognai/selectra_medium with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("Recognai/selectra_medium") model = AutoModelForPreTraining.from_pretrained("Recognai/selectra_medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
David commited on
Commit ·
953bd23
1
Parent(s): 0e56b3f
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"do_lower_case": false, "strip_accents": true}
|
|
|
|
| 1 |
+
{"do_lower_case": false, "strip_accents": true, "model_max_length": 512}
|