Instructions to use voidful/changpt-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use voidful/changpt-bart with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("voidful/changpt-bart") model = AutoModelForSeq2SeqLM.from_pretrained("voidful/changpt-bart") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
| 53 |
"max_length": 256,
|
| 54 |
"min_length": 100,
|
| 55 |
"no_repeat_ngram_size": 5,
|
| 56 |
-
"early_stopping":
|
| 57 |
"prefix": ""
|
| 58 |
}
|
| 59 |
},
|
|
|
|
| 53 |
"max_length": 256,
|
| 54 |
"min_length": 100,
|
| 55 |
"no_repeat_ngram_size": 5,
|
| 56 |
+
"early_stopping": false,
|
| 57 |
"prefix": ""
|
| 58 |
}
|
| 59 |
},
|