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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("aubmindlab/bert-base-arabert") model = AutoModelForMaskedLM.from_pretrained("aubmindlab/bert-base-arabert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.a34f334
-
upload flax model
4b7ceb4 -
allow flax
7951d69
-
Update README.md
AUB MIND LAB899e931
-
added max_len
AUB MIND LAB56a895d
-
Update config.json
AUB MIND LAB353018e -
Update README.md
AUB MIND LAB3989ffe -
Update README.md
AUB MIND LAB1fb2c6c
-
Added fast tokenizer files
aubmindlabc2c49ea
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/aubmindlab/bert-base-arabert/README.md6b78a01
-
Update tf_model.h5
f0c55e5
-
Update config.json
5c990c8
-
Update config.json
05c0ec2 -
Update config.json
a987836 -
Update special_tokens_map.json
9e58ddb -
Update tokenizer_config.json
39e1781 -
Update config.json
37c67d0
-
Update config.json
1d76eec
-
Update config.json
0f35640
-
Update vocab.txt
cfbc860 -
Update pytorch_model.bin
21f5aab -
Update config.json
57ba830 -
initial commit
6a62fd6