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 ·
9bfe9f0
1
Parent(s): 03f287e
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,9 +3,12 @@ tags:
|
|
| 3 |
- molecular language model
|
| 4 |
- SELFIES
|
| 5 |
- molecule generation
|
|
|
|
|
|
|
| 6 |
inference:
|
| 7 |
parameters:
|
| 8 |
num_return_sequences: 5
|
|
|
|
| 9 |
---
|
| 10 |
# MolGen
|
| 11 |
MolGen was introduced in the paper ["Molecular Language Model as Multi-task Generator"](https://arxiv.org/pdf/2301.11259.pdf) and first released in [this repository](https://github.com/zjunlp/MolGen). It is a pre-trained molecular generative model built using the 100\% robust molecular language representation, SELFIES.
|
|
|
|
| 3 |
- molecular language model
|
| 4 |
- SELFIES
|
| 5 |
- molecule generation
|
| 6 |
+
widget:
|
| 7 |
+
- text: "[C][=C][C][=C][C][=C][Ring1][=Branch1]"
|
| 8 |
inference:
|
| 9 |
parameters:
|
| 10 |
num_return_sequences: 5
|
| 11 |
+
|
| 12 |
---
|
| 13 |
# MolGen
|
| 14 |
MolGen was introduced in the paper ["Molecular Language Model as Multi-task Generator"](https://arxiv.org/pdf/2301.11259.pdf) and first released in [this repository](https://github.com/zjunlp/MolGen). It is a pre-trained molecular generative model built using the 100\% robust molecular language representation, SELFIES.
|