Instructions to use mohammadmahdinouri/mol-base-init with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohammadmahdinouri/mol-base-init with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mohammadmahdinouri/mol-base-init")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("mohammadmahdinouri/mol-base-init", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
|
@@ -31,5 +31,7 @@
|
|
| 31 |
"use_adapter": true,
|
| 32 |
"use_cache": true,
|
| 33 |
"use_moa": true,
|
| 34 |
-
"vocab_size": 50368
|
|
|
|
|
|
|
| 35 |
}
|
|
|
|
| 31 |
"use_adapter": true,
|
| 32 |
"use_cache": true,
|
| 33 |
"use_moa": true,
|
| 34 |
+
"vocab_size": 50368,
|
| 35 |
+
"use_return_dict": true,
|
| 36 |
+
"return_dict": true,
|
| 37 |
}
|