Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ArrowInvalid
Message:      Failed to parse value: A4-only KL step16
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2152, in cast_array_to_feature
                  return array_cast(
                      array,
                  ...<2 lines>...
                      allow_decimal_to_str=allow_decimal_to_str,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2015, in array_cast
                  return array.cast(pa_type)
                         ~~~~~~~~~~^^^^^^^^^
                File "pyarrow/array.pxi", line 1161, in pyarrow.lib.Array.cast
                File "/usr/local/lib/python3.14/site-packages/pyarrow/compute.py", line 414, in cast
                  return call_function("cast", [arr], options, memory_pool)
                File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
                  result = GetResultValue(
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: Failed to parse value: A4-only KL step16

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

hipfire-calib-data

Native BF16-teacher calibration artifacts (.calib.hfq) and fixed KLD reference tensors (.ref_*.bin) produced by the hipfire quantization-quality campaign. One folder per architecture.

Produced on an AMD MI300X (gfx942, CDNA3). All scoring was performed elsewhere (gfx1201); the MI300X was a producer only, because uncalibrated MQ4 is degenerate on gfx942.

.calib.hfq — HFQM calibration package

header 32B: magic "HFQM" | version u32=1 | arch_id u32 | n_entries u32
            | metadata_offset u64 | data_offset u64
metadata:   self-delimited JSON blob
index:      n_entries u32 | per-entry { name_len u16 | name | quant_type u8
            | n_dims u8 | shape[n_dims u32] | group_size u32 | data_size u64 }
payloads:   concatenated, in index order, from data_offset

Each tensor contributes two entries: <name>.hessian and <name>.imatrix. A 496-tensor model therefore has n_entries = 992.

Hessian storage: Bf16TrilDiagF32 (quant_type 130)

Per Hessian, K*4 + K*(K-1)/2 * 2 bytes:

  • diagonal — exact f32, K * 4 bytes
  • strict lower triangle — bf16, mirrored on read, index i*(i-1)/2 + j for i > j

bf16 conversion is truncation (f32_bits >> 16), not round-to-nearest.

These are full Hessians (XX^T), not diagonals. A 496-tensor 27B package is ~31.5 GB, averaging ~63 MB per Hessian; a diagonal-only package would be ~10 MB total.

REQUIRED: project to PSD before Cholesky

Reading a stored Hessian and running Cholesky directly will fail on roughly half of all tensors. This is measured, not theoretical.

bf16 off-diagonals perturb the Gram matrix out of positive-semidefiniteness by an amount comparable to mean(diag(H)). Measured on layers.1.linear_attn.in_proj_qkv (K=5120) of the Qwen3.8-27B package:

quantity value
mean(diag(H)) 9.951136e-01
off-diagonal RMS 7.889832e-01
Cauchy-Schwarz violations 0 / 1,047,552
leading 1024x1024 lambda_min -2.088e-01 (353 of 1024 eigenvalues negative)
negative eigenvalue energy 0.99% of positive

Zero Cauchy-Schwarz violations means the data is structurally sound — this is precision noise, not corruption or a normalization error.

Because lambda_min scales roughly as sqrt(K), failure is K-dependent:

K -lambda_min / mean(diag) observed GPTQ outcome
5120 ~1.0 ~50% of tensors fail Cholesky
6144 ~1.1 passes only at near-max damping, correction collapses to ~0
17408 ~1.8 fails always

Raising the damping cap is not a fix: once damp ~ mean(diag(H)), H + damp*I is diagonal-dominated and GPTQ degenerates to round-to-nearest.

The fix

Eigendecompose, clip negative eigenvalues to zero, rebuild:

evals, evecs = numpy.linalg.eigh(H)
H = (evecs * numpy.clip(evals, 0.0, None)) @ evecs.T
H = (H + H.T) / 2

Measured effect on the tensor above:

Cholesky succeeds at damp
raw stored 1.0065 (exceeds a 1.0 * mean(diag) cap, so it fails)
PSD-projected 0.01

The projection changes the matrix by 0.1004% (relative Frobenius), which is below bf16's own ~0.391% quantization step. It removes less than the storage format already discarded: denoising, not signal loss. Cost is one O(K^3) eigendecomposition per tensor — the same order as the Cholesky it enables.

.ref_*.bin — KLD reference tensors

Fixed teacher logits for paired KLD/PPL scoring. top-k 256, not full-vocabulary, so absolute KLD values are not comparable to llama.cpp --kl-divergence tables. Relative ranking within this instrument is valid; absolute cross-table comparison is not. Oracle NLL/PPL were computed from full-vocab teacher logits before top-k serialization.

Protocol: n_ctx 2048, 24 chunks, prefill scoring mode.

suffix corpus
ref_wt2 WikiText-2 — prose. An out-of-distribution tripwire.
ref_v6sel Held-out rendered chat-template conversations, 0% prose.
ref_ag AG News.

A prose reference alone is insufficient for a chat model. It compresses arm margins by roughly 3x relative and can invert a PPL ranking. Score against a deployment-distribution reference alongside the prose tripwire.

Experiments

Qwen3.8-27B MQ4/MQ3 research experiments include 43 measured results, four selected research weights, and links to the exact campaign GPTQ Hessians in the Qwen3.8-27B folder. These public research data are not recommended product defaults.

Downloads last month
141