ids listlengths 6 217k | source stringclasses 9
values | licence stringclasses 4
values |
|---|---|---|
[
2,
1199,
1897,
3490,
18314,
500,
12775,
11,
778,
565,
3572,
64913,
584,
683,
2841,
1045,
425,
26872,
3952,
1444,
12775,
64910,
1009,
457,
390,
10228,
9610,
422,
400,
1797,
423,
2063,
6566,
426,
4189,
7664,
64910,
3102,
400,
1145,
423,
... | cosmopedia-v2 | odc-by |
[
2,
687,
565,
2491,
3572,
64913,
584,
683,
43103,
974,
400,
18308,
1610,
423,
54299,
64913,
723,
552,
1614,
64921,
20020,
418,
3959,
50693,
493,
6492,
425,
400,
918,
25594,
26170,
396,
7397,
64910,
2594,
27534,
18934,
552,
20114,
422,
29... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64920,
64936,
10311,
21679,
402,
44158,
642,
456,
10209,
19593,
422,
6052,
10764,
11,
64926,
64910,
15786,
11,
778,
400,
9377,
56239,
423,
28154,
3345,
64913,
2674,
45434,
703,
15500,
1495,
743,
3940,
425,
22509,
52... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64919,
64936,
47689,
27212,
426,
37822,
9682,
11,
64926,
64910,
15786,
11,
38098,
15556,
5415,
426,
24867,
3128,
457,
10228,
425,
30477,
416,
400,
11739,
423,
3704,
15620,
64910,
1009,
5740,
683,
43103,
974,
2940,
7... | cosmopedia-v2 | odc-by |
[
2,
687,
400,
4208,
30532,
426,
3004,
31594,
16688,
64913,
8556,
60386,
976,
14912,
456,
64910,
26172,
405,
57080,
3006,
1964,
400,
39123,
12491,
3955,
2834,
1495,
422,
3020,
7621,
64913,
5081,
1971,
48871,
25105,
2659,
511,
857,
2446,
686... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
5535,
64921,
778,
8478,
22586,
426,
7318,
18356,
474,
25428,
9252,
11,
64926,
64910,
15786,
11,
706,
7703,
423,
11689,
4014,
457,
10627,
22726,
64913,
15034,
577,
2940,
4701,
2040,
4231,
49674,
64913,
4447,
16545,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64966,
64936,
15115,
449,
850,
2663,
426,
15648,
23945,
4194,
422,
400,
27324,
39878,
11,
64926,
64910,
15786,
11,
778,
400,
20002,
3144,
3400,
23925,
423,
400,
8034,
7323,
64913,
12385,
577,
9377,
21569,
401,
423,
5943,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64936,
15786,
425,
47001,
426,
400,
19308,
423,
390,
19587,
57031,
11,
64919,
64910,
64919,
24429,
47001,
10,
44466,
18188,
457,
390,
7572,
423,
9681,
493,
11412,
500,
400,
11538,
426,
3493,
423,
15401,
10206,
400,
... | cosmopedia-v2 | odc-by |
[
2,
778,
565,
3572,
64913,
584,
683,
8561,
390,
12775,
2796,
30358,
493,
19128,
400,
999,
423,
12819,
426,
1079,
7020,
425,
6919,
390,
1490,
64921,
9289,
2176,
64910,
562,
2176,
10235,
390,
39457,
6462,
2095,
500,
4094,
2391,
10137,
6491... | cosmopedia-v2 | odc-by |
[
2,
12450,
64936,
24429,
23200,
54932,
531,
13578,
462,
16974,
64954,
64917,
8232,
422,
11677,
33801,
9682,
11,
8895,
64892,
64919,
64936,
15786,
425,
18729,
64954,
8232,
11,
13596,
51343,
2268,
462,
16974,
64954,
64917,
3427,
7130,
390,
298... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
30758,
426,
27564,
64936,
44774,
21358,
27823,
4491,
604,
870,
1143,
400,
35331,
423,
30732,
64938,
64900,
15904,
49263,
11,
64926,
64910,
15786,
11,
1856,
17893,
7550,
425,
22829,
64913,
721,
664,
879,
6582,
426,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
49096,
10188,
422,
8789,
426,
56026,
12620,
64900,
11,
64926,
64910,
15786,
11,
11207,
6888,
3023,
8171,
390,
10228,
3173,
422,
1524,
4446,
426,
38585,
26091,
64910,
886,
10235,
21728,
11437,
15880,
577,
5520,
2313,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
21738,
41488,
474,
8803,
64913,
56456,
12641,
64913,
426,
28530,
7243,
422,
400,
2995,
3429,
64936,
4000,
33435,
19192,
64938,
64900,
516,
49191,
423,
1511,
568,
398,
2203,
64924,
425,
26701,
37701,
11,
64926,
64910,... | cosmopedia-v2 | odc-by |
[
2,
687,
400,
18530,
423,
4231,
18933,
64913,
390,
18308,
997,
31007,
32469,
910,
26803,
426,
16723,
40074,
580,
64910,
1009,
7828,
910,
19325,
64913,
7473,
64913,
546,
1060,
7439,
2710,
62429,
422,
19280,
64913,
426,
56656,
64913,
60817,
... | cosmopedia-v2 | odc-by |
[
2,
17518,
14747,
457,
390,
5331,
4840,
423,
4228,
25326,
493,
11412,
500,
400,
5168,
8372,
577,
28238,
3831,
910,
777,
11294,
422,
3337,
64921,
9118,
12115,
64910,
562,
2878,
703,
11952,
2986,
6228,
2313,
425,
913,
2830,
3358,
474,
390,... | cosmopedia-v2 | odc-by |
[
2,
10484,
23492,
23881,
462,
6883,
64939,
64917,
8171,
390,
33625,
3173,
422,
3704,
1079,
9202,
3128,
64913,
5081,
1971,
400,
1797,
423,
1741,
20052,
64910,
1009,
3427,
703,
7459,
13693,
40161,
880,
400,
2542,
1530,
9687,
64913,
10468,
57... | cosmopedia-v2 | odc-by |
[
2,
49946,
64921,
16190,
426,
3393,
62601,
45263,
64936,
24429,
400,
18356,
423,
10022,
30121,
429,
474,
56100,
64900,
64938,
24735,
4470,
11,
778,
3899,
1292,
64913,
852,
703,
868,
5315,
3729,
861,
400,
3358,
423,
22038,
2133,
3523,
474,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
44774,
37182,
3020,
21815,
1143,
400,
35331,
423,
400,
8702,
64894,
573,
20689,
5002,
11,
64926,
64910,
15786,
11,
5848,
648,
2026,
3020,
8392,
457,
390,
18510,
426,
9551,
1797,
493,
15267,
400,
7541,
423,
53700,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
28193,
39354,
422,
4855,
64936,
562,
11188,
423,
11180,
10954,
64972,
64900,
30351,
591,
5677,
40766,
425,
6612,
27893,
11,
15564,
64936,
10,
706,
2441,
423,
19834,
7680,
422,
2679,
457,
390,
3283,
3431,
493,
43849... | cosmopedia-v2 | odc-by |
[
2,
11380,
64892,
64955,
64936,
4329,
35486,
56082,
1143,
26701,
15018,
2061,
2530,
426,
38800,
34407,
422,
37020,
32623,
11,
15564,
64936,
10,
36588,
2061,
2530,
426,
27077,
21480,
552,
2628,
4150,
500,
5272,
35356,
493,
3993,
30781,
64600,... | cosmopedia-v2 | odc-by |
[
2,
30963,
3284,
426,
9014,
2545,
552,
5331,
4946,
423,
4042,
7673,
3284,
64913,
5081,
422,
11689,
6108,
1103,
511,
21428,
2010,
27622,
426,
14612,
64910,
2594,
4870,
2710,
3509,
1794,
910,
10398,
500,
14643,
12260,
976,
1465,
15575,
500,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
562,
6640,
426,
5757,
423,
17928,
40487,
38618,
642,
44774,
400,
51468,
42564,
11,
15564,
64936,
10,
778,
1608,
425,
2529,
400,
12347,
426,
5957,
423,
17928,
40487,
17853,
4398,
3345,
426,
422,
11773,
5730,
64913,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
3009,
64936,
562,
41133,
426,
22660,
423,
18194,
63297,
11,
34173,
36613,
457,
9269,
425,
626,
25953,
880,
64892,
64948,
64920,
64920,
64920,
1292,
3742,
422,
22857,
1111,
23787,
17775,
826,
8867,
493,
2828,
914,
425,
1770,
64892... | cosmopedia-v2 | odc-by |
[
2,
687,
2581,
64938,
64900,
11468,
9551,
5730,
64913,
518,
457,
10228,
493,
584,
2529,
400,
39420,
9674,
8985,
12372,
17539,
1971,
400,
18530,
423,
4877,
426,
8440,
7440,
64910,
1009,
5740,
683,
43103,
974,
565,
5331,
3431,
577,
15341,
... | cosmopedia-v2 | odc-by |
[
2,
1199,
8675,
64892,
64919,
64936,
23043,
1270,
422,
12775,
11,
778,
565,
5740,
64913,
584,
683,
8561,
30405,
422,
12775,
1444,
400,
1823,
45889,
64994,
7220,
64910,
1009,
7220,
3852,
390,
2208,
423,
30405,
4158,
64913,
723,
584,
630,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64959,
64936,
56050,
7074,
12981,
426,
12207,
61165,
422,
5814,
9252,
11,
778,
400,
18530,
423,
2311,
5255,
64913,
5081,
1971,
400,
3605,
423,
8632,
8972,
64913,
400,
13815,
423,
58619,
10809,
511,
390,
47182,
12132,
4562,... | cosmopedia-v2 | odc-by |
[
2,
58377,
2910,
24762,
64936,
24429,
33531,
60300,
422,
61375,
1092,
46814,
426,
27989,
3417,
13554,
422,
40322,
425,
41047,
57156,
38105,
11,
778,
4446,
3989,
1577,
64913,
866,
31084,
11138,
12404,
425,
32664,
9562,
2264,
474,
786,
7236,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64920,
64936,
14682,
47951,
20909,
29172,
1055,
11,
64926,
64910,
15786,
11,
50011,
29172,
1055,
457,
390,
23007,
1971,
42057,
493,
14699,
474,
400,
11538,
64913,
15032,
64913,
426,
13941,
423,
13905,
426,
17312,
4360... | cosmopedia-v2 | odc-by |
[
2,
38950,
16017,
6385,
462,
5947,
64944,
64917,
457,
390,
5331,
4253,
423,
4446,
4042,
426,
3377,
493,
10235,
10550,
3855,
426,
4870,
12420,
5510,
3335,
61903,
546,
15700,
64910,
61979,
12426,
425,
4296,
493,
11689,
10641,
3956,
426,
1037... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
8789,
827,
36143,
2705,
441,
720,
21843,
827,
41047,
20063,
6807,
642,
17902,
25311,
41076,
11,
778,
2581,
64938,
64900,
11689,
7703,
64913,
12280,
9562,
1103,
511,
11545,
64913,
3054,
4743,
64913,
426,
27022,
3445,
... | cosmopedia-v2 | odc-by |
[
2,
15786,
64936,
11,
12027,
425,
565,
2491,
3572,
1111,
584,
683,
43103,
974,
400,
1374,
426,
5255,
423,
23938,
7728,
500,
28594,
17989,
64910,
1009,
3572,
457,
4352,
425,
2370,
504,
500,
507,
422,
64921,
11046,
5228,
423,
1045,
1371,
... | cosmopedia-v2 | odc-by |
[
2,
4865,
16568,
64898,
59164,
64936,
7318,
30703,
474,
22817,
64938,
64900,
51025,
426,
22753,
11,
778,
400,
18530,
423,
12962,
64913,
24499,
703,
2058,
3474,
390,
2986,
1673,
511,
390,
13094,
493,
26947,
400,
26593,
7797,
423,
2674,
2253... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64920,
64936,
9330,
32120,
18609,
33565,
1971,
390,
23922,
44414,
14862,
11,
778,
2581,
64938,
64900,
9936,
22726,
1657,
7703,
64913,
7473,
1626,
14815,
11468,
3283,
6932,
3757,
425,
786,
2674,
4355,
3284,
8542,
64910... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64953,
64936,
24429,
57176,
426,
63149,
1143,
21815,
426,
12296,
11,
64926,
64910,
15786,
11,
1856,
26558,
58227,
8379,
64913,
518,
457,
4227,
425,
11147,
493,
14024,
426,
11349,
552,
8894,
4946,
423,
879,
10989,
64938,
49... | cosmopedia-v2 | odc-by |
[
2,
15786,
64936,
10,
778,
2581,
64938,
64900,
9936,
18357,
5730,
64913,
400,
15758,
423,
14169,
1227,
64921,
4822,
1740,
2506,
550,
920,
1297,
422,
879,
4901,
703,
3947,
6790,
64910,
6898,
425,
400,
638,
64910,
64922,
64910,
4484,
423,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64953,
64936,
14941,
3473,
26469,
64936,
456,
27426,
423,
40522,
788,
426,
57610,
31709,
11,
64926,
64910,
15786,
11,
4058,
26469,
457,
390,
3430,
14199,
64913,
390,
29965,
425,
17893,
64938,
64900,
5976,
18959,
467,
3525,
... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
8789,
6807,
423,
37225,
14691,
642,
456,
15344,
51184,
974,
6281,
15706,
426,
64879,
25311,
11,
62227,
6159,
457,
390,
3283,
4743,
500,
2940,
4701,
30019,
913,
2424,
64913,
17959,
64913,
426,
2545,
425,
12612,
6491... | cosmopedia-v2 | odc-by |
[
2,
687,
4231,
5255,
64913,
1451,
420,
408,
1634,
12404,
425,
400,
8499,
423,
390,
4967,
1931,
974,
5585,
42997,
2313,
425,
29666,
7999,
64913,
49674,
64913,
546,
5986,
64910,
1009,
14199,
630,
3747,
1971,
883,
4231,
4961,
64913,
2040,
4... | cosmopedia-v2 | odc-by |
[
2,
687,
400,
9377,
46522,
423,
23666,
64913,
1948,
14455,
2304,
511,
1383,
12347,
426,
46218,
511,
400,
50230,
423,
400,
9676,
16725,
1120,
64910,
20916,
662,
474,
4799,
64892,
64963,
488,
64913,
565,
30981,
558,
23901,
400,
15628,
2225,
... | cosmopedia-v2 | odc-by |
[
2,
8675,
64892,
64919,
64936,
15786,
425,
41706,
38209,
426,
37097,
14250,
64900,
422,
45727,
30758,
11,
778,
565,
5740,
64913,
584,
43103,
974,
400,
42913,
18826,
10647,
493,
2370,
390,
7860,
467,
5228,
1045,
21482,
7541,
630,
471,
19550... | cosmopedia-v2 | odc-by |
[
2,
1199,
24429,
16777,
29191,
64936,
1240,
15786,
425,
12775,
426,
64049,
11,
778,
565,
3572,
64913,
584,
683,
8561,
400,
1610,
423,
8767,
14112,
1444,
12775,
426,
400,
64049,
7220,
64910,
16777,
14112,
10235,
1444,
13732,
425,
6919,
3342... | cosmopedia-v2 | odc-by |
[
2,
687,
2581,
64938,
64900,
4231,
7703,
64913,
400,
3435,
1307,
3294,
64913,
18750,
32111,
64913,
426,
4231,
5208,
703,
2710,
11468,
3283,
426,
46728,
64910,
1916,
2529,
565,
8187,
64913,
1304,
663,
43103,
13638,
974,
1061,
10647,
426,
85... | cosmopedia-v2 | odc-by |
[
2,
16519,
11380,
64936,
32937,
11373,
422,
30758,
64936,
5883,
2124,
17154,
893,
23745,
11,
778,
565,
2491,
3572,
64913,
584,
43103,
974,
400,
18308,
1610,
423,
32937,
11373,
511,
8141,
422,
17232,
64913,
8273,
1971,
400,
997,
31007,
423,... | cosmopedia-v2 | odc-by |
SHADOW 50M VISION: proof run
A 50M-class ternary (1.58-bit) model that reads pictures, clips and sounds as words in one frozen 512-bit table shared with language, keeps its knowledge in editable on-disk Engram tables, and runs on a laptop CPU. This repository is the proof run in one place: the complete training data as streamable token ids, the table that gives the ids their meaning, the scripts, and (after training) the checkpoint and results. Nothing else has to be downloaded to reproduce it.
Non-commercial research release.
Stream it
from datasets import load_dataset
ds = load_dataset("QLNI/shadow-50m-vision", "understanding", split="train", streaming=True)
doc = next(iter(ds)) # {"ids": [...], "source": "pixmo-cap", "licence": "odc-by"}
One row is one document: ids are rows of the frozen table (table/table.npz), mask
(SFT only) marks the tokens trained on (the model's turns), source and licence say where
it came from. One source alone: data_files="data/understanding/pixmo-cap/*.parquet".
The data: 2.182B tokens, 40 sources
| lane | tokens | sources |
|---|---|---|
| knowledge | 1,158M | cosmopedia-v2 college and high-school textbooks 349M, Ultra-FineWeb-L3 289M, Ultra-FineWeb 175M, OpenMathInstruct-2 138M (GSM8K-style 97M, MATH-style 42M), OpenCodeInstruct 81M, Wikipedia 59M, FineMath-4+ 35M, UltraData-Code 32M |
| understanding | 576M | FineVision 187M, OBELICS 163M (222k web pages, their pictures inline), PixMo-cap 136M (584k dense captions), AudioSkills-XL 20M, AudioSet 6M, WavCaps 4M, MSR-VTT 2M, LLaVA-Video 3M, Clotho 1M; generation pairs in both orders (caption [gen_image] words [end_gen] and the reverse): FLUX-Reason-6M 32M, OpenVid-1M 9M, AudioCaps 7M, WavCaps 4M, Clotho 2M, MSR-VTT 1M |
| SFT | 447M | Nemotron-Post-Training v1 93M, UltraData-SFT 71M, FineVision 67M, Toucan-1.5M 36M, smoltalk2 36M, LLaVA-OneVision 23M, OpenCodeInstruct 17M, PixMo-ask 17M, AudioSkills-XL 15M, Video-R1 15M, AF-Chat / AF-Think 15M, LLaVA-Video QA 13M, VoiceAssistant-400K 9M (spoken question in), ToolACE 8M, xlam 7M, generation instructions 7M |
sources.json has every source's tokens, documents, licence and removals; manifests/ names
the exact original files and rows.
How pictures, clips and sounds become ids. A picture is 16 words, a clip 27 words (16
frames spread over the clip) with time stamps, a sound 50 words per 10-second window with
time stamps. The words of every sample are already in the ids, so no media is needed to
train. The codebooks that name new pictures, clips and sounds are in table/.
Sequence shapes
text <bos> text <eos>
picture + text [image] 16 picture words [/image] caption
clip + text [video] [t0] w w w w w [t2] w ... [/video] caption
sound + text [audio] [t0] 10 words [t2] 10 words ... [/audio] labels / caption
generation caption [gen_image] picture words [end_gen] (and [gen_video], [gen_audio])
SFT <start_of_turn>user\n ... <end_of_turn>\n<start_of_turn>model\n ... <end_of_turn>
with [system] [think] [/think] [tools] [call] [/call] [result] [/result]
Decontamination. A document is removed when it contains at least half of the 13-grams of
any test item of GSM8K, MATH, MMLU, ARC, HellaSwag, HumanEval or MBPP: 786 removed, all
listed per source in sources.json. (Matching any single 13-gram, the common rule, removed
24-35% of maths and code for shared phrasing, not leaks.) The MSR-VTT 1k test clips are
never used.
The table (table/)
94,514 rows x 512 bits: 65,536 language rows (the rest of the tokenizer is spelled with them; +0.9% length), 16,384 picture, 8,192 sound, 4,096 clip words, 4 markers, 302 control rows, and a unigram bias sealed over all 2.18B tokens. Picture, sound and clip words sit in language space: for CIFAR-10 test pictures the class's own word ranks at median 27 of 65,536 language rows (random would be ~32,768), for ESC-50 sounds at median 6. 500 language rows and 200 picture rows are held out of the data for the add-a-new-token test. The table is released as a fixed binary: usable, not rebuildable.
The experiment (training in progress)
| body | ternary weights, int8 activations and an int4 KV cache inside training (straight-through), so the trained model and the CPU kernel compute the same thing |
| depth | 2 prelude blocks, a tied core of 6 blocks run 2 times then 4 times from 60% of training, 2 coda blocks, boundary operator between passes |
| readout | correlation with the frozen table plus the sealed bias; text positions score language rows, positions inside a picture / sound / clip score that band |
| knowledge | Engram: hashed n-gram tables, ternary, trainable, outside the loop |
| long context | index branch trained from step one (KL to the model's own attention), sparse top-16 x 128-token blocks from 4k |
Results, the checkpoint and the eval sheet are added here when the run finishes.
Scripts (scripts/)
pull.py (sources, with manifests), fetch_images.py, encode_words.py (pictures, clips,
sounds to words), build_ids.py (sequences, decontamination), train_proof.py (the body).
Licences and credit
Each row carries its source's licence. Credit to the authors of every dataset above;
CC-BY sources are attributed here and in sources.json. Some sources are non-commercial
(AudioCaps, NVIDIA's AudioSkills-XL / AF-Chat / AF-Think under the NVIDIA OneWay
Noncommercial License) and others state their own terms (MSR-VTT, Clotho, LLaVA-Video,
FineVision's subsets): this release is for non-commercial research only, and use of each
part is governed by its source's terms. A rights holder who wants material removed can
open a discussion on this repository and it will be taken down.
Not included by design: how the frozen table is built, and the E8 eyes and ear.
- Downloads last month
- 144