How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="SchwallerGroup/CheMatE-v0-MLM")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("SchwallerGroup/CheMatE-v0-MLM")
model = AutoModelForMaskedLM.from_pretrained("SchwallerGroup/CheMatE-v0-MLM")
Quick Links

CheMatE (MLM base)

The masked-language-modeling base for SchwallerGroup/CheMatE-v0: a ModernBERT model pretrained on SMILES-augmented chemistry text. For embeddings, use CheMatE-v0.

Usage

from transformers import pipeline

fill = pipeline("fill-mask", model="SchwallerGroup/CheMatE-v0-MLM")
fill("Aspirin is a common [MASK].")

License

MIT.

Downloads last month
21
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SchwallerGroup/CheMatE-v0-MLM

Finetunes
1 model