Instructions to use sshleifer/bart-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/bart-tiny-random with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/bart-tiny-random") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/bart-tiny-random") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -49,7 +49,7 @@
|
|
| 49 |
"output_hidden_states": false,
|
| 50 |
"output_past": false,
|
| 51 |
"pad_token_id": 1,
|
| 52 |
-
"prefix":
|
| 53 |
"pruned_heads": {},
|
| 54 |
"repetition_penalty": 1.0,
|
| 55 |
"task_specific_params": null,
|
|
@@ -59,4 +59,4 @@
|
|
| 59 |
"torchscript": false,
|
| 60 |
"use_bfloat16": false,
|
| 61 |
"vocab_size": 50265
|
| 62 |
-
}
|
|
|
|
| 49 |
"output_hidden_states": false,
|
| 50 |
"output_past": false,
|
| 51 |
"pad_token_id": 1,
|
| 52 |
+
"prefix": " ",
|
| 53 |
"pruned_heads": {},
|
| 54 |
"repetition_penalty": 1.0,
|
| 55 |
"task_specific_params": null,
|
|
|
|
| 59 |
"torchscript": false,
|
| 60 |
"use_bfloat16": false,
|
| 61 |
"vocab_size": 50265
|
| 62 |
+
}
|