Run this model with HF Jobs

Run sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2 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/sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2. 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/sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2 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.

AuraATS β€” MiniLM Resume Parser V2

A Lightweight, Fine-Tuned and Quantized Transformer for Resume Information Extraction

Project: AuraATS β€” Intelligent Resume Parsing and Skills-Gap Analysis
Model Architecture: MiniLM-L12-H384 (BERT-compatible token classification)
Task: Resume Named Entity Recognition (NER)
Framework: PyTorch / Hugging Face Transformers
Deployment Formats: PyTorch, ONNX FP32, ONNX INT8
Project Type: Academic Research / Final Year Project
Development Status: Research Prototype


1. Model Overview

AuraATS Resume Parser V2 is a domain-adapted Named Entity Recognition (NER) model designed to automatically identify structured information from unstructured resume text.

The model is based on the lightweight MiniLM transformer architecture and fine-tuned using resume-specific annotated datasets. It uses contextual token representations and a token-classification head to assign BIO-style entity labels to resume content.

The primary objective is to explore a computationally efficient approach to resume information extraction while maintaining transparent evaluation, reproducible experimentation and deployment-oriented optimization.

Unlike general-purpose document processing systems that rely exclusively on large language models, AuraATS investigates a compact transformer approach suitable for integration into lightweight applications.

The V2 model was initialized from a previously fine-tuned MiniLM NER V1 checkpoint and subsequently trained on an expanded resume dataset to increase occupational and terminology diversity.

Key characteristics:

  • Fine-tuned MiniLM-based token classification.
  • 27 BIO-style output labels, including the outside (O) class.
  • Resume-specific entity extraction across 13 entity categories.
  • Sliding-window processing for long training documents.
  • Strict entity-level precision, recall and F1 evaluation.
  • ONNX export with dynamic batch and sequence dimensions.
  • Dynamic INT8 quantization for reduced model size.
  • Research artifacts documenting training, evaluation and quantization.
  • Browser-oriented deployment assets for further Transformers.js integration.

This model is intended for research and prototyping. It has not been validated as a production-ready autonomous recruitment system.


2. Supported Named Entities

The model is configured to recognize the following 13 entity categories:

Entity Description
NAME Candidate names
EMAIL Email addresses
PHONE Contact numbers
LOCATION Locations and addresses
SKILL Technical, professional and occupational skills
TITLE Job titles and professional roles
COMPANY Employers and organizations
INSTITUTION Educational institutions
DEGREE Academic degrees and qualifications
FIELD Academic disciplines and fields of study
DATE Employment, education and other relevant dates
CERT Professional certifications
LANGUAGE Human languages

The model uses a BIO tagging convention, with an outside (O) class and beginning (B-) and inside (I-) labels for entity categories.

Coverage clarification: Although CERT and LANGUAGE exist in the output label configuration, their annotation coverage is insufficient in the evaluated candidate dataset. Reliable extraction performance for these categories has not been established.


3. Model Architecture

Component Configuration
Backbone MiniLM-L12-H384
Transformer layers 12
Hidden representation 384 dimensions
Model configuration type bert
Learning objective Supervised token classification
Output labels 27
Training maximum sequence length 256 tokens
Sliding-window overlap stride 64 tokens
Training framework PyTorch / Transformers
Hardware NVIDIA Tesla T4 GPU

The token-classification head projects contextual hidden representations into the configured NER label space.

MiniLM provides a compact transformer backbone that is appropriate for investigating efficiency-sensitive natural language processing workflows.

The architecture follows established transformer and knowledge-distillation research rather than introducing a novel attention mechanism.


4. Dataset Preparation

4.1 Training and Development Data

The V2 experiment combines the original AuraATS resume NER training data with a more diverse candidate resume dataset.

Dataset component Number of resumes
Original training source 3,647
Additional candidate training source 4,466
Total V2 training resumes 8,113
Held-out candidate development resumes 500

Additional dataset reference:

oksomu/resume-ner β€” Hugging Face Datasets

The development documents were excluded from the corresponding V2 training partition.

However, training and development documents originate partly from the same dataset family. Template-level and generation-pattern independence has not been fully established.

4.2 Preprocessing

A sliding-window tokenization strategy was applied to support resumes exceeding a single transformer input sequence.

