Instructions to use Tomlim/myt5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tomlim/myt5-large with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Tomlim/myt5-large") model = AutoModelForSeq2SeqLM.from_pretrained("Tomlim/myt5-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Updated config
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
"relative_attention_max_distance": 128,
|
| 27 |
"relative_attention_num_buckets": 32,
|
| 28 |
"tie_word_embeddings": false,
|
| 29 |
-
"tokenizer_class": "
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
"transformers_version": "4.38.1",
|
| 32 |
"use_cache": true,
|
|
|
|
| 26 |
"relative_attention_max_distance": 128,
|
| 27 |
"relative_attention_num_buckets": 32,
|
| 28 |
"tie_word_embeddings": false,
|
| 29 |
+
"tokenizer_class": "MyT5Tokenizer",
|
| 30 |
"torch_dtype": "float32",
|
| 31 |
"transformers_version": "4.38.1",
|
| 32 |
"use_cache": true,
|