Switch to qwen2.5:14b on GPU (RTX 5070 Ti), fix routing regression #61

Merged
plank merged 1 commit from feature/switch-qwen-gpu into main 2026-11-08 22:21:55 +01:00
Owner

Once a GPU became available, switched the default model from
llama3.2:3b (CPU) to qwen2.5:14b (GPU): added an NVIDIA GPU reservation
to the ollama service in docker-compose.yml and updated the default
OLLAMA_MODEL in config.py/.env.example.

Re-running the eval surfaced a new regression: the out-of-scope
"weather" question got classified as policy_question by the new model.
Fixed by adding an explicit negative example to _CLASSIFY_PROMPT.

Archived the llama3.2:3b eval/load-test reports under
eval/results/llama3.2-3b/ and re-ran both suites against qwen2.5:14b,
documenting the comparison in the README (accuracy 11/16 -> 12/16,
~4.3x latency improvement, see sections 5.1/6.1).

Refs #13

Once a GPU became available, switched the default model from llama3.2:3b (CPU) to qwen2.5:14b (GPU): added an NVIDIA GPU reservation to the ollama service in docker-compose.yml and updated the default OLLAMA_MODEL in config.py/.env.example. Re-running the eval surfaced a new regression: the out-of-scope "weather" question got classified as policy_question by the new model. Fixed by adding an explicit negative example to _CLASSIFY_PROMPT. Archived the llama3.2:3b eval/load-test reports under eval/results/llama3.2-3b/ and re-ran both suites against qwen2.5:14b, documenting the comparison in the README (accuracy 11/16 -> 12/16, ~4.3x latency improvement, see sections 5.1/6.1). Refs #13
plank added 1 commit 2026-11-08 22:12:55 +01:00
Once a GPU became available, switched the default model from
llama3.2:3b (CPU) to qwen2.5:14b (GPU): added an NVIDIA GPU reservation
to the ollama service in docker-compose.yml and updated the default
OLLAMA_MODEL in config.py/.env.example.

Re-running the eval surfaced a new regression: the out-of-scope
"weather" question got classified as policy_question by the new model.
Fixed by adding an explicit negative example to _CLASSIFY_PROMPT.

Archived the llama3.2:3b eval/load-test reports under
eval/results/llama3.2-3b/ and re-ran both suites against qwen2.5:14b,
documenting the comparison in the README (accuracy 11/16 -> 12/16,
~4.3x latency improvement, see sections 5.1/6.1).

Refs #13
plank merged commit fd9cfbabb3 into main 2026-11-08 22:21:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PWC/agentic-rag-policy-assistant#61
No description provided.