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

Closed
opened 2026-11-04 23:46:44 +01:00 by plank · 0 comments
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 and re-ran both suites against qwen2.5:14b, documenting the comparison (accuracy 11/16 -> 12/16, ~4.3x latency improvement) in the README.

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 and re-ran both suites against `qwen2.5:14b`, documenting the comparison (accuracy 11/16 -> 12/16, ~4.3x latency improvement) in the README.
plank closed this issue 2026-11-08 23:27:00 +01:00
Sign in to join this conversation.
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#13
No description provided.