Views
No views yet
Qwen/Qwen3.5-0.8B fine-tuned to extract named entities from a sentence and return JSON only:{"people": [], "places": [], "dates": []}peopleplacesdatesPERSON → peopleGPE, LOC, FAC → placesDATE → datestner/ontonotes5 raw JSON shards1200051264 validation examples after deterministic filtering/shuffle with seed 420.15Qwen/Qwen3.5-0.8B16 / 32 / 0.05283002e-43849642entity_f1_pct: 89.5105json_exact_match_pct: 81.2500parseable_pct: 100.0000entity_f1_pct: 94.4444json_exact_match_pct: 92.1875parseable_pct: 100.00001from transformers import AutoTokenizer, AutoModelForImageTextToText
2from peft import PeftModel
3
4base_model = "Qwen/Qwen3.5-0.8B"
5adapter_id = "Mike0021/qwen35-0.8b-ner-json-lora"
6
7tokenizer = AutoTokenizer.from_pretrained(adapter_id, trust_remote_code=True)
8model = AutoModelForImageTextToText.from_pretrained(base_model, trust_remote_code=True)
9model = PeftModel.from_pretrained(model, adapter_id)Extract named entities from the sentence. Return strict JSON only with keys people, places, dates. Each value must be an array of strings. Use [] when empty.Sentence: <sentence>