This LoRA adapter fine-tunes Qwen 1.5B / 1.7B for structured recruitment CV extraction into standard JSON schema (recruit.cv-extract).
q, k, v, o, gate, up, down).recruit.cv-extract (candidate name, email, phone, location, current title/company, experience, education, skills).state: "missing", value: null instead of hallucinating "value": "None".0.05729 on evaluation set.import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_model_name = "Qwen/Qwen2.5-1.5B-Instruct"
adapter_name = "Dungchauu/mailcal-cv-qwen-adapter"
tokenizer = AutoTokenizer.from_pretrained(base_model_name)
base_model = AutoModelForCausalLM.from_pretrained(
base_model_name,
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.bfloat16,
device_map="auto",
)
model = PeftModel.from_pretrained(base_model, adapter_name)
Qwen/Qwen2.5-1.5B-Instruct