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 ·
dbbdbcb
1
Parent(s): 20bd8f7
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,8 @@ widget:
|
|
| 7 |
- text: "[C][=C][C][=C][C][=C][Ring1][=Branch1]"
|
| 8 |
inference:
|
| 9 |
parameters:
|
| 10 |
-
repetition_penalty:100
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
---
|
|
|
|
| 7 |
- text: "[C][=C][C][=C][C][=C][Ring1][=Branch1]"
|
| 8 |
inference:
|
| 9 |
parameters:
|
| 10 |
+
repetition_penalty: 100
|
| 11 |
+
num_return_sequences: 5
|
| 12 |
|
| 13 |
|
| 14 |
---
|