Preprocessing included:

  1. Reading and validating token-level BIO annotations.
  2. Applying tokenizer-compatible input preparation.
  3. Repairing source tokens that otherwise produced empty tokenizer outputs.
  4. Dividing longer documents into overlapping token windows.
  5. Aligning source-word labels with tokenized representations.
  6. Assigning supervision using a most-context window ownership strategy.
  7. Ignoring duplicated overlap labels during loss computation.
  8. Masking selected potentially incomplete annotations from the supervised objective.

4.3 Verified Preprocessing Statistics

Statistic Value
Training documents 8,113
Training windows 31,406
Development documents 500
Development windows 3,077
Training words 4,015,219
Supervised training words 4,009,745
Loss-masked training words 5,474
Development loss-masked words 620

Loss masking was introduced to reduce the risk of penalizing predictions for selected categories with suspected annotation omissions.

It does not fully correct dataset annotation incompleteness.


5. Training Methodology

5.1 Experimental Design

The AuraATS Resume Parser was developed through successive experiments.

Experiment V1 β€” Baseline Fine-Tuning

An initial MiniLM token classifier was trained using the original annotated resume dataset. The resulting checkpoint served as the starting point for the subsequent experiment.

Experiment V2 β€” Expanded-Data Fine-Tuning

The V1 checkpoint was further fine-tuned using the combined training dataset, with a separate candidate development split and selected loss-masking controls.

The original V1 checkpoint was preserved independently.

5.2 Training Configuration

Parameter Value
Model initialization Fine-tuned MiniLM NER V1
Training epochs 2
Optimizer steps 3,926
Learning rate 1 Γ— 10⁻⁡
Warmup steps 196
Maximum sequence length 256
Sliding-window stride 64
Training precision FP16
Hardware NVIDIA Tesla T4
Training duration Approximately 417 seconds

The experiment used a GPU-based PyTorch training pipeline, with model checkpointing and development-loss evaluation.

5.3 Training Results

Metric Result
Average training loss 0.375779
Development loss β€” Epoch 1 0.1744
Development loss β€” Epoch 2 0.163472
Training duration 417.07 seconds

The measured development loss decreased across the two training epochs.

This indicates improvement on the measured development objective, but does not independently establish performance on unseen real-world resume distributions.


6. Model Evaluation

6.1 Evaluation Protocol

The trained model was evaluated using:

  • 500 held-out candidate development resumes.
  • Strict entity-level BIO2 evaluation.
  • Word-level reconstruction from overlapping token windows.
  • Precision, recall and F1 measurements.
  • Exclusion of loss-masked word segments from evaluation.

The reported values are development-set results, not independent external-test results.

6.2 Overall Results

Metric Score
Precision 76.96%
Recall 57.28%
Strict entity-level F1 65.68%

6.3 Per-Entity F1 Scores

Entity F1
PHONE 99.80%
NAME 99.20%
EMAIL 98.91%
LOCATION 98.89%
DATE 87.27%
COMPANY 86.30%
TITLE 81.77%
DEGREE 79.93%
INSTITUTION 77.43%
FIELD 67.62%
SKILL 23.74%

The development results indicate comparatively strong extraction performance for several contact-information categories and more substantial limitations in occupational skill extraction.

In particular, the low SKILL F1 score demonstrates that the current model should not be treated as a reliably comprehensive skills extractor without additional improvements and testing.

6.4 Interpretation of V1 and V2 Results

V1 and V2 were evaluated on different development distributions in their respective experiments.

Consequently, the original V1 validation score and V2 development score should not be interpreted as a direct head-to-head performance comparison.

A valid matched comparison requires evaluating both checkpoints on the same dataset using the same annotation and scoring protocol.


7. ONNX Export and Quantization

To investigate lightweight deployment, the trained PyTorch model was exported to the Open Neural Network Exchange (ONNX) format.

The FP32 ONNX model was subsequently optimized through dynamic INT8 weight quantization using ONNX Runtime.

7.1 Export Configuration

Property Value
Source framework PyTorch
Export format ONNX
ONNX opset 17
FP32 output onnx/model.onnx
INT8 output onnx/model_quantized.onnx
Additional INT8 alias onnx/model_q8.onnx
Quantization Dynamic INT8
Runtime verification ONNX Runtime CPU

7.2 Quantization Results

