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
|
@@ -48,7 +48,7 @@
|
|
| 48 |
"pad_token_id": 0,
|
| 49 |
"scale_embedding": false,
|
| 50 |
"task_specific_params": {
|
| 51 |
-
"
|
| 52 |
"no_repeat_ngram_size": 3,
|
| 53 |
"do_sample": true,
|
| 54 |
"top_k": 100,
|
|
|
|
| 48 |
"pad_token_id": 0,
|
| 49 |
"scale_embedding": false,
|
| 50 |
"task_specific_params": {
|
| 51 |
+
"text2text-generation": {
|
| 52 |
"no_repeat_ngram_size": 3,
|
| 53 |
"do_sample": true,
|
| 54 |
"top_k": 100,
|