W1 GGUF block sample capture
Date: 2026-10-22
Machine architecture: arm64
Command: python3 code/gguf_block.py ~/Documents/claude/gemma4-e4b-chat/gemma-4-E4B-it-IQ4_XS.gguf

GGUF v3; file bytes=4,715,416,704; samples below read only selected payload bytes
type totals: type | bytes/weight | tensor bytes | decimal MB | file fraction
  F32: 4 | 222,464,168 | 222.464 MB | 4.72%
  BF16: 2 | 55,050,240 | 55.050 MB | 1.17%
  IQ4_XS: 0.53125 | 2,047,180,800 | 2047.181 MB | 43.41%
  Q4_K: 0.5625 | 392,970,240 | 392.970 MB | 8.33%
  Q5_K: 0.6875 | 1,981,923,328 | 1981.923 MB | 42.03%

F32 tensor: output_norm.weight; shape=[2560]; offset=0; declared bytes=10,240; sampled bytes=4
raw: 0000fd40; decoded first value=7.90625

BF16 tensor: per_layer_model_proj.weight; shape=[2560, 10752]; offset=10,240; declared bytes=55,050,240; sampled bytes=2
raw: 0bba; BF16 bits=0xba0b; decoded first value=-0.00053024292

IQ4_XS tensor: blk.0.attn_q.weight; shape=[2560, 2048]; offset=2,373,811,200; declared bytes=2,785,280; sampled bytes=136
header bytes: b902205710fb0021; first code bytes: 89769ac6
d=4.15444374e-05; local scale code=0; effective scale=-0.001329422
first four decoded values: -0.017282486 0.0292472839 -0.0332355499 0.0292472839
hand matches first four: True

Q4_K tensor: token_embd.weight; shape=[2560, 262144]; offset=1,992,830,976; declared bytes=377,487,360; sampled bytes=144
header bytes: c5066612adbfbda1adbfbff7490d857d; code bytes: 40998e76
d=0.000103294849; d_min=0.000781059265; local scale=45; local minimum=45
first four integer codes: 0 9 14 6
first four decoded values: -0.0351476669 0.00668674707 0.0299280882 -0.00725805759

Q5_K tensor: per_layer_token_embd.weight; shape=[10752, 262144]; offset=55,061,504; declared bytes=1,937,768,448; sampled bytes=176
header bytes: ef0bac1eff7ef56cbf9a4f5c520ffcdd; code bytes: fabe9bbc
d=0.000242114067; d_min=0.00651550293; local scale=63; local minimum=63
first four integer codes: 26 30 27 28
first four decoded values: -0.0138938427 0.0471189022 0.00135934353 0.0166125298

payload bytes read total: 462