Measurement FP32 INT8
Model size 126.98 MiB 32.30 MiB
Strict entity F1 65.680% 65.369%
Median CPU batch latency 1464.32 ms 1284.80 ms

Measured outcomes:

  • 74.56% reduction in ONNX model size.
  • 1.14Γ— measured CPU inference speedup in the specified Kaggle benchmark.
  • 0.311 percentage-point decrease in strict entity F1.

The results demonstrate a favorable compression-versus-extraction-quality trade-off under the recorded evaluation conditions.

CPU latency results were obtained in the Kaggle environment and must not be interpreted as browser or mobile-device benchmarks.


8. Model Validation

Both exported ONNX models passed structural validation and CPU inference execution checks.

The FP32 export produced a maximum observed absolute logit difference of approximately 0.000004 from PyTorch on a smoke-test input.

Dynamic ONNX inference was also tested using multiple sequence lengths and batch sizes.

Dynamic-shape test result: 12/12 passed.

These tests establish successful execution for the tested ONNX Runtime inputs. They do not establish full compatibility with Transformers.js in an actual browser.


9. Getting Started

9.1 Installation

pip install torch transformers huggingface_hub

9.2 Load the Model with Hugging Face Transformers

from transformers import (
    AutoTokenizer,
    AutoModelForTokenClassification,
)

model_id = "sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2"

tokenizer = AutoTokenizer.from_pretrained(model_id)

model = AutoModelForTokenClassification.from_pretrained(
    model_id
)

print("Model loaded successfully.")
print("Labels:", model.config.num_labels)

Repository access: The model repository is currently private. Authentication and authorized access are required for loading it.

9.3 Basic Token-Classification Example

from transformers import pipeline

ner = pipeline(
    task="token-classification",
    model=model,
    tokenizer=tokenizer,
    aggregation_strategy="simple",
)

text = (
    "Software Engineer experienced in Python, React, "
    "MongoDB and cloud application development."
)

entities = ner(text)

for entity in entities:
    print(entity)

This example demonstrates basic short-text inference.

Long resumes require document-specific windowing and aggregation logic for complete processing.


10. Browser-Oriented Deployment

The repository provides ONNX files and tokenizer resources intended for subsequent integration with Transformers.js.

Potential deployment targets include:

  • React applications.
  • Vite-based web applications.
  • Browser-based resume analysis interfaces.
  • Lightweight client-side inference prototypes.

The current deployment preparation includes:

  • FP32 ONNX export.
  • INT8 quantized ONNX export.
  • Tokenizer and configuration files.
  • A JavaScript integration example.
  • ONNX Runtime dynamic-shape validation.

Current status: Actual Transformers.js browser loading, execution and complete long-resume processing have not yet been independently verified.

The distributed assets should therefore be considered browser-oriented deployment candidates rather than a fully validated browser application.


11. Role Within the AuraATS System

AuraATS is designed around two distinct machine-learning components.

Model 1 β€” Resume Named Entity Recognition

Status: Trained, evaluated, quantized and exported.

Responsibilities:

  • Resume entity detection.
  • Recognition of candidate contact information.
  • Identification of education and employment entities.
  • Extraction of supported skills and other structured fields.

Model 2 β€” Semantic Embedding and Matching

Status: Separate model planned; training not included in this repository.

Planned responsibilities:

  • Semantic comparison of resume content and job requirements.
  • Job relevance scoring.
  • Matching related skill expressions.
  • Supporting downstream skill-gap analysis.

Skill-gap identification will also require explicit application-level comparison logic and sufficiently reliable skill extraction.

These are separate machine-learning components with different objectives and evaluation methodologies.


12. Research Motivation and Contribution

Resume information extraction presents several practical engineering challenges, including:

  • Domain-specific terminology.
  • Variation in resume structure.
  • Incomplete or inconsistent annotations.
  • Long input documents.
  • Limited training examples for certain entity types.
  • Model size and inference costs.
  • Reproducibility of evaluation results.

AuraATS investigates a compact transformer-based workflow that combines supervised NER fine-tuning, sliding-window processing, transparent evaluation and ONNX quantization.

