Run this model with HF Jobs
Run hatmimoha/arabic-ner on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/hatmimoha/arabic-ner. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/hatmimoha/arabic-ner on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use hatmimoha/arabic-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hatmimoha/arabic-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hatmimoha/arabic-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hatmimoha/arabic-ner") model = AutoModelForTokenClassification.from_pretrained("hatmimoha/arabic-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files77 unmodified lines7879808182838485868788899091929394959697989910010110210310410510610710810911077 unmodified lines[Find here a complete example to use this model](https://github.com/hatmimoha/arabic-ner)Here is the map from index to label:```id2label = {"0": "B-PERSON","1": "I-PERSON","2": "B-ORGANIZATION","3": "I-ORGANIZATION","4": "B-LOCATION","5": "I-LOCATION","6": "B-DATE","7": "I-DATE"","8": "B-COMPETITION","9": "I-COMPETITION","10": "B-PRIZE","11": "I-PRIZE","12": "O","13": "B-PRODUCT","14": "I-PRODUCT","15": "B-EVENT","16": "I-EVENT","17": "B-DISEASE","18": "I-DISEASE",}```## Training CorpusThe training corpus is made of 378.000 tokens (14.000 sentences) collected from the Web and annotated manually.77 unmodified lines78798081828377 unmodified lines[Find here a complete example to use this model](https://github.com/hatmimoha/arabic-ner)## Training CorpusThe training corpus is made of 378.000 tokens (14.000 sentences) collected from the Web and annotated manually.
README.md-27