Instructions to use hf-internal-testing/tiny-random-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-bart with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-bart", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f2efe52
1
Parent(s): 017296f
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
| 14 |
"encoder_attention_heads": 4,
|
| 15 |
"encoder_ffn_dim": 4,
|
| 16 |
"encoder_layerdrop": 0.0,
|
|
|
|
| 17 |
"encoder_layers": 2,
|
| 18 |
"forced_eos_token_id": 2,
|
| 19 |
"gradient_checkpointing": false,
|
|
|
|
| 14 |
"encoder_attention_heads": 4,
|
| 15 |
"encoder_ffn_dim": 4,
|
| 16 |
"encoder_layerdrop": 0.0,
|
| 17 |
+
"eos_token_id": 2,
|
| 18 |
"encoder_layers": 2,
|
| 19 |
"forced_eos_token_id": 2,
|
| 20 |
"gradient_checkpointing": false,
|