Run this model with HF Jobs

Run mattohan/job-tracker-email-classifier 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/mattohan/job-tracker-email-classifier. 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/mattohan/job-tracker-email-classifier 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.
How to use from the
Use from the
Transformers.js library
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';

// Allocate pipeline
const pipe = await pipeline('text-classification', 'mattohan/job-tracker-email-classifier');

Email Classifier for Job Applications

A fine-tuned BGE-small model that classifies emails into job application categories. Designed to run entirely in the browser using Transformers.js.

Model Description

  • Base Model: BAAI/bge-small-en-v1.5 (33M parameters)
  • Task: 5-class email classification
  • Format: ONNX (opset 14, IR version 7)
  • Size: 32.5 MB (quantized) / 127.6 MB (full)

Labels

Label Description
confirmation Application received/confirmed
rejection Application rejected
interview Interview invitation
offer Job offer
not_job Not job-related

Training

  • Method: Curriculum learning (2-2-1 epochs)
    • Phase 1: 2 epochs on full-body emails
    • Phase 2: 2 epochs with 4:1 full-body:snippet mix
    • Phase 3: 1 epoch with 1:1 balanced mix
  • Training Data: ~28K emails (original + augmented snippets)
  • Validation Accuracy: 100% (full-body), 100% (snippet)

Usage with Transformers.js

import { pipeline } from '@xenova/transformers';

const classifier = await pipeline(
  'text-classification',
  'mattohan/job-tracker-email-classifier',
  { quantized: true }
);

const result = await classifier('Thank you for applying to the Software Engineer position...');
// [{ label: 'confirmation', score: 0.99 }]

Files

β”œβ”€β”€ config.json
β”œβ”€β”€ tokenizer.json
β”œβ”€β”€ tokenizer_config.json
β”œβ”€β”€ vocab.txt
β”œβ”€β”€ special_tokens_map.json
└── onnx/
    β”œβ”€β”€ model.onnx           # Full model (127.6 MB)
    └── model_quantized.onnx # Quantized model (32.5 MB)

Privacy

This model runs 100% client-side in the browser. No email data is ever sent to a server.

License

MIT

Downloads last month
51
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 1 Ask for provider support