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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zjunlp/MolGen-large") model = AutoModelForSeq2SeqLM.from_pretrained("zjunlp/MolGen-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Yin Fang commited on
Commit ·
ee51dcd
1
Parent(s): 580388d
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -40,6 +40,5 @@
|
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.21.2",
|
| 42 |
"use_cache": true,
|
| 43 |
-
"vocab_size": 185
|
| 44 |
-
"num_return_sequences": 5
|
| 45 |
}
|
|
|
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.21.2",
|
| 42 |
"use_cache": true,
|
| 43 |
+
"vocab_size": 185
|
|
|
|
| 44 |
}
|