rdaum commited on
Commit
b729352
·
verified ·
1 Parent(s): 634ccd8

Add matched base and fine-tuned Q8_0 accuracy results from llama.cpp

Browse files
Files changed (2) hide show
  1. README.md +20 -6
  2. evaluation/llama-comparison.json +184 -0
README.md CHANGED
@@ -138,7 +138,10 @@ NVFP4 uses packed E2M1 weights with E4M3 block scales and an F32 tensor scale in
138
 
139
  ## Evaluation
140
 
141
- These results use **Eider NVFP4 inference with two recurrent loops and no probability calibration**.
 
 
 
142
  The 512-question test set was scored after checkpoint selection on a separate 1,024-question validation set.
143
 
144
  Base Dory is the original NVIDIA BF16 model quantized with the same NVFP4 recipe used for this fine-tune.
@@ -153,18 +156,29 @@ This comparison measures the effect of fine-tuning within this decision interfac
153
  | HelpSteer2 human judgements | 128 | 47.66% | 50.78% | 0.3385 | 0.2290 |
154
  | **Combined** | 512 | 39.06% | 75.59% | 0.6865 | 0.2706 |
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  Accuracy counts any answer tied for the highest target probability as correct.
157
  Brier error compares the complete predicted and target distributions.
158
  These are adapted decision tasks, not scores under the source datasets' original benchmark protocols.
159
 
160
  Additional reused development sets scored 79.35% on 2,048 questions and 65.17% on 89 general questions.
161
  They are not independent final tests. [Full evaluation records](evaluation/nvfp4-comparison.json) contain the per-source results and checkpoint comparisons.
162
- Neither BF16 nor Q8_0 has received a separate full accuracy evaluation.
163
 
164
- The Q8_0 GGUF passed prompt and answer-label parity checks and a 24-request GPU compatibility check across all three answer types.
165
- On NVIDIA DGX Spark (GB10), short requests with changing context had median latency of 62 ms for one question and 191 ms for three questions.
166
- Each median used five timed requests. These small checks establish API compatibility, not general accuracy or production throughput.
167
- [GGUF test evidence](gguf/provenance.json) records the setup and results.
168
 
169
  ## Limitations
170
 
 
138
 
139
  ## Evaluation
140
 
141
+ Both comparisons use the same 512 questions, two recurrent loops, the same typed-decision prompts, and no probability calibration.
142
+ Within each comparison, base Dory and the fine-tune use the same quantization and runtime.
143
+
144
+ ### Eider — NVFP4
145
  The 512-question test set was scored after checkpoint selection on a separate 1,024-question validation set.
146
 
147
  Base Dory is the original NVIDIA BF16 model quantized with the same NVFP4 recipe used for this fine-tune.
 
156
  | HelpSteer2 human judgements | 128 | 47.66% | 50.78% | 0.3385 | 0.2290 |
157
  | **Combined** | 512 | 39.06% | 75.59% | 0.6865 | 0.2706 |
158
 
159
+ ### llama.cpp — Q8_0
160
+
161
+ The native `/v1/systemone` endpoint scored both models with Q8_0 weights.
162
+ All 512 prompt token sequences and answer-label mappings matched Eider for each model.
163
+ This measures fine-tuning under llama.cpp; differences from the NVFP4 table can reflect both quantization and runtime arithmetic.
164
+
165
+ | Test task | Questions | Base Dory accuracy | Typed Decisions accuracy | Base Brier ↓ | Typed Decisions Brier ↓ |
166
+ |---|---:|---:|---:|---:|---:|
167
+ | SCONE state tracking | 192 | 31.77% | 76.04% | 0.8954 | 0.3967 |
168
+ | Block-stacking and delivery planning | 192 | 38.02% | 96.88% | 0.6506 | 0.1405 |
169
+ | HelpSteer2 human judgements | 128 | 49.22% | 51.56% | 0.3753 | 0.2338 |
170
+ | **Combined** | 512 | 38.48% | 77.73% | 0.6736 | 0.2599 |
171
+
172
+ [llama.cpp comparison results](evaluation/llama-comparison.json) include the model hashes, runtime configuration, and per-task metrics.
173
+
174
  Accuracy counts any answer tied for the highest target probability as correct.
