Downloads · 30 days
26
6% of all-time downloads
Nicholas55555/qwen2.5-1.5b-weather-intent-v2-merged
qwen2.5-1.5b-weather-intent-v2-merged is a text generation model from Nicholas55555. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Standalone merged model: Qwen/Qwen2.5-1.5B-Instruct + the weather-intent LoRA adapter, merged to fp16 so it can be quantized to GGUF (llama.cpp / Ollama) or served directly. Parses a natural-language weather question…
Downloads · 30 days
26
6% of all-time downloads
All-time downloads
441
Public
Parameters
1.5B
3.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
Standalone merged model: Qwen/Qwen2.5-1.5B-Instruct + the weather-intent LoRA adapter,
merged to fp16 so it can be quantized to GGUF (llama.cpp / Ollama) or served
directly. Parses a natural-language weather question into a compact structured
intent (JSON).
| metric | base | ft | ft_grammar |
|---|---|---|---|
| in-scope slot exact-match | 52.0% | 99.6% | 100.0% |
| OOS recall (rejects unanswerable) | 80.0% | 100.0% | 100.0% |
| FAR — false-accept / confabulation | 20.0% | 0.0% | 0.0% |
| FRR — false-reject | 20.9% | 0.4% | 0.0% |
| out-of-vocab errors | 30 | 1 | 0 |
Base = few-shot; fine-tuned = zero-shot. Greedy decoding, identical prompt.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Nicholas55555/qwen2.5-1.5b-weather-intent-v2-merged")
model = AutoModelForCausalLM.from_pretrained("Nicholas55555/qwen2.5-1.5b-weather-intent-v2-merged", device_map="auto")
sys = "You extract structured intent from weather questions. Return ONLY a JSON object..."
msgs = [{"role": "system", "content": sys},
{"role": "user", "content": "will it rain in Paris this weekend?"}]
prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
out = model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=64)
print(tok.decode(out[0], skip_special_tokens=True))