RoleExtract-gemma-3-270m-v1
Job Description Parsing Into Structured JSON
2 min read
This model is a specialized version of Google Gemma 3 270M (a small language model), fine-tuned to extract 19 key fields from job description texts. The output is a compact key: value schema containing information on salary, technology stack, employment type, and requirements. The model is based on the Gemma 3 architecture with 270M parameters and is optimized for token efficiency. It is useful for developers and recruiters to automate the processing of multilingual job postings.
Key features
- 100% Schema Parse Rate: flawless schema parsing rate on the test set.
- 84.74% Macro Field Exact Match: high exact match accuracy across all 19 fields.
- Fast inference: average latency is around 613.54 ms per post on a T4 GPU.
- Token efficiency: compact data output without unnecessary filler text.
What you can do
- HR process automation: integrate the model into a Python pipeline for processing incoming resumes and job vacancies.
- Job market analytics: collect structured data on salaries, technologies, and requirements from open sources.
- Recruitment Telegram bot: set up a bot that parses job posts and organizes them neatly.
Example
Inference example using the transformers library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
MODEL_ID = "bhai2000/RoleExtract-gemma-3-270m-v1"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
MODEL_ID,
torch_dtype=torch.float32,
device_map="auto",
attn_implementation="eager"
)
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
job_text = "Title: Software Engineer\n\nDescription: Python, PyTorch, remote."
outputs = pipe([{"role": "user", "content": job_text}], max_new_tokens=256)
print(outputs[0]["generated_text"][-1]["content"])
Read more
DetailsBenchmarks (n=500): Schema Parse Rate — 100.0%, Macro Field Exact Match — 84.74%, Technologies Extraction F1 — 0.7455.
Training: Supervised Fine-Tuning via the
trl.SFTTrainer library.Extracted fields (19 items): role, grade, employment type, salary, location, visa sponsorship, technologies, etc.










Comments