MiniCPM-OCR 1.0
Collection
OpenBMB's 1.3B OCR model as GGUF: every file measured on real document pages. By AtomicChat. • 2 items • Updated
text stringlengths 0 165 |
|---|
0.00.009.129 W compute_tensor_statistics: no preceding-layer tensor for 'blk.3.attn_output.weight' |
0.00.009.160 W compute_tensor_statistics: no preceding-layer tensor for 'blk.3.attn_k.weight' |
0.00.009.181 W compute_tensor_statistics: no preceding-layer tensor for 'blk.3.attn_v.weight' |
0.00.009.702 W compute_tensor_statistics: no preceding-layer tensor for 'blk.3.attn_q.weight' |
Computing tensor statistics for /work/MiniCPM-OCR-1.0/imatrix/imatrix.gguf (186 tensors) |
Layer | Tensor | Mean StdDev Skew Kurt H Norm | ∑ E[A²] Gain | L2 Dist PCC Cov |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
0 | blk.0.attn_gate.weight | 0.0070 0.7956 0.3720 3.9202 94.99% | 1604.0180 nan | nan nan nan |
0 | blk.0.attn_qkv.weight | 0.0070 0.7956 0.3720 3.9202 94.99% | 1604.0180 nan | nan nan nan |
0 | blk.0.ffn_down.weight | -0.0001 0.0074 -4.9715 139.5219 92.31% | 12.8177 nan | nan nan nan |
0 | blk.0.ffn_gate.weight | -0.0073 0.1739 -15.4690 332.4285 93.17% | 278.7556 nan | nan nan nan |
0 | blk.0.ffn_up.weight | -0.0073 0.1739 -15.4690 332.4285 93.17% | 278.7556 nan | nan nan nan |
0 | blk.0.ssm_alpha.weight | 0.0070 0.7956 0.3720 3.9202 94.99% | 1604.0180 nan | nan nan nan |
0 | blk.0.ssm_beta.weight | 0.0070 0.7956 0.3720 3.9202 94.99% | 1604.0180 nan | nan nan nan |
0 | blk.0.ssm_out.weight | 0.0011 0.0574 24.3259 760.2211 75.02% | 29.0488 nan | nan nan nan |
1 | blk.1.attn_gate.weight | -0.0245 0.7418 -28.4642 868.6208 68.44% | 1474.5824 0.96 | 37.0778 -0.1341 -0.0792 |
1 | blk.1.attn_qkv.weight | -0.0245 0.7418 -28.4642 868.6208 68.44% | 1474.5824 0.96 | 37.0778 -0.1341 -0.0792 |
1 | blk.1.ffn_down.weight | 0.0002 0.0122 16.6720 646.0806 95.03% | 20.5633 1.27 | 0.8843 -0.0814 -0.0000 |
1 | blk.1.ffn_gate.weight | -0.0111 0.2622 -19.6347 499.8484 91.25% | 438.8432 1.25 | 4.0870 0.9068 0.0413 |
1 | blk.1.ffn_up.weight | -0.0111 0.2622 -19.6347 499.8484 91.25% | 438.8432 1.25 | 4.0870 0.9068 0.0413 |
1 | blk.1.ssm_alpha.weight | -0.0245 0.7418 -28.4642 868.6208 68.44% | 1474.5824 0.96 | 37.0778 -0.1341 -0.0792 |
1 | blk.1.ssm_beta.weight | -0.0245 0.7418 -28.4642 868.6208 68.44% | 1474.5824 0.96 | 37.0778 -0.1341 -0.0792 |
1 | blk.1.ssm_out.weight | -0.0019 0.0308 -22.9987 781.4988 82.63% | 10.6523 0.61 | 2.9239 0.0198 0.0000 |
2 | blk.2.attn_gate.weight | -0.0274 0.8004 -27.2874 814.8893 70.21% | 1743.1643 1.09 | 4.5192 0.9861 0.5854 |
2 | blk.2.attn_qkv.weight | -0.0274 0.8004 -27.2874 814.8893 70.21% | 1743.1643 1.09 | 4.5192 0.9861 0.5854 |
2 | blk.2.ffn_down.weight | 0.0001 0.0211 7.5905 299.7784 96.52% | 33.0264 1.27 | 1.5263 -0.1060 -0.0000 |
2 | blk.2.ffn_gate.weight | -0.0151 0.3501 -20.1134 521.4550 88.33% | 600.2413 1.17 | 3.8254 0.9643 0.0885 |
2 | blk.2.ffn_up.weight | -0.0151 0.3501 -20.1134 521.4550 88.33% | 600.2413 1.17 | 3.8254 0.9643 0.0885 |
2 | blk.2.ssm_alpha.weight | -0.0274 0.8004 -27.2874 814.8893 70.21% | 1743.1643 1.09 | 4.5192 0.9861 0.5854 |
2 | blk.2.ssm_beta.weight | -0.0274 0.8004 -27.2874 814.8893 70.21% | 1743.1643 1.09 | 4.5192 0.9861 0.5854 |
2 | blk.2.ssm_out.weight | -0.0014 0.0514 -27.2258 1019.7057 78.92% | 19.9186 1.37 | 2.7203 -0.0086 -0.0000 |
3 | blk.3.attn_k.weight | -0.0307 0.8379 -22.8787 632.7626 72.99% | 1937.4110 nan | nan nan nan |
3 | blk.3.attn_output.weight | 0.0008 0.0598 17.8701 603.7441 83.36% | 30.9265 nan | nan nan nan |
3 | blk.3.attn_q.weight | -0.0307 0.8379 -22.8787 632.7626 72.99% | 1937.4110 nan | nan nan nan |
3 | blk.3.attn_v.weight | -0.0307 0.8379 -22.8787 632.7626 72.99% | 1937.4110 nan | nan nan nan |
3 | blk.3.ffn_down.weight | -0.0002 0.0137 -1.5929 19.5589 96.33% | 40.6632 1.11 | 1.5479 -0.0587 -0.0000 |
3 | blk.3.ffn_gate.weight | -0.0125 0.3358 -14.0932 287.9833 91.88% | 686.1903 1.07 | 4.4229 0.9196 0.1081 |
3 | blk.3.ffn_up.weight | -0.0125 0.3358 -14.0932 287.9833 91.88% | 686.1903 1.07 | 4.4229 0.9196 0.1081 |
4 | blk.4.attn_gate.weight | -0.0267 0.7422 -22.0620 596.2753 77.61% | 1783.4330 1.01 | 7.0830 0.9616 0.5712 |
4 | blk.4.attn_qkv.weight | -0.0267 0.7422 -22.0620 596.2753 77.61% | 1783.4330 1.01 | 7.0830 0.9616 0.5712 |
4 | blk.4.ffn_down.weight | 0.0004 0.0152 0.6806 17.8156 97.12% | 46.2289 1.07 | 1.2697 -0.0755 -0.0000 |
4 | blk.4.ffn_gate.weight | -0.0114 0.3325 -13.0012 251.3800 92.07% | 725.6632 1.03 | 2.7459 0.9671 0.1080 |
4 | blk.4.ffn_up.weight | -0.0114 0.3325 -13.0012 251.3800 92.07% | 725.6632 1.03 | 2.7459 0.9671 0.1080 |
4 | blk.4.ssm_alpha.weight | -0.0267 0.7422 -22.0620 596.2753 77.61% | 1783.4330 1.01 | 7.0830 0.9616 0.5712 |
4 | blk.4.ssm_beta.weight | -0.0267 0.7422 -22.0620 596.2753 77.61% | 1783.4330 1.01 | 7.0830 0.9616 0.5712 |
4 | blk.4.ssm_out.weight | -0.0023 0.0264 -3.7150 67.4427 92.76% | 24.8978 1.12 | 2.6661 -0.0492 -0.0001 |
5 | blk.5.attn_gate.weight | -0.0231 0.6678 -20.7078 542.3145 79.74% | 1597.0666 0.95 | 4.1557 0.9886 0.4899 |
5 | blk.5.attn_qkv.weight | -0.0231 0.6678 -20.7078 542.3145 79.74% | 1597.0666 0.95 | 4.1557 0.9886 0.4899 |
5 | blk.5.ffn_down.weight | -0.0001 0.0135 -0.0564 4.8030 97.78% | 38.0408 0.91 | 1.2158 -0.0023 -0.0000 |
5 | blk.5.ffn_gate.weight | -0.0103 0.3018 -11.8687 216.6538 92.84% | 648.6749 0.95 | 2.5910 0.9721 0.0976 |
5 | blk.5.ffn_up.weight | -0.0103 0.3018 -11.8687 216.6538 92.84% | 648.6749 0.95 | 2.5910 0.9721 0.0976 |
5 | blk.5.ssm_alpha.weight | -0.0231 0.6678 -20.7078 542.3145 79.74% | 1597.0666 0.95 | 4.1557 0.9886 0.4899 |
5 | blk.5.ssm_beta.weight | -0.0231 0.6678 -20.7078 542.3145 79.74% | 1597.0666 0.95 | 4.1557 0.9886 0.4899 |
5 | blk.5.ssm_out.weight | -0.0001 0.0317 -4.0610 114.0873 92.95% | 26.1762 1.03 | 1.8645 0.0069 0.0000 |
6 | blk.6.attn_gate.weight | -0.0237 0.6383 -20.4030 528.3603 78.66% | 1392.6311 0.93 | 3.2601 0.9888 0.4215 |
6 | blk.6.attn_qkv.weight | -0.0237 0.6383 -20.4030 528.3603 78.66% | 1392.6311 0.93 | 3.2601 0.9888 0.4215 |
6 | blk.6.ffn_down.weight | -0.0007 0.0222 -8.7873 293.1117 96.59% | 38.9575 1.01 | 1.5783 -0.0358 -0.0000 |
6 | blk.6.ffn_gate.weight | -0.0147 0.4302 -19.5844 492.8495 84.43% | 740.0499 1.07 | 5.9138 0.9320 0.1210 |
6 | blk.6.ffn_up.weight | -0.0147 0.4302 -19.5844 492.8495 84.43% | 740.0499 1.07 | 5.9138 0.9320 0.1210 |
6 | blk.6.ssm_alpha.weight | -0.0237 0.6383 -20.4030 528.3603 78.66% | 1392.6311 0.93 | 3.2601 0.9888 0.4215 |
6 | blk.6.ssm_beta.weight | -0.0237 0.6383 -20.4030 528.3603 78.66% | 1392.6311 0.93 | 3.2601 0.9888 0.4215 |
6 | blk.6.ssm_out.weight | -0.0003 0.0297 -2.7761 47.1954 93.95% | 26.8624 1.01 | 2.0164 -0.0496 -0.0000 |
7 | blk.7.attn_k.weight | -0.0175 0.5920 -20.8220 555.1411 79.25% | 1190.9768 0.78 | 10.3480 0.9557 0.4741 |
7 | blk.7.attn_output.weight | -0.0003 0.0650 -3.2620 94.2540 92.76% | 55.0088 1.33 | 3.9836 0.0080 0.0000 |
7 | blk.7.attn_q.weight | -0.0175 0.5920 -20.8220 555.1411 79.25% | 1190.9768 0.78 | 10.3480 0.9557 0.4741 |
7 | blk.7.attn_v.weight | -0.0175 0.5920 -20.8220 555.1411 79.25% | 1190.9768 0.78 | 10.3480 0.9557 0.4741 |
7 | blk.7.ffn_down.weight | -0.0003 0.0157 0.5358 28.1034 97.19% | 35.9146 0.96 | 1.6302 -0.0053 -0.0000 |
7 | blk.7.ffn_gate.weight | -0.0154 0.3102 -10.9014 193.6952 91.95% | 605.8039 0.90 | 6.4200 0.9031 0.1205 |
7 | blk.7.ffn_up.weight | -0.0154 0.3102 -10.9014 193.6952 91.95% | 605.8039 0.90 | 6.4200 0.9031 0.1205 |
8 | blk.8.attn_gate.weight | -0.0285 0.6921 -21.7069 585.5621 74.98% | 1397.8580 1.00 | 4.8932 0.9768 0.4315 |
8 | blk.8.attn_qkv.weight | -0.0285 0.6921 -21.7069 585.5621 74.98% | 1397.8580 1.00 | 4.8932 0.9768 0.4315 |
8 | blk.8.ffn_down.weight | 0.0002 0.0134 0.2867 5.2660 97.76% | 28.5995 0.89 | 1.2129 0.0351 0.0000 |
8 | blk.8.ffn_gate.weight | -0.0127 0.2821 -10.1451 172.8357 92.46% | 554.8065 0.96 | 2.4205 0.9718 0.0850 |
8 | blk.8.ffn_up.weight | -0.0127 0.2821 -10.1451 172.8357 92.46% | 554.8065 0.96 | 2.4205 0.9718 0.0850 |
8 | blk.8.ssm_alpha.weight | -0.0285 0.6921 -21.7069 585.5621 74.98% | 1397.8580 1.00 | 4.8932 0.9768 0.4315 |
8 | blk.8.ssm_beta.weight | -0.0285 0.6921 -21.7069 585.5621 74.98% | 1397.8580 1.00 | 4.8932 0.9768 0.4315 |
8 | blk.8.ssm_out.weight | -0.0016 0.0278 -2.3349 76.6808 93.81% | 21.2756 0.89 | 1.8098 0.0358 0.0000 |
9 | blk.9.attn_gate.weight | -0.0252 0.5928 -19.9363 510.7957 79.17% | 1192.9739 0.92 | 4.4495 0.9885 0.4055 |
9 | blk.9.attn_qkv.weight | -0.0252 0.5928 -19.9363 510.7957 79.17% | 1192.9739 0.92 | 4.4495 0.9885 0.4055 |
9 | blk.9.ffn_down.weight | -0.0006 0.0145 -0.2174 14.1532 97.14% | 28.4046 1.00 | 1.1609 0.0361 0.0000 |
9 | blk.9.ffn_gate.weight | -0.0117 0.2805 -10.9168 201.4781 92.31% | 531.4541 0.98 | 2.2703 0.9682 0.0766 |
9 | blk.9.ffn_up.weight | -0.0117 0.2805 -10.9168 201.4781 92.31% | 531.4541 0.98 | 2.2703 0.9682 0.0766 |
9 | blk.9.ssm_alpha.weight | -0.0252 0.5928 -19.9363 510.7957 79.17% | 1192.9739 0.92 | 4.4495 0.9885 0.4055 |
9 | blk.9.ssm_beta.weight | -0.0252 0.5928 -19.9363 510.7957 79.17% | 1192.9739 0.92 | 4.4495 0.9885 0.4055 |
9 | blk.9.ssm_out.weight | -0.0006 0.0303 -1.2740 52.6643 91.67% | 20.3580 0.98 | 1.8647 -0.0022 -0.0000 |
10 | blk.10.attn_gate.weight | -0.0291 0.6543 -21.7696 586.9791 74.72% | 1245.6085 1.02 | 3.5875 0.9887 0.3835 |
10 | blk.10.attn_qkv.weight | -0.0291 0.6543 -21.7696 586.9791 74.72% | 1245.6085 1.02 | 3.5875 0.9887 0.3835 |
10 | blk.10.ffn_down.weight | -0.0003 0.0205 -0.9064 25.5809 96.20% | 30.6364 1.04 | 1.4462 0.0791 0.0000 |
10 | blk.10.ffn_gate.weight | -0.0135 0.3594 -15.7601 364.9837 86.80% | 579.8148 1.04 | 4.2309 0.9442 0.0952 |
10 | blk.10.ffn_up.weight | -0.0135 0.3594 -15.7601 364.9837 86.80% | 579.8148 1.04 | 4.2309 0.9442 0.0952 |
10 | blk.10.ssm_alpha.weight | -0.0291 0.6543 -21.7696 586.9791 74.72% | 1245.6085 1.02 | 3.5875 0.9887 0.3835 |
10 | blk.10.ssm_beta.weight | -0.0291 0.6543 -21.7696 586.9791 74.72% | 1245.6085 1.02 | 3.5875 0.9887 0.3835 |
10 | blk.10.ssm_out.weight | 0.0005 0.0401 -8.4995 227.6875 91.78% | 30.5102 1.22 | 2.3069 -0.0270 -0.0000 |
11 | blk.11.attn_k.weight | -0.0197 0.5352 -20.0233 528.6732 81.85% | 1060.6254 0.94 | 5.6306 0.9562 0.3030 |
11 | blk.11.attn_output.weight | -0.0025 0.0865 -3.5402 36.7502 93.36% | 91.9638 1.29 | 4.8275 0.0306 0.0002 |
11 | blk.11.attn_q.weight | -0.0197 0.5352 -20.0233 528.6732 81.85% | 1060.6254 0.94 | 5.6306 0.9562 0.3030 |
11 | blk.11.attn_v.weight | -0.0197 0.5352 -20.0233 528.6732 81.85% | 1060.6254 0.94 | 5.6306 0.9562 0.3030 |
11 | blk.11.ffn_down.weight | 0.0001 0.0196 -1.2636 26.4657 96.57% | 40.8976 1.16 | 1.7305 -0.0401 -0.0000 |
Measurements behind AtomicChat/MiniCPM-OCR-1.0-GGUF, by
AtomicChat. Model: openbmb/MiniCPM-OCR-1.0 @ 6796197b,
llama.cpp b11953 (a7af149).
| Path | What |
|---|---|
ocr/score.json, ocr/score.txt |
every file read on 40 OmniDocBench pages: agreement with the BF16 original and character error against the annotation, per page |
ocr/pages.json |
the 40 pages (OmniDocBench image names, source, language; seed 0, 4 per source) |
ocr/server_check.txt |
where llama-server puts the text (content or reasoning_content) with the original template, OpenBMB's and ours |
ocr/dspark-summary.json |
generation speed with and without OpenBMB's DSpark draft, 12 pages |
ocr/minicpm_ocr_template.jinja |
the chat template embedded in our files |
results.json, results/ |
text KLD and top-1 of all 16 sizes against BF16 (87 x 4096 tokens, 30 languages) |
compare/kld/ |
the same KLD for OpenBMB's and prithivMLmods' files |
ladder/ |
per-tensor types of every size |
imatrix/ |
the importance matrix (9668 chunks of 512 tokens) |
logs/ |
convert, quantize, KLD and imatrix logs |
The BF16 GGUF and the BF16 reference logits were pipeline staging and are not kept (REMOVED.md). The pages' text
(OmniDocBench's annotation and the files' transcriptions) is not republished: OmniDocBench is for research use only.
ocr_eval.py pick in our pipeline rebuilds the page set from the dataset.