Instructions to use SI2M-Lab/DarijaBERT-mix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SI2M-Lab/DarijaBERT-mix with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SI2M-Lab/DarijaBERT-mix", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"_name_or_path": "/content/DarijaBERT_mix/",
|
| 3 |
"architectures": [
|
| 4 |
|
| 5 |
-
|
| 6 |
],
|
| 7 |
"attention_probs_dropout_prob": 0.1,
|
| 8 |
"classifier_dropout": null,
|
|
|
|
| 2 |
"_name_or_path": "/content/DarijaBERT_mix/",
|
| 3 |
"architectures": [
|
| 4 |
|
| 5 |
+
|
| 6 |
],
|
| 7 |
"attention_probs_dropout_prob": 0.1,
|
| 8 |
"classifier_dropout": null,
|