Instructions to use diffusionfamily/diffugpt-m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diffusionfamily/diffugpt-m with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("diffusionfamily/diffugpt-m") model = AutoModel.from_pretrained("diffusionfamily/diffugpt-m") - Notebooks
- Google Colab
- Kaggle
update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
"task_specific_params": {
|
| 32 |
"text-generation": {
|
| 33 |
"do_sample": true,
|
| 34 |
-
"max_length":
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"torch_dtype": "float16",
|
|
|
|
| 31 |
"task_specific_params": {
|
| 32 |
"text-generation": {
|
| 33 |
"do_sample": true,
|
| 34 |
+
"max_length": 1024
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"torch_dtype": "float16",
|