Token Classification
Transformers
Safetensors
Arabic
bert
named-entity-recognition
ner
arabic
msa
modern-standard-arabic
morocco
moroccan-context
maghreb
biluo
Instructions to use TypicaAI/MagBERT-NER-AR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TypicaAI/MagBERT-NER-AR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="TypicaAI/MagBERT-NER-AR")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("TypicaAI/MagBERT-NER-AR") model = AutoModelForTokenClassification.from_pretrained("TypicaAI/MagBERT-NER-AR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from TypicaAI/MagBERT-NER-AR: direct link, hf CLI and curl.
- Browser
- Download file 837 kB
-
https://huggingface.co/TypicaAI/MagBERT-NER-AR/resolve/main/tokenizer.json
- Command line
-
hf download hf://TypicaAI/MagBERT-NER-AR/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/TypicaAI/MagBERT-NER-AR/resolve/main/tokenizer.json
837 kB
File too large to display, you can check the raw version instead.