Fill-Mask
Transformers
Safetensors
modchembert
modernbert
ModChemBERT
cheminformatics
chemical-language-model
molecular-property-prediction
custom_code
Eval Results (legacy)
Instructions to use Derify/ModChemBERT-MLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Derify/ModChemBERT-MLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Derify/ModChemBERT-MLM", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Derify/ModChemBERT-MLM", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -241,7 +241,7 @@ ModChemBERT is a ModernBERT-based chemical language model (CLM), trained on SMIL
|
|
| 241 |
Install the `transformers` library starting from v4.56.1:
|
| 242 |
|
| 243 |
```bash
|
| 244 |
-
pip install -U transformers>=4.56.1
|
| 245 |
```
|
| 246 |
|
| 247 |
### Load Model
|
|
|
|
| 241 |
Install the `transformers` library starting from v4.56.1:
|
| 242 |
|
| 243 |
```bash
|
| 244 |
+
pip install -U "transformers>=4.56.1,<5.0.0"
|
| 245 |
```
|
| 246 |
|
| 247 |
### Load Model
|