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 ·
a56104d
1
Parent(s): 9bfe9f0
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,9 +5,8 @@ tags:
|
|
| 5 |
- molecule generation
|
| 6 |
widget:
|
| 7 |
- text: "[C][=C][C][=C][C][=C][Ring1][=Branch1]"
|
| 8 |
-
inference:
|
| 9 |
-
|
| 10 |
-
num_return_sequences: 5
|
| 11 |
|
| 12 |
---
|
| 13 |
# MolGen
|
|
|
|
| 5 |
- molecule generation
|
| 6 |
widget:
|
| 7 |
- text: "[C][=C][C][=C][C][=C][Ring1][=Branch1]"
|
| 8 |
+
inference: false
|
| 9 |
+
|
|
|
|
| 10 |
|
| 11 |
---
|
| 12 |
# MolGen
|