Datasets:
Formats:
parquet
Languages:
English
Size:
100K - 1M
Tags:
cosmopedia-v2
cerebro-spheroid
teacher-digestion
qwen2.5
dynamic-loss-weighting
information-density
License:
id stringlengths 20 20 | prompt stringlengths 317 3.39k | audience stringclasses 10
values | format stringclasses 15
values | tokens listlengths 13 1.02k | target_weights listlengths 13 1.02k | seq_len int32 13 1.02k | mean_weight float32 1 1 | max_weight float32 1.66 3.48 | min_weight float32 0.15 0.56 |
|---|---|---|---|---|---|---|---|---|---|
cosmo2_00000_0000000 | Here is an extract from a webpage:
"Ruangguru Free Online Schools to Support Students and Teachers
Ruangguru re-opened Ruangguru Online School for free through its application. This is a form and effort of Ruangguru in responding to the high need for distance learning facilities (PJJ) during the Covid-19 pandemic.
Prev... | college_students | textbook | [
29871,
512,
9826,
29915,
29879,
3926,
29899,
29872,
1555,
1747,
3186,
29892,
15483,
756,
4953,
385,
10160,
760,
310,
1749,
12080,
29892,
528,
21430,
278,
982,
591,
5110,
29892,
664,
29892,
322,
23120,
29889,
450,
19937,
29899,
29896,
29929,... | [
0.943359375,
0.943359375,
2.51953125,
0.20166015625,
0.20166015625,
2.51953125,
0.20166015625,
0.20166015625,
0.20166015625,
0.20166015625,
0.39453125,
0.20166015625,
1.4306640625,
0.476806640625,
0.340087890625,
0.232177734375,
0.20166015625,
0.20166015625,
0.20166015625,
0.32... | 865 | 1 | 2.519996 | 0.201601 |
cosmo2_00000_0000001 | Here is an extract from a webpage: "Which induction is ceramic or glass?
Ceramic or glass induction cooktops are both an efficient and modern way to cook. Ceramic cooktops are made of a smooth glass-ceramic material on top of an induction heating element. They offer a modern, sleek look, and require special pans with a... | college_students | textbook | [
29871,
27576,
29901,
13,
797,
9826,
29915,
29879,
3186,
29892,
7984,
292,
756,
15220,
1490,
8724,
13807,
3519,
1316,
408,
10489,
470,
12646,
380,
586,
300,
3554,
29889,
1894,
29884,
428,
7984,
292,
773,
5147,
314,
293,
470,
12917,
28001,
... | [
0.96435546875,
0.96435546875,
2.45703125,
2.45703125,
0.66064453125,
2.3515625,
0.1993408203125,
0.1993408203125,
0.270263671875,
0.1993408203125,
2.490234375,
2.490234375,
0.73681640625,
2.072265625,
2.072265625,
0.89599609375,
1.943359375,
0.1993408203125,
1.8759765625,
0.199... | 852 | 1 | 2.491075 | 0.199339 |
cosmo2_00000_0000002 | Here is an extract from a webpage:
"GPO Cannabis Oil: How to buy FDA Approved THC:CBD Extract in Thailand
Table of Contents
Well before cannabis was fully legalised in Thailand, the government was already laying the foundation for medical marijuana in the country. The Government Pharmaceutical Organisation (GPO) spent ... | middle_school_students | textbook | [
29871,
23040,
29901,
17278,
292,
5020,
422,
3921,
29901,
12677,
10323,
27580,
29899,
2568,
29884,
1133,
405,
1071,
29874,
6376,
2575,
25453,
29879,
13,
13,
25898,
29901,
13,
25559,
366,
3926,
7091,
2289,
712,
8995,
470,
17319,
304,
596,
3... | [
1.01953125,
1.01953125,
2.685546875,
2.693359375,
2.693359375,
2.41796875,
2.685546875,
2.685546875,
1.7705078125,
2.685546875,
2.69921875,
2.689453125,
2.68359375,
0.68896484375,
0.21630859375,
0.21630859375,
2.44921875,
0.21630859375,
0.21630859375,
1.9794921875,
1.97949218... | 1,024 | 1 | 2.702635 | 0.216272 |
cosmo2_00000_0000003 | Here is an extract from a webpage:
"It was hard not to get choked up reading about the legacy that Golden Girls actress, Bea Arthur, left to homeless youth in NYC. In fact, it was her generous end-of-life gift that allowed for the Ali Forney Center, a transitional housing program, to even keep its doors open when they ... | college_students | textbook | [
29871,
23040,
29871,
29955,
29901,
405,
3723,
1218,
1394,
16711,
482,
4634,
448,
319,
5701,
1725,
379,
3496,
470,
263,
14121,
310,
853,
14082,
1017,
29973,
13,
13,
29902,
29889,
27576,
13,
13,
1576,
6964,
310,
470,
16711,
1179,
756,
106... | [
0.93310546875,
0.93310546875,
0.60009765625,
1.2275390625,
0.1983642578125,
2.43359375,
0.62841796875,
0.1983642578125,
2.4765625,
1.9365234375,
2.02734375,
1.990234375,
2.08984375,
0.4580078125,
2.44140625,
2.44140625,
1.111328125,
1.111328125,
2.212890625,
0.1983642578125,
... | 1,024 | 1 | 2.479352 | 0.198365 |
cosmo2_00000_0000004 | Here is an extract from a webpage: "Home Β» Insurance Solutions
Get in Touch
Safeguard the future of your business with business insurance solutions.
Insurance by Industry
We offer insurance by industry tailored to help safeguard your business.
Protect what is most important to you with personal insurance solutions.
Let... | children | story | [
29871,
9038,
2501,
263,
931,
29892,
727,
471,
263,
19780,
946,
3819,
2000,
10415,
566,
2353,
512,
7610,
749,
29353,
29892,
9266,
29889,
2688,
9213,
2305,
297,
278,
9560,
760,
310,
278,
3303,
3900,
2998,
408,
1570,
5408,
29892,
607,
7805... | [
0.986328125,
0.986328125,
2.615234375,
0.211181640625,
0.211181640625,
0.211181640625,
0.211181640625,
0.211181640625,
0.211181640625,
2.361328125,
2.640625,
2.640625,
0.293212890625,
2.521484375,
2.626953125,
2.25390625,
2.615234375,
2.615234375,
2.615234375,
1.49609375,
1.4... | 757 | 1 | 2.639713 | 0.211185 |
cosmo2_00000_0000005 | Here is an extract from a webpage:
"As early as the 1960s, influential critics argued that American Jewish writing no longer counted as a distinct or viable literary project, for younger Jews had grown so assimilated, so remote from traditional Jewish life, that only nostalgia kept it going. Ted Solotaroff wrote some e... | middle_school_students | textbook_unconditionned_topic | [
29871,
6325,
344,
13223,
29901,
7634,
11235,
16728,
16849,
414,
322,
11275,
14305,
627,
13,
13,
25898,
29901,
13,
25559,
366,
3926,
1303,
263,
3143,
491,
263,
13834,
4148,
322,
4997,
287,
825,
3732,
1009,
15874,
5412,
29973,
5674,
29892,
... | [
0.94384765625,
0.94384765625,
0.94384765625,
2.51953125,
0.2025146484375,
1.9462890625,
1.9462890625,
2.53125,
2.53125,
2.53125,
0.2349853515625,
0.2281494140625,
1.6103515625,
1.6103515625,
1.974609375,
1.974609375,
0.413330078125,
0.2078857421875,
0.2078857421875,
2.521484375... | 781 | 1 | 2.531815 | 0.202564 |
cosmo2_00000_0000006 | Write a real-life story shared by someone in a reddit forum. The story should be somehow related to this text snippet:
βCan you provide any interesting behind-the-scenes anecdotes about Prince Charles' most famous acting roles?
I don't have access to personal experiences and interactions. however, prince charles has n... | general | story_reddit | [
29871,
319,
7303,
310,
2440,
8020,
29892,
306,
471,
1985,
408,
385,
4805,
373,
278,
731,
310,
263,
4482,
29899,
15841,
657,
4908,
2706,
29889,
739,
471,
697,
310,
1906,
1472,
27904,
3841,
988,
3078,
1568,
5930,
448,
13407,
2820,
363,
... | [
0.94091796875,
0.94091796875,
2.412109375,
0.193359375,
0.278564453125,
0.193359375,
0.193359375,
0.193359375,
0.193359375,
1.521484375,
0.52783203125,
0.92138671875,
2.322265625,
0.95849609375,
0.6728515625,
2.130859375,
0.193359375,
0.193359375,
2.2109375,
0.193359375,
0.19... | 767 | 1 | 2.417205 | 0.1934 |
cosmo2_00000_0000007 | Here is an extract from a webpage:
"Have you ever had a dream where you found yourself at a barbecue, sizzling up your favorite cuts of meat and surrounded by friends and family? Perhaps you woke up from this dream feeling a mix of confusion and intrigue, questioning what it could possibly mean. Dreams about barbecues ... | middle_school_students | textbook | [
29871,
6325,
344,
13223,
29901,
14662,
322,
19184,
350,
13788,
2645,
8292,
328,
273,
13,
13,
28862,
2763,
304,
1749,
21028,
262,
1218,
16342,
1549,
697,
310,
278,
1556,
14954,
3276,
3534,
2187,
297,
16427,
293,
9257,
448,
8292,
328,
273... | [
0.94140625,
0.94140625,
0.94140625,
2.314453125,
0.188232421875,
2.333984375,
1.7509765625,
0.390625,
2.302734375,
2.302734375,
2.20703125,
2.240234375,
2.240234375,
2.240234375,
0.21142578125,
0.21142578125,
2.259765625,
2.259765625,
0.188232421875,
0.80615234375,
2.2578125,... | 820 | 1 | 2.351778 | 0.188237 |
cosmo2_00000_0000008 | Here is an extract from a webpage:
"You may sometimes wonder why a single scene from a movie stays with you long after the credits roll, yet in other cases,
419 76 15MB
English Pages 203 Year 2018-08
No film critic has ever been as influentialβor as belovedβ as Roger Ebert. Over more than four decades, he built a reput... | middle_school_students | textbook_unconditionned_topic | [
29871,
6325,
344,
13223,
29901,
7634,
11235,
322,
1174,
2212,
5414,
21470,
13,
13,
28862,
2763,
304,
1749,
3236,
5190,
599,
1048,
12298,
29991,
6975,
366,
3926,
20654,
263,
14064,
393,
1754,
366,
10569,
29892,
10901,
29892,
470,
4459,
885... | [
0.94921875,
0.94921875,
0.94921875,
2.529296875,
0.2027587890625,
2.013671875,
2.013671875,
1.1884765625,
2.533203125,
2.533203125,
0.78515625,
2.52734375,
2.150390625,
2.150390625,
2.45703125,
2.45703125,
0.2027587890625,
1.5029296875,
2.3515625,
0.403076171875,
2.48046875,
... | 759 | 1 | 2.532988 | 0.20271 |
cosmo2_00000_0000009 | Here is an extract from a webpage: "Are you looking for vegan sandwich recipes? Weβve rounded up 21 of our favorite vegan sandwich ideas that you will want to make right now.
No matter what eating plan or food preferences we have, at some point we all find ourselves craving a good sandwich.
Of course, everyoneβs defini... | college_students | textbook | [
29871,
27576,
29901,
450,
3012,
310,
315,
4154,
292,
17236,
273,
8564,
16416,
5556,
5861,
13,
13,
29903,
392,
16416,
267,
6919,
29891,
263,
5412,
2913,
297,
13949,
3821,
9257,
448,
896,
526,
1224,
24285,
29892,
19192,
29892,
322,
508,
2... | [
1.0185546875,
1.0185546875,
2.376953125,
1.1923828125,
2.38671875,
0.207275390625,
2.388671875,
2.388671875,
2.388671875,
2.578125,
2.578125,
2.55859375,
2.55859375,
2.51953125,
0.207275390625,
0.207275390625,
0.207275390625,
2.390625,
2.390625,
0.207275390625,
0.207275390625... | 1,024 | 1 | 2.589639 | 0.207233 |
cosmo2_00000_0000010 | Here is an extract from a webpage:
"|First appearance||Journey into Mystery #119 (August 1965)|
|Created by||Stan Lee|
|Team affiliations||Warriors Three|
|Notable aliases||Fandral the Dashing|
Excellent battlefield warrior
Superhuman strength, speed, agility, stamina, and durability
Fandral the Dashing is a fictional ... | middle_school_students | textbook_unconditionned_topic | [
29871,
21829,
304,
385,
5566,
11407,
16342,
1549,
278,
3186,
310,
419,
293,
3143,
13444,
267,
29991,
20628,
29892,
591,
29915,
276,
2675,
304,
5110,
1048,
263,
13568,
6288,
2931,
4257,
383,
392,
1705,
278,
360,
1161,
292,
29889,
887,
17... | [
0.93994140625,
0.93994140625,
0.9130859375,
2.31640625,
0.37890625,
0.37890625,
1.955078125,
0.19677734375,
0.19677734375,
0.287109375,
0.19677734375,
2.455078125,
2.455078125,
0.440185546875,
1.751953125,
1.751953125,
0.19677734375,
1.2548828125,
0.19677734375,
0.19677734375,
... | 810 | 1 | 2.459405 | 0.196768 |
End of preview. Expand in Data Studio
Cosmopedia v2 Teacher-Digested Pretraining Corpus
This dataset is a teacher-digested transformation of HuggingFaceTB/smollm-corpus (Cosmopedia v2 split, 39.13M documents, ~30 Billion tokens). Each document is digested by Qwen2.5 Teacher LM to compute dynamic per-token information-density loss weights, losslessly projected onto CerebroSpheroid's 32,000 vocabulary.
Dataset Schema
Each row contains:
id(string): Unique sample identifier (cosmo2_{shard:05d}_{row:07d}).prompt(string): Original stimulus/topic prompt that generated the document.audience(string): Target pedagogical audience (e.g.college_students,general).format(string): Pedagogical format (e.g.textbook,webpage,educational_article).tokens(list): CerebroSpheroid SentencePiece token IDs (vocab size 32,000).target_weights(list): Dynamic next-token loss weights $w_t \in [0.2, 4.0]$ ($E[w_t] = 1.0$).seq_len(int32): Number of tokens in the sequence.mean_weight(float32): Sequence average loss weight.max_weight(float32): Peak information-density weight in the document.min_weight(float32): Minimum floor weight in the document.
Information-Density Mathematical Formulation
For each sequence with teacher causal language model $Q$:
Normalized so that $\frac{1}{T}\sum_{t=1}^T w_t = 1.0$.
Streaming Usage with PyTorch & CerebroSpheroid
from datasets import load_dataset
# Stream directly with zero Qwen runtime overhead:
dataset = load_dataset(
"AjitKumar-Bio/cosmopedia-v2-digested",
split="train",
streaming=True
)
for sample in dataset:
tokens = sample["tokens"]
weights = sample["target_weights"]
# Feed directly into CerebroSpheroid pretraining loss
- Downloads last month
- 182