Instructions to use CAMeL-Lab/bert-base-arabic-camelbert-ca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CAMeL-Lab/bert-base-arabic-camelbert-ca with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CAMeL-Lab/bert-base-arabic-camelbert-ca")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca") model = AutoModelForMaskedLM.from_pretrained("CAMeL-Lab/bert-base-arabic-camelbert-ca", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from CAMeL-Lab/bert-base-arabic-camelbert-ca: direct link, hf CLI and curl.
- Browser
- Download file 86 Bytes
-
https://huggingface.co/CAMeL-Lab/bert-base-arabic-camelbert-ca/resolve/02e96dd2e7c626d4b6f7cbd022ccfe5d5c4a69aa/tokenizer_config.json
- Command line
-
hf download hf://CAMeL-Lab/bert-base-arabic-camelbert-ca@02e96dd2e7c626d4b6f7cbd022ccfe5d5c4a69aa/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/CAMeL-Lab/bert-base-arabic-camelbert-ca/resolve/02e96dd2e7c626d4b6f7cbd022ccfe5d5c4a69aa/tokenizer_config.json
86 Bytes
| {"do_lower_case": false, "special_tokens_map_file": null, "full_tokenizer_file": null} |