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
Download model.png from zjunlp/MolGen-large: direct link, hf CLI and curl.
- Browser
- Download file 97.1 kB
-
https://huggingface.co/zjunlp/MolGen-large/resolve/main/model.png
- Command line
-
hf download hf://zjunlp/MolGen-large/model.png
-
curl -L -o model.png https://huggingface.co/zjunlp/MolGen-large/resolve/main/model.png
97.1 kB
