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)

Split Accuracy
abstain 100.0%
missing_slot 99.4%
unseen 97.4%
masked 94.6%
seen 94.0%
parallel 80.2%
multi_step 54.3%
Overall 84.9%

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": "..."}
Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Jun1801/telco-fc-m1b-qwen3-4b

Finetuned
Qwen/Qwen3-4B
Adapter
(1185)
this model