Rithankoushik/job-description-json
Viewer • Updated • 13.5k • 7
This repository contains a fine-tuned version of the Qwen model, specifically adapted to parse job descriptions into structured JSON format.
The model takes raw job descriptions (JD) as input and outputs structured JSON data containing:
Perfect for building:
Qwen (qwen/Qwen3-0.6B)<|im_start|> / <|im_end|> chat templatefrom transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Rithankoushik/job-parser-model-qwen"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16)
prompt = """<|im_start|>system
You are a helpful assistant that extracts structured information from job descriptions.
<|im_end|>
<|im_start|>user
[Paste job description here]
<|im_end|>
<|im_start|>assistant
"""
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))