Fill-Mask
Transformers
Safetensors
modchembert
modernbert
ModChemBERT
cheminformatics
chemical-language-model
custom_code
Instructions to use Derify/ModChemBERT-IR-BASE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Derify/ModChemBERT-IR-BASE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Derify/ModChemBERT-IR-BASE", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Derify/ModChemBERT-IR-BASE", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ ModChemBERT-IR-BASE is a ModernBERT-based chemical language model (CLM) pretrain
|
|
| 16 |
Install the `transformers` library starting from v4.56.1:
|
| 17 |
|
| 18 |
```bash
|
| 19 |
-
pip install -U transformers>=4.56.1
|
| 20 |
```
|
| 21 |
|
| 22 |
### Load Model
|
|
|
|
| 16 |
Install the `transformers` library starting from v4.56.1:
|
| 17 |
|
| 18 |
```bash
|
| 19 |
+
pip install -U "transformers>=4.56.1,<5.0.0"
|
| 20 |
```
|
| 21 |
|
| 22 |
### Load Model
|