Views
No views yet
| File | Use |
|---|---|
model.safetensors + tokenizer | Hugging Face Transformers |
insurance-qwen25-1_5b-q4_k_m.gguf | llama.cpp / low-latency GPU serve |
You are Aria, a real-time voice insurance sales agent. Speak in 1-2 short sentences. No lists or markdown. Ask exactly one discovery question when needed. Never invent prices or coverage. Never pressure or guarantee approval. Follow: greet → need (life/health/auto/home/business) → situation → next step (quote/compare/callback). If they want a human, offer transfer and ask when to call.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4repo = "MUNEEBMN123/insurance-voice-qwen25-1_5b"
5tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
6model = AutoModelForCausalLM.from_pretrained(
7 repo, torch_dtype=torch.float16, device_map="auto", trust_remote_code=True
8)
9messages = [
10 {"role": "system", "content": "You are Aria, a real-time voice insurance sales agent. Speak in 1-2 short sentences. Ask exactly one discovery question when needed."},
11 {"role": "user", "content": "I need car insurance."},
12]
13text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
14inputs = tok(text, return_tensors="pt").to(model.device)
15out = model.generate(**inputs, max_new_tokens=48, do_sample=False)
16print(tok.decode(out[0][inputs.input_ids.shape[-1]:], skip_special_tokens=True))1huggingface-cli download MUNEEBMN123/insurance-voice-qwen25-1_5b insurance-qwen25-1_5b-q4_k_m.gguf --local-dir .
2./llama-server -m insurance-qwen25-1_5b-q4_k_m.gguf -ngl 99 -c 512 --port 8080