Instructions to use ibm-research/MoLFormer-XL-both-10pct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibm-research/MoLFormer-XL-both-10pct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ibm-research/MoLFormer-XL-both-10pct", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("ibm-research/MoLFormer-XL-both-10pct", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Model card issue due to Transformers v5.1.0 changes
#6 opened 4 months ago
by
leahros
Full MolFormer-XL availability
#5 opened almost 2 years ago
by
ellimilial
Fine-tuning on a set of molecules/SMILES?
#4 opened almost 2 years ago
by
khkh2024
Replicating QM9 Benchmark Results
#3 opened about 2 years ago
by
maxqv
AttributeError: 'MolformerModel' object has no attribute 'warn_if_padding_and_no_attention_mask'
1
#2 opened about 2 years ago
by
pamo77