Fill-Mask
Transformers
Safetensors
molformer
cheminformatics
ChemBERTa-3
masked-lm
c3-MoLFormer
custom_code
Instructions to use DeepChem/MoLFormer-c3-1.1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepChem/MoLFormer-c3-1.1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="DeepChem/MoLFormer-c3-1.1B", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("DeepChem/MoLFormer-c3-1.1B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
MoLFormer-c3-1.1B
MoLFormer-c3-1.1B, as described in the Chemberta-3 paper [1] is pretrained on a combination of 100% ZINC20 (1B) and 100% Pubchem (100M)
Usage
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("DeepChem/MoLFormer-c3-1.1B")
model = AutoModelForMaskedLM.from_pretrained("DeepChem/MoLFormer-c3-1.1B")
Reference
- Singh R, Barsainyan AA, Irfan R, Amorin CJ, He S, Davis T, et al. ChemBERTa-3: An Open Source Training Framework for Chemical Foundation Models. RSC Digital Discovery 2026; doi:10.1039/D5DD00348B
- Downloads last month
- 2,792