Instructions to use zjunlp/MolGen-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zjunlp/MolGen-large with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zjunlp/MolGen-large") model = AutoModelForSeq2SeqLM.from_pretrained("zjunlp/MolGen-large") - Notebooks
- Google Colab
- Kaggle
Yin Fang commited on
Commit ·
518cde4
1
Parent(s): 2c5ec82
Update config.json
Browse files- config.json +0 -8
config.json
CHANGED
|
@@ -38,14 +38,6 @@
|
|
| 38 |
"pad_token_id": 1,
|
| 39 |
"scale_embedding": false,
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
-
"num_beams": 5,
|
| 42 |
-
"task_specific_params": {
|
| 43 |
-
"text-generation": {
|
| 44 |
-
"max_length": 20,
|
| 45 |
-
"min_length": 5,
|
| 46 |
-
"num_beams": 5
|
| 47 |
-
}
|
| 48 |
-
},
|
| 49 |
"transformers_version": "4.21.2",
|
| 50 |
"use_cache": true,
|
| 51 |
"vocab_size": 185
|
|
|
|
| 38 |
"pad_token_id": 1,
|
| 39 |
"scale_embedding": false,
|
| 40 |
"torch_dtype": "float32",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
"transformers_version": "4.21.2",
|
| 42 |
"use_cache": true,
|
| 43 |
"vocab_size": 185
|