Instructions to use Samuael/amhat5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Samuael/amhat5-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Samuael/amhat5-base") model = AutoModelForSeq2SeqLM.from_pretrained("Samuael/amhat5-base") - Notebooks
- Google Colab
- Kaggle
Upload T5ForConditionalGeneration
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
| 16 |
"is_encoder_decoder": true,
|
| 17 |
"is_gated_act": true,
|
| 18 |
"layer_norm_epsilon": 1e-06,
|
|
|
|
| 19 |
"model_type": "t5",
|
| 20 |
"num_decoder_layers": 12,
|
| 21 |
"num_heads": 12,
|
|
|
|
| 16 |
"is_encoder_decoder": true,
|
| 17 |
"is_gated_act": true,
|
| 18 |
"layer_norm_epsilon": 1e-06,
|
| 19 |
+
"max_length": 300,
|
| 20 |
"model_type": "t5",
|
| 21 |
"num_decoder_layers": 12,
|
| 22 |
"num_heads": 12,
|