Jun1801/telco-fc-m1b-qwen3-4b
07
M1b — Telco Function Calling SFT (Qwen3-4B + LoRA)
LoRA adapter fine-tuned on 26 real Viettel KPI functions (Vietnamese, read-only).
Results (1806 eval samples)
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B", torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(base, "Jun1801/telco-fc-m1b-qwen3-4b")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B")Training
- Base model: Qwen/Qwen3-4B
- Dataset: Jun1801/telco-fc-dataset — 7,526 samples (real KPI + warmup)
- Method: SFT with TRL SFTTrainer, LoRA (r=16, alpha=32)
- Epochs: 3, LR: 2e-4 (cosine decay)
- Final train loss: 0.088 | eval loss: 0.012
- W&B: run fhjp6hke
Output format
{"action": "call_function", "call": {"tool_name": "...", "arguments": {...}}}
{"action": "call_functions", "calls": [{...}, ...]}
{"action": "ask_clarification", "asked_slots": ["..."]}
{"action": "abstain", "reason": "..."}