The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
model_id: string
gpu: string
elapsed_s: double
anyrate_28_layers: list<item: struct<name: string, bpw: double, kl_28: double, label: string, accuracy: double, acc_3nu (... 139 chars omitted)
child 0, item: struct<name: string, bpw: double, kl_28: double, label: string, accuracy: double, acc_3num: double, (... 127 chars omitted)
child 0, name: string
child 1, bpw: double
child 2, kl_28: double
child 3, label: string
child 4, accuracy: double
child 5, acc_3num: double
child 6, acc_4num: double
child 7, format_rate: double
child 8, mean_tokens: double
child 9, elapsed_s: double
child 10, planes: int64
child 11, hadamard: bool
child 12, mean_mse: double
napo_evals: list<item: struct<label: string, accuracy: double, acc_3num: double, acc_4num: double, format_rate: (... 48 chars omitted)
child 0, item: struct<label: string, accuracy: double, acc_3num: double, acc_4num: double, format_rate: double, mea (... 36 chars omitted)
child 0, label: string
child 1, accuracy: double
child 2, acc_3num: double
child 3, acc_4num: double
child 4, format_rate: double
child 5, mean_tokens: double
child 6, elapsed_s: double
napo_updates: int64
napo_rescued_zero_groups: int64
napo_history: list<item: struct<step: int64, n_nums: int64, exact: double, napo: bool, updated: bool, kl: double>>
child 0, item: struct<step: int64, n_nums: int64, exact: double, napo: bool, updated: b
...
ip_rate: double, per_module_flip_rate: struct<q_proj: (... 273 chars omitted)
child 0, global_flip_rate: double
child 1, global_sign_flip_rate: double
child 2, per_module_flip_rate: struct<q_proj: double, k_proj: double, v_proj: double, o_proj: double, gate_proj: double, up_proj: d (... 25 chars omitted)
child 0, q_proj: double
child 1, k_proj: double
child 2, v_proj: double
child 3, o_proj: double
child 4, gate_proj: double
child 5, up_proj: double
child 6, down_proj: double
child 3, per_layer_flips: list<item: struct<layer: int64, flip_rate: double, sign_flip_rate: double, delta_l2: double>>
child 0, item: struct<layer: int64, flip_rate: double, sign_flip_rate: double, delta_l2: double>
child 0, layer: int64
child 1, flip_rate: double
child 2, sign_flip_rate: double
child 3, delta_l2: double
child 4, diff_bytes_fp16: int64
child 5, diff_bytes_pack5: int64
grpo_history: list<item: struct<step: int64, mean_reward: double, acc: double, mean_kl: double, loss: double, mean (... 58 chars omitted)
child 0, item: struct<step: int64, mean_reward: double, acc: double, mean_kl: double, loss: double, mean_tokens: do (... 46 chars omitted)
child 0, step: int64
child 1, mean_reward: double
child 2, acc: double
child 3, mean_kl: double
child 4, loss: double
child 5, mean_tokens: double
child 6, active_groups: int64
child 7, elapsed_s: double
to
{'model_id': Value('string'), 'gpu': Value('string'), 'total_elapsed_s': Value('float64'), 'evals': List({'label': Value('string'), 'acc_all': Value('float64'), 'acc_3num': Value('float64'), 'acc_4num': Value('float64'), 'format_rate': Value('float64'), 'mean_reward': Value('float64'), 'mean_tokens': Value('float64'), 'elapsed_s': Value('float64')}), 'ospop_profile': {'layer_profiles': List({'layer': Value('int64'), 'kl_div': Value('float64'), 'mean_sparsity': Value('float64'), 'mean_rmse': Value('float64'), 'bytes_fp16': Value('int64'), 'bytes_pack5': Value('int64')}), 'least_sensitive_order': List(Value('int64')), 'top_sensitive_layers': List(Value('int64')), 'frontier': List({'k_ternary_layers': Value('int64'), 'pct_ternary': Value('float64'), 'eff_bpw': Value('float64'), 'global_kl': Value('float64')}), 'knee_k': Value('int64'), 'knee_ternary_layers': List(Value('int64')), 'best_qdelta_level': Value('int64'), 'qdelta_sweep': List({'level': Value('int64'), 'threshold': Value('float64'), 'mean_sparsity': Value('float64'), 'mean_rmse': Value('float64'), 'global_kl': Value('float64')}), 'linear_bytes_fp16': Value('int64'), 'linear_bytes_pack4': Value('int64'), 'linear_bytes_pack5': Value('int64')}, 'grpo_history': List({'step': Value('int64'), 'mean_reward': Value('float64'), 'acc': Value('float64'), 'mean_kl': Value('float64'), 'loss': Value('float64'), 'mean_tokens': Value('float64'), 'active_groups': Value('int64'), 'elapsed_s': Value('float64')}), 'trit_anatomy': {'global_flip_rate': Value('float64'), 'global_sign_flip_rate': Value('float64'), 'per_module_flip_rate': {'q_proj': Value('float64'), 'k_proj': Value('float64'), 'v_proj': Value('float64'), 'o_proj': Value('float64'), 'gate_proj': Value('float64'), 'up_proj': Value('float64'), 'down_proj': Value('float64')}, 'per_layer_flips': List({'layer': Value('int64'), 'flip_rate': Value('float64'), 'sign_flip_rate': Value('float64'), 'delta_l2': Value('float64')}), 'diff_bytes_fp16': Value('int64'), 'diff_bytes_pack5': Value('int64')}, 'recovery_losses': List(Value('float64')), 'steering_stats': {'10': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '14': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '18': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '22': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}}, 'solved_flips_sample': List({'numbers': List(Value('int64')), 'target': Value('int64'), 'base_text': Value('string'), 'grpo_text': Value('string'), 'grpo_expr': Value('string')}), 'safetensors_export': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, 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 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, 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 574, 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 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, 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 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, 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 373, 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 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
model_id: string
gpu: string
elapsed_s: double
anyrate_28_layers: list<item: struct<name: string, bpw: double, kl_28: double, label: string, accuracy: double, acc_3nu (... 139 chars omitted)
child 0, item: struct<name: string, bpw: double, kl_28: double, label: string, accuracy: double, acc_3num: double, (... 127 chars omitted)
child 0, name: string
child 1, bpw: double
child 2, kl_28: double
child 3, label: string
child 4, accuracy: double
child 5, acc_3num: double
child 6, acc_4num: double
child 7, format_rate: double
child 8, mean_tokens: double
child 9, elapsed_s: double
child 10, planes: int64
child 11, hadamard: bool
child 12, mean_mse: double
napo_evals: list<item: struct<label: string, accuracy: double, acc_3num: double, acc_4num: double, format_rate: (... 48 chars omitted)
child 0, item: struct<label: string, accuracy: double, acc_3num: double, acc_4num: double, format_rate: double, mea (... 36 chars omitted)
child 0, label: string
child 1, accuracy: double
child 2, acc_3num: double
child 3, acc_4num: double
child 4, format_rate: double
child 5, mean_tokens: double
child 6, elapsed_s: double
napo_updates: int64
napo_rescued_zero_groups: int64
napo_history: list<item: struct<step: int64, n_nums: int64, exact: double, napo: bool, updated: bool, kl: double>>
child 0, item: struct<step: int64, n_nums: int64, exact: double, napo: bool, updated: b
...
ip_rate: double, per_module_flip_rate: struct<q_proj: (... 273 chars omitted)
child 0, global_flip_rate: double
child 1, global_sign_flip_rate: double
child 2, per_module_flip_rate: struct<q_proj: double, k_proj: double, v_proj: double, o_proj: double, gate_proj: double, up_proj: d (... 25 chars omitted)
child 0, q_proj: double
child 1, k_proj: double
child 2, v_proj: double
child 3, o_proj: double
child 4, gate_proj: double
child 5, up_proj: double
child 6, down_proj: double
child 3, per_layer_flips: list<item: struct<layer: int64, flip_rate: double, sign_flip_rate: double, delta_l2: double>>
child 0, item: struct<layer: int64, flip_rate: double, sign_flip_rate: double, delta_l2: double>
child 0, layer: int64
child 1, flip_rate: double
child 2, sign_flip_rate: double
child 3, delta_l2: double
child 4, diff_bytes_fp16: int64
child 5, diff_bytes_pack5: int64
grpo_history: list<item: struct<step: int64, mean_reward: double, acc: double, mean_kl: double, loss: double, mean (... 58 chars omitted)
child 0, item: struct<step: int64, mean_reward: double, acc: double, mean_kl: double, loss: double, mean_tokens: do (... 46 chars omitted)
child 0, step: int64
child 1, mean_reward: double
child 2, acc: double
child 3, mean_kl: double
child 4, loss: double
child 5, mean_tokens: double
child 6, active_groups: int64
child 7, elapsed_s: double
to
{'model_id': Value('string'), 'gpu': Value('string'), 'total_elapsed_s': Value('float64'), 'evals': List({'label': Value('string'), 'acc_all': Value('float64'), 'acc_3num': Value('float64'), 'acc_4num': Value('float64'), 'format_rate': Value('float64'), 'mean_reward': Value('float64'), 'mean_tokens': Value('float64'), 'elapsed_s': Value('float64')}), 'ospop_profile': {'layer_profiles': List({'layer': Value('int64'), 'kl_div': Value('float64'), 'mean_sparsity': Value('float64'), 'mean_rmse': Value('float64'), 'bytes_fp16': Value('int64'), 'bytes_pack5': Value('int64')}), 'least_sensitive_order': List(Value('int64')), 'top_sensitive_layers': List(Value('int64')), 'frontier': List({'k_ternary_layers': Value('int64'), 'pct_ternary': Value('float64'), 'eff_bpw': Value('float64'), 'global_kl': Value('float64')}), 'knee_k': Value('int64'), 'knee_ternary_layers': List(Value('int64')), 'best_qdelta_level': Value('int64'), 'qdelta_sweep': List({'level': Value('int64'), 'threshold': Value('float64'), 'mean_sparsity': Value('float64'), 'mean_rmse': Value('float64'), 'global_kl': Value('float64')}), 'linear_bytes_fp16': Value('int64'), 'linear_bytes_pack4': Value('int64'), 'linear_bytes_pack5': Value('int64')}, 'grpo_history': List({'step': Value('int64'), 'mean_reward': Value('float64'), 'acc': Value('float64'), 'mean_kl': Value('float64'), 'loss': Value('float64'), 'mean_tokens': Value('float64'), 'active_groups': Value('int64'), 'elapsed_s': Value('float64')}), 'trit_anatomy': {'global_flip_rate': Value('float64'), 'global_sign_flip_rate': Value('float64'), 'per_module_flip_rate': {'q_proj': Value('float64'), 'k_proj': Value('float64'), 'v_proj': Value('float64'), 'o_proj': Value('float64'), 'gate_proj': Value('float64'), 'up_proj': Value('float64'), 'down_proj': Value('float64')}, 'per_layer_flips': List({'layer': Value('int64'), 'flip_rate': Value('float64'), 'sign_flip_rate': Value('float64'), 'delta_l2': Value('float64')}), 'diff_bytes_fp16': Value('int64'), 'diff_bytes_pack5': Value('int64')}, 'recovery_losses': List(Value('float64')), 'steering_stats': {'10': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '14': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '18': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}, '22': {'n_pos': Value('int64'), 'n_neg': Value('int64'), 'diff_norm': Value('float64'), 'proj_gap': Value('float64')}}, 'solved_flips_sample': List({'numbers': List(Value('int64')), 'target': Value('int64'), 'base_text': Value('string'), 'grpo_text': Value('string'), 'grpo_expr': Value('string')}), 'safetensors_export': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
1.58-Bit Ternary RLVR Diffs Outperform Dense FP16 Dr. GRPO on Qwen2.5-1.5B (Plus 13× Lower PTQ KL with Walsh-Hadamard)
We ran a series of reproducible experiments on a free Google Colab Tesla T4 (15.64 GB VRAM) pairing unbiased Dr. GRPO (RLVR with verifiable rewards) with Omnispherepop v1.1.0 (ospop) — a zero-unsafe Rust weight-programming toolkit for ternary quantization ({-1, 0, +1}, 5-trit packing), Walsh-Hadamard pre-rotation, and reversible safetensors diffs.
All numbers below come from Qwen/Qwen2.5-1.5B-Instruct evaluated greedily on 48 deterministic held-out Countdown arithmetic reasoning tasks (seed=1337: 24 × 3-number, 24 × 4-number) verified with an exact fractions.Fraction AST evaluator, and cross-checked to 0.00e+00 parity against the Rust ospop binary.
Headline Result: Compressing the RLVR Diff to 1.58 Bits Improved Accuracy
After 80 steps of pure binary exact-match Dr. GRPO (G=6, +1.0 exact target match, +0.05 format gate, trained on 3-number Countdown only), we compressed only the weight update ΔW = W_GRPO - W_base using ospop's strict per-group ternary threshold (Δ = 0.7 · mean|w|, G=128, 5-trit packed = 88.4% smaller than FP16 / 95.0% smaller than FP32):
Model / Patch (Qwen/Qwen2.5-1.5B-Instruct, 48 held-out Countdown tasks) |
ALL Acc | 3-Num | 4-Num (0-shot transfer) | XML Format | Mean Tokens |
|---|---|---|---|---|---|
| FP16 Base | 12.5% | 25.0% | 0.0% | 52.1% | 108 |
| FP16 Pure-Binary Dr. GRPO (80 steps) | 20.8% | 29.2% | 12.5% | 97.9% | 117 |
FP16 Base + ospop 1.58b Plain GRPO Diff (303 MB vs 2,620 MB FP16) |
25.0% | 37.5% | 12.5% | 100.0% | 106 |
FP16 Base + ospop 2D-Hadamard 1.58b GRPO Diff |
22.9% | 33.3% | 12.5% | 100.0% | 102 |
Post-Hoc 2D-Hadamard ospop of FP16 GRPO (4/28 layers ternary) |
16.7% | 25.0% | 8.3% | 93.8% | 122 |
Cold-Start STE Ternary-Aware Dr. GRPO (4/28 1D-Hadamard, 35 steps) |
0.0% (train 10.0%) | 0.0% | 0.0% | 0.0% | 59 |
Why did a 1.58-bit ternary diff beat dense FP16 GRPO (25.0% vs 20.8%)?
Auditing exported Layer-14 o_proj weights directly with ospop trit-diff shows delta_sparsity = 41.9%, delta_mse = 8.44e-10, and energy_retained = 81.8%. High-variance binary RLVR gradients inject low-magnitude noise across all 1.31B linear weights; ospop's 0.7 · mean|w| dead-zone strips out the bottom ~18% noise energy while preserving the directional reasoning signal in 1.6 bits per weight.
Mechanistic Trit-Flip Anatomy of RLVR
Comparing ospop trits before and after Dr. GRPO across all 196 linear projections:
- Only
0.115%of trits flipped across the entire model, with0.00000%direct+1 ↔ -1sign flips (every update was a gentle0 ↔ ±1boundary crossing). - Attention drives RLVR plasticity (2.7× over
down_proj):k_proj0.162%>q_proj0.160%≈o_proj0.160%>v_proj0.136%>up_proj0.133%≈gate_proj0.133%≫down_proj0.060%. - Mid-network hub overlap: Layers
12, 13, 14are simultaneously the top ternary-KL-sensitive layers (KL = 3.08–4.09vs0.094atL7) and the top RLVR trit-flip hub (0.121%–0.126%).
Walsh-Hadamard Pre-Rotation (W H and H W H): 13× Lower Hybrid KL
Adding orthonormal block-wise Walsh-Hadamard pre-rotation (G=128) before ospop PTQ dispersed heavy-tailed weight outliers (shrinking Layer-14 o_proj per-group scale spread by 2.6×, from [0.0079, 0.0335] to [0.0178, 0.0290]):
- 1D Hadamard (
W H): droppedk=8/28hybrid KL 13× (2.59 → 0.20), jumping zero-shot format compliance from0.0% → 83.3%. - 2D Hadamard (
H W H): dropped full28/28(100% 1.6-bpw) KL by −40.6% (11.76 → 6.98) and loweredqdeltaA6P-L4 KL (10.29 → 9.90). - 32-second resurrection: 45 steps of
r=16LoRA recovery on frozen 100% 1.6-bpwospopweights dropped CE loss11.262 → 0.761and restored100.0%XML format compliance.
Honest Negative Result: Cold-Start STE RLVR
Running live Straight-Through Estimator ospop ternary forward passes during GRPO from a cold zero-shot ternary base moved rolling sampled train accuracy (3.3% → 10.0%) and flipped 0.050% of trits cleanly (0 sign flips), but drifted greedy format compliance to 0.0%. Starting from an FP16 RLVR checkpoint before ternarizing (or applying a 1.58-bit ospop ternary diff) is dramatically more reliable.
Try It Yourself (ospop v1.1.0)
cargo install --git https://github.com/8b-is/omnispherepop --tag v1.1.0 --bin ospop
# 2D Walsh-Hadamard ternary PTQ with orthogonal round-trip verification
ospop --file checkpoint.safetensors quantize \
--tensor layer14.o_proj.base --group-size 128 --hadamard-2d 256
# RLVR trit-flip anatomy + 1.58-bit delta compression & energy retention
ospop --file checkpoint.safetensors trit-diff \
--base layer14.o_proj.base --target layer14.o_proj.grpo --group-size 128
Full benchmarks and code: https://github.com/8b-is/omnispherepop (v1.1.0) · Extended series: pocoo.vaked.dev.
Files Included in This Repository
layer14_o_proj_grpo.ospop.safetensors(15,478 Bvs262,144 BF32 =94.1%smaller,81.8%delta energy retained,round_trip_ok: true) — portable.ospop.safetensors1.58-bit 5-trit RLVR delta patch generated byospop v1.2.0 pack-delta.ospop_grpo_layer14.safetensors— real pre/post-GRPO Layer-14 tensors (o_proj,down_proj) fromQwen/Qwen2.5-1.5B-Instruct.ospop_ste_verify.safetensors— real pre/post-STE Layer-8 tensors verified withospop trit-diff --hadamard.results.json&results_stage_c.json— full raw Colab T4 evaluation metrics.
- Downloads last month
- -