Downloads · 30 days
193
67% of all-time downloads
domynom/resume-job-deberta
resume-job-deberta is a text classification model from domynom. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
microsoft/deberta-v3-small fine-tuned as a 3-class sequence-pair classifier that scores how well a resume fits a job description. Built for Northeastern IE 7500 (Applied NLP). Powers the Resume Job Fit Matcher Space.
Downloads · 30 days
193
67% of all-time downloads
All-time downloads
288
Public
Parameters
142M
568 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors568 MB · 99%
From the Hugging Face model README
microsoft/deberta-v3-small fine-tuned as a 3-class sequence-pair classifier that
scores how well a resume fits a job description. Built for Northeastern IE 7500
(Applied NLP). Powers the Resume Job Fit Matcher
Space.
Pass the resume as the first sequence and the job description as the second.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
tok = AutoTokenizer.from_pretrained("domynom/resume-job-deberta")
model = AutoModelForSequenceClassification.from_pretrained("domynom/resume-job-deberta")
inputs = tok(resume_text, job_text, truncation=True, max_length=512,
return_tensors="pt")
pred = model(**inputs).logits.argmax(-1).item()
print(model.config.id2label[pred])
Label order is authoritative in config.json — read id2label rather than
assuming positional order:
0 -> No Fit1 -> Potential Fit2 -> Good FitFine-tuned on cnamuangtoun/resume-job-description-fit. The dataset's own test
split is held out for final evaluation; a 90/10 split of train supplies
validation.
| Setting | Value |
|---|---|
| Base model | microsoft/deberta-v3-small |
| Learning rate | 1e-5 |
| Epochs | 8 |
| Batch size | 4 |
| Gradient accumulation | 2 |
| Precision | bf16 |
| Weight decay | 0.01 |
| Max sequence length | 512 |
| Seed | 52 |
Reproduce with python scripts/train_deberta.py from the
project repo.
Held-out test split of the same dataset:
| Metric | Score |
|---|---|
| Accuracy | 0.4974 |
| Macro F1 | 0.3946 |
| Weighted F1 | 0.4561 |
| Macro precision | 0.4191 |
| Macro recall | 0.4077 |
This checkpoint is published as the architecture-comparison point in the project's evaluation, not as its recommended scorer. It scores below the DistilBERT sibling (0.395 vs 0.432 macro-F1) and leans hard on the majority class, recalling only 15.5% of Potential Fit. An ordinal (CORAL) variant of the same base reaches 0.444 macro-F1 with much better balance; see the project's ablation study.
The DeBERTa-v3 tokenizer needs sentencepiece installed.
Fit on this dataset is genuinely hard and the scores above are close to the three-class floor — treat a single prediction as a weak signal, not a verdict. In the project's own evaluation a TF-IDF baseline matched or beat every transformer here on macro-F1. The model inherits whatever role, seniority, and demographic bias exists in the underlying postings, and it has not been audited for disparate impact. Do not use it to screen real candidates.