phila-ft-v2

QLoRA fine-tune of Llama 3.2 3B Instruct for the phila speak gate - a silence-first iMessage group chat agent.

What this model does

Binary classification: given a batch of group chat messages, decide SPEAK or SILENT. The model is tuned to default to silence and only speak for factual corrections, unanswered questions, or direct address.

Training

  • Base model: unsloth/Llama-3.2-3B-Instruct
  • Method: QLoRA, r=16, alpha=16, dropout=0
  • Training data: 1,138 examples across 4 targeted categories (755 base + 150 speak-unanswered + 153 silent-sarcasm + 80 near-miss)
  • Hardware: Vast.ai RTX 4090, 429 steps, ~40 minutes
  • Quantization: Q4_K_M GGUF

Results

Metric llama3.2 (base) phila-ft-v2
Gate accuracy (holdout, 43 scenarios) 87.9% 93.0%
Gate accuracy (all 101 scenarios) 94.1% 95.8%
Response quality 0.951 0.965
Composite score 0.8487 0.8638
Avg latency 515ms 544ms

The fine-tune specifically fixed the "buried thread" failure category (question asked, topic changes, nobody answers) which was a 0% pass rate across all prompt engineering attempts on 4 base models.

Usage with Ollama

# download the GGUF
# then create with the included Modelfile:
ollama create phila-ft-v2 -f Modelfile

# or manually:
ollama create phila-ft-v2 -f - <<EOF
FROM ./phila-ft-v2.Q4_K_M.gguf
TEMPLATE \"\"\"{{- if .System }}<|start_header_id|>system<|end_header_id|>

{{ .System }}<|eot_id|>{{ end }}{{- range .Messages }}<|start_header_id|>{{ .Role }}<|end_header_id|>

{{ .Content }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>

\"\"\"
PARAMETER stop "<|start_header_id|>"
PARAMETER stop "<|end_header_id|>"
PARAMETER stop "<|eot_id|>"
PARAMETER temperature 0.1
PARAMETER top_p 0.52
PARAMETER num_predict 64
EOF

More info

Downloads last month
-
GGUF
Model size
3B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for onblueroses/phila-ft-v2-GGUF

Quantized
(111)
this model