175
  Brier error compares the complete predicted and target distributions.
176
  These are adapted decision tasks, not scores under the source datasets' original benchmark protocols.
177
 
178
  Additional reused development sets scored 79.35% on 2,048 questions and 65.17% on 89 general questions.
179
  They are not independent final tests. [Full evaluation records](evaluation/nvfp4-comparison.json) contain the per-source results and checkpoint comparisons.
180
+ The merged BF16 weights have not received a separate full accuracy evaluation.
181
 
 
 
 
 
182
 
183
  ## Limitations
184
 
evaluation/llama-comparison.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "dory-llama-q8-comparison/v1",
3
+ "test_data_sha256": "e2ca7413a306fc2b0e9e044aa685c94d5aa8e0def7cfcec6448941b7369ae625",
4
+ "server_sha256": "577c2b294fbf44483b3999032f6db11743c42dc0d5420f2b07f8e6cf76665ccb",
5
+ "llama_revision": "3834b4ae1ee6f63b8bf314a07dfb9c45407975b9",
6
+ "local_llama_changes": "",
7
+ "quantization": "Q8_0",
8
+ "device": "NVIDIA DGX Spark / GB10",
9
+ "loops": 2,
10
+ "calibrated": false,
11
+ "same_prompt_and_labels_as_eider": true,
12
+ "base": {
13
+ "questions": 512,
14
+ "modal_accuracy": 0.384765625,
15
+ "brier": 0.6735945644865479,
16
+ "median_request_ms": 108.9351789560169,
17
+ "mean_request_ms": 133.98210436844238,
18
+ "by_source": {
19
+ "helpsteer2": {
20
+ "questions": 128,
21
+ "modal_accuracy": 0.4921875,
22
+ "brier": 0.3753410996249456,
23
+ "median_request_ms": 210.46100556850433,
24
+ "mean_request_ms": 206.47532288785442
25
+ },
26
+ "planning": {
27
+ "questions": 192,
28
+ "modal_accuracy": 0.3802083333333333,
29
+ "brier": 0.650590381539687,
30
+ "median_request_ms": 111.42371664755046,
31
+ "mean_request_ms": 118.42679404556596
32
+ },
33
+ "scone": {
34
+ "questions": 192,
35
+ "modal_accuracy": 0.3177083333333333,
36
+ "brier": 0.8954343906744768,
37
+ "median_request_ms": 102.34942147508264,
38
+ "mean_request_ms": 101.2086023450441
39
+ }
40
+ },
41
+ "by_kind": {
42
+ "choice": {
43
+ "questions": 241,
44
+ "modal_accuracy": 0.2863070539419087,
45
+ "brier": 0.7614253393748526,
46
+ "median_request_ms": 109.7046872600913,
47
+ "mean_request_ms": 119.73183251206311
48
+ },
49
+ "noul": {
50
+ "questions": 94,
51
+ "modal_accuracy": 0.5106382978723404,
52
+ "brier": 0.6795592626548467,
53
+ "median_request_ms": 101.0505030862987,
54
+ "mean_request_ms": 96.79506232149582
55
+ },
56
+ "score": {
57
+ "questions": 177,
58
+ "modal_accuracy": 0.4519774011299435,
59
+ "brier": 0.5508380764871043,
60
+ "median_request_ms": 132.75975128635764,
61
+ "mean_request_ms": 173.13406747465922
62
+ }
63
+ },
64
+ "model_sha256": "b04185f003dff2c18097b565427b8c0e7be3e203e56cbad084069aa887042bad",
65
+ "loops": 2,
66
+ "prompt_parity_questions": 512,
67
+ "command": [
68
+ "llama-server",
69
+ "--model",
70
+ "dory-base-Q8_0.gguf",
71
+ "--alias",
72
+ "dory-gguf-eval",
73
+ "--host",
74
+ "127.0.0.1",
75
+ "--port",
76
+ "18091",
77
+ "--ctx-size",
78
+ "4096",
79
+ "--parallel",
80
+ "1",
81
+ "--threads",
82
+ "4",
83
+ "--threads-batch",
84
+ "4",
85
+ "--batch-size",
86
+ "512",
87
+ "--ubatch-size",
88
+ "512",
89
+ "--fit",
90
+ "off",
91
+ "--gpu-layers",
92
+ "all",
93
+ "--no-warmup"
94
+ ]
95
+ },
96
+ "fine_tuned": {
97
+ "questions": 512,
98
+ "modal_accuracy": 0.77734375,
99
+ "brier": 0.2599162990600157,
100
+ "median_request_ms": 109.77665497921407,
101
+ "mean_request_ms": 135.0687600670426,
102
+ "by_source": {
103
+ "helpsteer2": {
104
+ "questions": 128,
105
+ "modal_accuracy": 0.515625,
106
+ "brier": 0.23377195573417558,
107
+ "median_request_ms": 211.45723038353026,
108
+ "mean_request_ms": 208.28389131929725
109
+ },
110
+ "planning": {
111
+ "questions": 192,
112
+ "modal_accuracy": 0.96875,
113
+ "brier": 0.14051244957828152,
114
+ "median_request_ms": 112.26724414154887,
115
+ "mean_request_ms": 119.26124551003643
116
+ },
117
+ "scone": {
118
+ "questions": 192,
119
+ "modal_accuracy": 0.7604166666666666,
120
+ "brier": 0.3967497107589765,
121
+ "median_request_ms": 103.08765154331923,
122
+ "mean_request_ms": 102.06618712254567
123
+ }
124
+ },
125
+ "by_kind": {
126
+ "choice": {
127
+ "questions": 241,
128
+ "modal_accuracy": 0.8257261410788381,
129
+ "brier": 0.3344495604077365,
130
+ "median_request_ms": 110.2855778299272,
131
+ "mean_request_ms": 120.80057657659981
132
+ },
133
+ "noul": {
134
+ "questions": 94,
135
+ "modal_accuracy": 0.9680851063829787,
136
+ "brier": 0.07220308279158415,
137
+ "median_request_ms": 101.73197486437857,
138
+ "mean_request_ms": 97.29551964815944
139
+ },
140
+ "score": {
141
+ "questions": 177,
142
+ "modal_accuracy": 0.6101694915254238,
143
+ "brier": 0.2581226625878792,
144
+ "median_request_ms": 134.17465519160032,
145
+ "mean_request_ms": 174.55642571999024
146
+ }
147
+ },
148
+ "model_sha256": "bb36b8ed263ce633649ccfad9c6e1dc065e9c3d333624fc27028f496089a38b8",
149
+ "loops": 2,
150
+ "prompt_parity_questions": 512,
151
+ "command": [
152
+ "llama-server",
153
+ "--model",
154
+ "dory-decisions-Q8_0.gguf",
155
+ "--alias",
156
+ "dory-gguf-eval",
157
+ "--host",
158
+ "127.0.0.1",
159
+ "--port",
160
+ "18091",
161
+ "--ctx-size",
162
+ "4096",
163
+ "--parallel",
164
+ "1",
165
+ "--threads",
166
+ "4",
167
+ "--threads-batch",
168
+ "4",
169
+ "--batch-size",
170
+ "512",
171
+ "--ubatch-size",
172
+ "512",
173
+ "--fit",
174
+ "off",
175
+ "--gpu-layers",
176
+ "all",
177
+ "--no-warmup"
178
+ ]
179
+ },
180
+ "cross_entropy_omitted": "The native API returns binary probability rather than raw logits; subtraction can round the complement to zero.",
181
+ "base_model": "nvidia/NVIDIA-Nemotron-Labs-Dory1.0-4B-BF16",
182
+ "base_model_revision": "b366b87f762ea334ba3eb55912031baba1515810",
183
+ "description": "Same 512 questions as the NVFP4 comparison; native /v1/systemone endpoint, no source patches, no calibration, no generated reasoning."
184
+ }