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 config.json
Browse files24 unmodified lines25262728293031327 unmodified lines404142434445462 unmodified lines4950515253545524 unmodified lines"12": "I-DATE","13": "B-COMPETITION","14": "I-COMPETITION","15": "B-PRICE","16": "I-PRICE","17": "B-DISEASE","18": "I-DISEASE"},7 unmodified lines"B-LOCATION": 5,"B-ORGANIZATION": 3,"B-PERSON": 1,"B-PRICE": 15,"B-PRODUCT": 7,"I-COMPETITION": 14,"I-DATE": 12,2 unmodified lines"I-LOCATION": 6,"I-ORGANIZATION": 4,"I-PERSON": 2,"I-PRICE": 16,"I-PRODUCT": 8,"O": 0},24 unmodified lines25262728293031327 unmodified lines404142434445462 unmodified lines4950515253545524 unmodified lines"12": "I-DATE","13": "B-COMPETITION","14": "I-COMPETITION","15": "B-PRIZE","16": "I-PRIZE","17": "B-DISEASE","18": "I-DISEASE"},7 unmodified lines"B-LOCATION": 5,"B-ORGANIZATION": 3,"B-PERSON": 1,"B-PRIZE": 15,"B-PRODUCT": 7,"I-COMPETITION": 14,"I-DATE": 12,2 unmodified lines"I-LOCATION": 6,"I-ORGANIZATION": 4,"I-PERSON": 2,"I-PRIZE": 16,"I-PRODUCT": 8,"O": 0},
config.json+4-4