Demonstrated Contributions

  1. Constructed an expanded resume NER training experiment using multiple annotated data sources.
  2. Implemented token-window alignment and selected annotation-loss masking.
  3. Fine-tuned a compact MiniLM model for resume entity recognition.
  4. Evaluated the system using strict BIO2 entity-level metrics.
  5. Documented per-entity performance and important failure modes.
  6. Exported the model to ONNX.
  7. Quantified INT8 compression, quality change and CPU latency.
  8. Prepared reusable model artifacts for subsequent application integration.

These contributions constitute a documented applied machine-learning and deployment experiment. They do not establish a new transformer architecture or state-of-the-art resume parsing performance.


13. Limitations and Responsible Use

The following limitations are important when interpreting the model:

Evaluation generalization: Results are based on an internal development split and do not establish performance across all real-world resume formats, languages or industries.

Skill extraction: The current SKILL F1 of 23.74% indicates significant extraction limitations.

Annotation coverage: Some configured label categories have little or no positive evaluation support.

Document processing: PDF/DOCX text extraction is not performed by the neural model itself.

Long-resume inference: Application-level sliding-window merging and BIO reconstruction must be implemented and validated.

Browser support: ONNX Runtime CPU tests passed, but actual Transformers.js browser execution remains unverified.

Privacy: Resumes contain personal information. Applications should implement appropriate data-protection, access-control and retention practices.

Hiring decisions: Predictions must not be used as the sole basis for hiring, rejection, eligibility or other consequential employment decisions.

Data provenance: Training data rights, licenses and suitability for redistribution must be verified before any public release.


14. Reproducibility and Research Artifacts

The research process generated:

  • Training and development dataset manifests.
  • Preprocessing statistics.
  • Training configuration and logs.
  • Model evaluation JSON and CSV reports.
  • Per-entity performance figures.
  • Training and development loss plots.
  • Quantization comparison figures.
  • ONNX size and latency measurements.
  • Experiment documentation.
  • Model and tokenizer artifacts.

Selected evaluation evidence is included in this repository under evaluation/.

The complete Kaggle notebook and larger research artifacts should be preserved separately.


15. Related Research

The following publications informed the project's understanding of skill extraction, information extraction and resume-processing challenges:

  1. Rethinking Skill Extraction in the Job Market Domain using Large Language Models (2024). NLP4HR.
    https://aclanthology.org/2024.nlp4hr-1.3/

  2. NNOSE: Nearest Neighbor Occupational Skill Extraction (2024). EACL.
    https://aclanthology.org/2024.eacl-long.35/

  3. Beyond Human Labels: A Multi-Linguistic Auto-Generated Benchmark for Evaluating Large Language Models on Resume Parsing (2025). EMNLP.
    https://aclanthology.org/2025.emnlp-main.1626/

  4. Layout-Aware Parsing Meets Efficient LLMs: A Unified, Scalable Framework for Resume Information Extraction and Evaluation (2025).
    https://arxiv.org/abs/2510.09722

These references provide context and motivation. AuraATS has not been directly benchmarked against all methods described in these publications.


16. Future Development

Future work includes:

  • Improving the annotation quality and diversity of SKILL examples.
  • Independent evaluation across resume formats and occupational domains.
  • Matched evaluation of V1 and V2 checkpoints.
  • Full Transformers.js browser inference verification.
  • End-to-end PDF/DOCX resume processing integration.
  • Browser inference latency and memory benchmarks.
  • Training a separate semantic embedding model.
  • Evaluating job matching and skill-gap analysis using labeled test cases.
  • Investigating robustness and fairness in downstream recruitment workflows.

17. Citation

If referencing this repository in academic work, cite the AuraATS project repository and clearly identify the experiment version.

@misc{auraats2026resumeparser,
  title  = {AuraATS: MiniLM Resume Parser V2},
  year   = {2026},
  note   = {Fine-tuned and quantized resume named entity recognition research prototype},
  url    = {https://huggingface.co/sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2}
}

Repository

Model: AuraATS β€” MiniLM Resume Parser V2

Platform: Hugging Face Model Hub

Project: AuraATS β€” Intelligent Resume Parsing and Skills-Gap Analysis

Release Status: Research prototype β€” private repository


Developed as part of the AuraATS Final Year Project, focusing on applied machine learning, resume information extraction, model optimization and reproducible experimentation.

Downloads last month
3
Safetensors
Model size
33.2M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2

Quantizations
1 model

Paper for sanaullah7964/AuraATS-Resume-Parser-MiniLM-V2