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