Transformers
TensorBoard
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use austin/medication-lists with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use austin/medication-lists with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("austin/medication-lists") model = AutoModelForSeq2SeqLM.from_pretrained("austin/medication-lists") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +2 -1
generation_config.json
CHANGED
|
@@ -4,5 +4,6 @@
|
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
"transformers_version": "4.35.2",
|
| 7 |
-
"use_cache": false
|
|
|
|
| 8 |
}
|
|
|
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
"transformers_version": "4.35.2",
|
| 7 |
+
"use_cache": false,
|
| 8 |
+
"max_new_tokens": 512
|
| 9 |
}
|