Arabic Job Ads NER โ€” mBERT (fine-tuned)

ู†ุธุงู… ุฐูƒูŠ ู„ุงุณุชุฎุฑุงุฌ ุจูŠุงู†ุงุช ุฅุนู„ุงู†ุงุช ุงู„ูˆุธุงุฆู ุงู„ุนุฑุจูŠุฉ

Model description

google-bert/bert-base-multilingual-cased fine-tuned (full fine-tuning) for token classification on Arabic job advertisements. It extracts 9 entity types in BIO format: ORG (employer), JOB (job title), LOC (location), DATE, SALARY, EXP (experience), EDU (qualification), SKILL (skill/term), PROG (program/initiative).

Intended uses

  • Turning free-text Arabic job ads into structured records (search, indexing, labour-market analytics).
  • Educational use (course project: Hugging Face Fundamentals).

Out-of-scope / Limitations

  • Trained on synthetic, template-generated ads (CC BY 4.0, created by the team); real ads with dialect, emojis, hashtags, very long texts or unusual layouts may reduce accuracy.
  • Not suitable for automated hiring decisions; outputs must be reviewed by a human.
  • Max sequence length 256 sub-words per window (longer texts are processed in windows).

Training data

  • 850 train / 150 validation / 200 test ads (after de-duplication).
  • Test set generated with a separate seed and contains entity values and sentence templates unseen in training.
  • No personal data; all company names are fictional.

Training procedure

Hyper-parameter Value
learning rate 5e-05 (best of 5e-5 vs 2e-5)
epochs 4
batch size 16
weight decay 0.01
warmup 10%
seed 42
hardware Tesla T4
training time 0.84 min

Evaluation (test set, entity-level, seqeval)

Model Precision Recall F1
Baseline (before fine-tuning) 0.0082 0.0325 0.0132
Fine-tuned (A_lr5e-5) 0.9235 0.9652 0.9439

Per-entity (test)

Entity precision recall f1-score support
DATE 0.9029 0.9294 0.9159 170.0
EDU 0.8681 0.9124 0.8897 137.0
EXP 1.0 1.0 1.0 141.0
JOB 0.8161 0.91 0.8605 200.0
LOC 0.868 0.9195 0.893 236.0
ORG 0.9174 1.0 0.9569 200.0
PROG 1.0 1.0 1.0 66.0
SALARY 1.0 1.0 1.0 95.0
SKILL 0.9769 1.0 0.9883 507.0
micro avg 0.9235 0.9652 0.9439 1752.0

Ethical considerations

  • Synthetic data avoids privacy and licensing issues but may encode the template authors' biases (e.g., gendered job titles such as ู…ู…ุฑุถ/ู…ู…ุฑุถุฉ).
  • The model should support, not replace, human review in recruitment workflows.

How to use

from transformers import AutoTokenizer, AutoModelForTokenClassification
tok = AutoTokenizer.from_pretrained("<repo-or-folder>")
model = AutoModelForTokenClassification.from_pretrained("<repo-or-folder>")

Authors

ุนุจุฏุงู„ู„ู‡ ุณุนูˆุฏ ุงู„ุนุชูŠุจูŠุŒ ุนุจุฏุงู„ุฑุญู…ู† ุณู…ูŠุฑ ุงู„ู…ุทูŠุฑูŠุŒ ูุฑุงุณ ุงู„ุฒู‡ุฑุงู†ูŠุŒ ุนุจุฏุงู„ุนุฒูŠุฒ ูู„ุงุญ ุงู„ุณุญูŠู…ูŠุŒ ู…ุญู…ุฏ ูุงู‡ุฏ ุงู„ุฑุดูŠุฏูŠ

Downloads last month
24
Safetensors
Model size
0.2B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ABO-SAUD/arabic-job-ads-ner-mbert

Finetuned
(1,057)
this model