Fill-Mask
Transformers
PyTorch
TensorFlow
JAX
Arabic
bert
Arabic BERT
MSA
Twitter
Masked Langauge Model
Instructions to use UBC-NLP/ARBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UBC-NLP/ARBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="UBC-NLP/ARBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/ARBERT") model = AutoModelForMaskedLM.from_pretrained("UBC-NLP/ARBERT", device_map="auto") - Inference
- 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.3d6f7b9
-
Update README.md
a5118ac
-
commit from elmadany
elmadany823a383 -
commit from elmadany
elmadany1b5e0d8
-
upload flax model
0668d79 -
allow flax
e82d2c4
-
Merge branch 'main' of https://huggingface.co/UBC-NLP/ARBERT into main
elmadanye6ee8a0 -
Update config
elmadanyc92775c
-
Update README.md
c8efa2b -
Update README.md
26a6d6d -
Update README.md
349c70c -
Update README.md
2c8f3f2 -
Update README.md
3a714a6
-
First commit Message
elmadanyeadb0a9
-
Update README.md
d5b39d3 -
Update README.md
802566f -
Added link to our GitHub repo.
69205fc -
Updated ARBERT blurb.
9735784 -
ARBERT blurb.
cbdd179 -
First version of ARBERT model and tokenizer.
elmadany6fa76dc -
Update from elmadany
elmadany70e4d17 -
Update from elmadany
AbdelRahim Elmadany4e8acce -
initial commit
c52fb47