Converted and evaluated by PBH Applied Systems, LLC
— Applied AI/ML Consulting · LLM Optimization & Deployment · Quantized AI Infrastructure
🔬 This repository is part of a production-oriented evaluation series. Every model published under pbhappliedsystems has been independently evaluated using quant_eval v7.21 — a proprietary behavioral evaluation harness developed by PBH Applied Systems.
📌 This is the full-precision F16 baseline repository. The evaluated Q4_K_M deployment variant is published at pbhappliedsystems/qwen-2.5-14B-instruct-1m-gguf-Q4-K-M. That card documents the complete cross-series comparisons, context window VRAM guide, and deployment recommendations. The Q4_K_M variant is the recommended choice for all deployments — it achieves identical behavioral results at 21.1× faster inference.
This model is part of the PBH Applied Systems evaluated model series that supports the live AI Agent Demo. The demo lets visitors interact with production-style agent workflows powered by open-weight language models evaluated through PBH Applied Systems' quant_eval framework.
The F16 model serves a different role than the Q4_K_M deployment variant. F16 is the full-precision baseline used to measure what the model can do before quantization. quant_eval then compares the quantized model against this baseline to identify which capabilities are preserved, which degrade, and which tasks require guardrails or a higher-precision deployment.
This comparison is central to the demo. It helps determine which model belongs in which agent role:
Reasoning models are selected for planning, analysis, and auditable decision workflows.
Document models are selected for long-context extraction, summarization, and structured Q&A.
Code models are selected for task completion, structured output, API scaffolding, and automation workflows.
Quantized variants are selected when they preserve enough behavior to reduce cost, latency, and GPU requirements.
F16 variants remain important when maximum fidelity, cleaner tool execution, or reduced quantization risk matters more than speed or cost.
The live demo shows the deployment side of that process. The F16 card documents the reference behavior. The Q4_K_M card shows what changes after compression. Together, they explain how PBH Applied Systems uses quant_eval to choose the correct LLM for the correct agent type instead of guessing from model size or leaderboard reputation.
Model Description
This repository contains the full-precision F16 GGUF of Qwen/Qwen2.5-14B-Instruct-1M, a 14-billion parameter instruction-tuned model from Alibaba Cloud featuring a 1,000,000-token context window.
In the PBH Applied Systems evaluation pipeline, this F16 run (20260210_215029) operated in cache-generation mode (skip_quant=true), producing the full_weight_cache.json used as the reference baseline for the subsequent Q4_K_M comparison run (20260210_235131). The evaluation results here are the source of the F16 baseline data shown in the Q4_K_M card — timing profiles and raw outputs are identical across both runs, confirming clean cache reuse and full run integrity.
Inference speed (eval hardware): avg 56.623 sec/case on RTX 4090
License: Apache 2.0
On inference speed: The F16 model averages 56.6 sec/case — nearly one minute per structured inference task on an RTX 4090. The json_01 case takes 376.99 seconds (over 6 minutes). For this model, the Q4_K_M variant (2.683 sec/case average) is the operationally viable choice on all but the highest-VRAM multi-GPU setups. Both produce identical behavioral results.
PBH Applied Systems Evaluation — quant_eval v7.21
Evaluation conducted by PBH Applied Systems, LLC using quant_eval v7.21
Run ID: 20260210_215029 · Fixtures: golden_oracle_fixtures_v7_21 (SHA256: 6d71a0b9147c...) · Seed: 42
Hardware: NVIDIA RTX 4090 · Runner: full_weight_transformers (F16 only) · Total rows: 42
Every family result is identical between F16 and Q4_K_M. This model is the only one in the evaluated series with zero measurable quantization degradation across all behavioral families.
F16-Specific Observations
toolcall — bucket=11, Clean Final Answers at F16
Both toolcall cases pass with the maximum bucket score at F16 — no role-token contamination, no EOS tokens, no missing answers:
Case
Raw Output
Expected
Result
tool_01
{...add(2,3)...} 5
5
✅ bucket=11
tool_02
{...add(10,-4)...} 6
6
✅ bucket=11
This matches the Q4_K_M runner exactly. Qwen2.5-14B-Instruct-1M at F16 does not exhibit the role-token contamination (PARTICULAR: annotation, garbled prefixes) documented in the Qwen2.5-7B F16 evaluation, nor the EOS contamination of the smaller Qwen Q4_K_M variants. Clean output requires no post-processing at this precision level.
toolcall_only — "left"/"right" Schema Vocabulary at F16
Both toolcall_only cases use "left"/"right" as argument keys — the same vocabulary as the F16 runner for this model:
Case
Raw Output
toolonly_01
{"tool": "add", "left": 5, "right": 10}
toolonly_02
{"tool": "add", "left": 25, "right": 75}
Contrast with Q4_K_M which uses a nested "input" object. Both runners fail args_ok but with different wrong schemas. Explicit key names in the system prompt resolve this at both precision levels.
MCQ — Perfect 5/5 at F16
All five MCQ cases return a clean single-character answer in ~0.73 seconds:
mcq_01: B | mcq_02: B | mcq_03: C | mcq_04: B | mcq_05: B
No empty output, no invalid choices, no A-bias. At F16 MCQ is the fastest family in this run — the 1M context window doesn't affect short-response tasks.
json_01 — 376.99-Second Outlier
json_01 at F16 takes 376.99 seconds while json_02 through json_04 run 63–70 seconds each. The output is correct (bucket=10). This extreme variance is a characteristic of the 1M context window at full precision — certain inputs trigger substantially longer generation sequences before the model settles on its brief JSON output. The Q4_K_M runner takes 3.38 seconds on the same case, confirming this is a precision + context-window interaction, not a fixture complexity issue.
stateful_followup — No Turn-2 Contamination
Unlike the Qwen2.5-7B F16 evaluation (which showed PARTICULAR: annotation hallucinations on turn-2), this model produces clean JSON state at both turns with no appended text:
Case
Turn 1
Turn 2
state_01
{"counter": 2}
{"counter": 5}
state_02
{"items": ["a", "b"]}
{"items": ["a", "b", "c"]}
The F16 Transformers runner handles this model's stateful outputs cleanly.
F16 vs. Q4_K_M — Deployment Decision
Dimension
F16 (this repo)
Q4_K_M
VRAM (8K context)
~32 GB
~12 GB
VRAM (128K context)
~48 GB
~20 GB
Avg inference time
56.623 sec/case
2.683 sec/case
Speed ratio
1.0× (baseline)
21.1× faster
All family pass rates
Same
Same
Toolcall final answer
Clean (bucket=11)
Clean (bucket=11)
MCQ
5/5
5/5
Behavioral difference
None
None
For every practical deployment scenario, Q4_K_M is the correct choice. It achieves the same results in 21× less time at ~3× less VRAM. F16 is appropriate only when: (1) you have 32+ GB GPU VRAM available, (2) you require full-weight provenance for compliance or reproducibility auditing, or (3) you need the F16 baseline cache for a subsequent comparison evaluation run.
1from huggingface_hub import hf_hub_download
2from llama_cpp import Llama
34# Note: 29.5 GB download — ensure sufficient disk space and ~32 GB VRAM5model_path = hf_hub_download(6 repo_id="pbhappliedsystems/qwen-2.5-14B-instruct-1m-gguf-F16",7 filename="qwen-2.5-14B-instruct-1m-gguf-F16.gguf"8)910llm = Llama(11 model_path=model_path,12 n_ctx=32768,# Set to actual working context; supports up to 1M13 n_gpu_layers=-1,14 verbose=False,15)1617response = llm.create_chat_completion(18 messages=[19{20"role":"system",21"content":"You are a precise assistant. Follow instructions exactly."22},23{24"role":"user",25"content":"Analyze the following and return a JSON object with keys: summary, risk_level, action_items."26}27],28 temperature=0.7,29 max_tokens=1024,30)31print(response["choices"][0]["message"]["content"])
For tool-calling (no EOS stripping required — output is clean at F16):
python
1# quant_eval v7.21: toolcall bucket=11 — clean final answer, no post-processing needed2response = llm.create_chat_completion(3 messages=[4{5"role":"system",6"content":(7"You are a tool-calling assistant. Output the tool call as JSON, "8"then on the next line output only the numeric result.\n"9'Tool call format: {"tool_name": "<n>", "args": {"a": <n>, "b": <n>}}'10)11},12{"role":"user","content":"Use the add tool to compute 10 minus 4."}13],14 temperature=0.7,15 max_tokens=128,16)17# No stripping required at F16 — output is clean18print(response["choices"][0]["message"]["content"])
For bare tool-call dispatch with schema enforcement:
python
1import json, re
23defcall_tool_bare(llm, prompt:str, retries:int=3)->dict:4"""
5 Explicit schema enforcement for toolcall_only.
6 quant_eval v7.21: F16 uses 'left'/'right' keys without schema guidance.
7 System prompt specifying exact keys resolves the vocabulary mismatch.
8 """9for attempt inrange(retries):10 response = llm.create_chat_completion(11 messages=[12{13"role":"system",14"content":(15'Respond ONLY with a JSON object using EXACTLY these keys:\n'16'{"tool_name": "add", "args": {"a": <integer>, "b": <integer>}}\n'17'No other text, no markdown.'18)19},20{"role":"user","content": prompt}21],22 temperature=0.0,23 max_tokens=64,24)25 raw = response["choices"][0]["message"]["content"].strip()26try:27 parsed = json.loads(raw)28assert"tool_name"in parsed and"args"in parsed
29assert"a"in parsed["args"]and"b"in parsed["args"]30return parsed
31except(json.JSONDecodeError, AssertionError, KeyError):32if attempt == retries -1:33raise ValueError(f"Tool call failed after {retries} attempts. Raw: {raw}")
CLI — llama-cli
bash
1llama-cli \2 --model qwen-2.5-14B-instruct-1m-gguf-F16.gguf \3 --chat-template qwen2 \4 --system-prompt "You are a precise assistant. Follow instructions exactly."\5 --prompt "Return a JSON object with keys: summary, risk_level, action_items."\6 --n-predict 1024\7 --ctx-size 32768\8 --n-gpu-layers -1 \9 --temp 0.7
The F16 GGUF was converted from Qwen/Qwen2.5-14B-Instruct-1M using a custom-built llama.cpp conversion pipeline developed by PBH Applied Systems.
Two-pass architecture: This F16 run (20260210_215029) operated in cache-generation mode (skip_quant=true). The resulting full_weight_cache.json was used as the reference baseline for the Q4_K_M comparison run (20260210_235131). Timing identity between this run and the F16 baseline entries in the comparison run confirms clean cache reuse and run integrity.
quant_eval is a proprietary behavioral evaluation harness developed by PBH Applied Systems, LLC. It measures real agent-adjacent task performance across structured output, tool dispatch, multi-turn state retention, and multi-step planning — not perplexity or leaderboard proxies. Every model published under pbhappliedsystems has been independently evaluated using quant_eval before being recommended for any production role.
See it in action:Live AI Agent Demo →
The demo runs production-style agent workflows powered by open-weight models selected through the quant_eval evaluation pipeline.
Need a deployment recommendation?
Not sure which quantization level is right for your hardware, latency target, or agent type?
→ pbhappliedsystems.com
PBH Applied Systems, LLC is an Oklahoma City–based applied machine learning and AI systems company specializing in production-grade model evaluation, quantization pipelines, agentic AI infrastructure, and scalable AI-driven application development.
The F16 baseline for this model exists because proper quantization evaluation requires it — you cannot measure what Q4_K_M preserves or degrades without a verified full-precision reference. For this model, the answer is: zero degradation. That finding only becomes a deployable fact when both runs exist and can be compared against the same fixture set.
The quant_eval evaluation methodology, fixture set, and scoring framework are proprietary to PBH Applied Systems, LLC and are not included in this repository.
GGUF conversion and behavioral evaluation performed by PBH Applied Systems, LLC · quant_eval v7.21 · F16 Run ID: 20260210_215029