Instructions to use jasonsurya0/BART_ONE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jasonsurya0/BART_ONE with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("jasonsurya0/BART_ONE") model = AutoModelForSeq2SeqLM.from_pretrained("jasonsurya0/BART_ONE") - Notebooks
- Google Colab
- Kaggle
Commit ·
e1071c5
1
Parent(s): 43acc9c
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +13 -0
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 0,
|
| 3 |
+
"decoder_start_token_id": 2,
|
| 4 |
+
"early_stopping": true,
|
| 5 |
+
"eos_token_id": 2,
|
| 6 |
+
"forced_eos_token_id": 2,
|
| 7 |
+
"max_length": 62,
|
| 8 |
+
"min_length": 11,
|
| 9 |
+
"no_repeat_ngram_size": 3,
|
| 10 |
+
"num_beams": 6,
|
| 11 |
+
"pad_token_id": 1,
|
| 12 |
+
"transformers_version": "4.28.1"
|
| 13 |
+
}
|