Instructions to use flax-community/t5-base-wikisplit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flax-community/t5-base-wikisplit with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("flax-community/t5-base-wikisplit") model = AutoModelForSeq2SeqLM.from_pretrained("flax-community/t5-base-wikisplit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
0b16a85
1
Parent(s): 5d11caf
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"d_ff": 3072,
|
| 7 |
"d_kv": 64,
|
| 8 |
"d_model": 768,
|
|
|
|
| 9 |
"decoder_start_token_id": 0,
|
| 10 |
"dropout_rate": 0.1,
|
| 11 |
"eos_token_id": 1,
|
|
|
|
| 6 |
"d_ff": 3072,
|
| 7 |
"d_kv": 64,
|
| 8 |
"d_model": 768,
|
| 9 |
+
"max_length": 256,
|
| 10 |
"decoder_start_token_id": 0,
|
| 11 |
"dropout_rate": 0.1,
|
| 12 |
"eos_token_id": 1,
|