Instructions to use aubmindlab/bert-base-arabert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aubmindlab/bert-base-arabert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="aubmindlab/bert-base-arabert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("aubmindlab/bert-base-arabert") model = AutoModelForMaskedLM.from_pretrained("aubmindlab/bert-base-arabert") - Notebooks
- Google Colab
- Kaggle
AUB MIND LAB commited on
Commit ·
353018e
1
Parent(s): 3989ffe
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"model_type" : "bert",
|
| 6 |
"num_hidden_layers": 12,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"BertForMaskedLM"
|
| 4 |
],
|
| 5 |
"model_type" : "bert",
|
| 6 |
"num_hidden_layers": 12,
|