Instructions to use aubmindlab/bert-base-arabertv01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aubmindlab/bert-base-arabertv01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="aubmindlab/bert-base-arabertv01")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("aubmindlab/bert-base-arabertv01") model = AutoModelForMaskedLM.from_pretrained("aubmindlab/bert-base-arabertv01") - Notebooks
- Google Colab
- Kaggle
AUB MIND LAB commited on
Commit ·
d9d48d8
1
Parent(s): 4d67dc9
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 |
"type_vocab_size": 2,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"BertForMaskedLM"
|
| 4 |
],
|
| 5 |
"model_type" : "bert",
|
| 6 |
"type_vocab_size": 2,
|