Datasets:
id stringlengths 14 40 | comp stringclasses 3
values | input_ids listlengths 35 4.1k | labels listlengths 35 4.1k | n_blocks int64 0 17 ⌀ |
|---|---|---|---|---|
smol-constraints:18683 | skill | [
11126,
42,
216,
7334,
2426,
868,
2127,
418,
2124,
216,
36,
8545,
30,
378,
2426,
1251,
2127,
3869,
216,
35,
16425,
2876,
30,
4076,
260,
1489,
4488,
16425,
2876,
715,
347,
42,
1672,
669,
314,
1225,
216,
33,
30,
26852,
18749,
933,
4880... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
hermes_function_calling_v1_no_think:385 | tool | [
11126,
42,
216,
57,
744,
4054,
614,
253,
725,
2648,
327,
653,
3877,
3279,
527,
314,
3393,
288,
3796,
35814,
1825,
282,
3877,
5442,
28,
284,
392,
737,
288,
4249,
1546,
5109,
282,
940,
19942,
30,
339,
736,
702,
288,
3116,
260,
4599,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-constraints:6022 | skill | [
11126,
42,
216,
7334,
2426,
868,
2127,
418,
2124,
216,
35,
8545,
30,
2789,
2426,
1251,
457,
216,
34,
6924,
30,
5068,
260,
3616,
282,
971,
3246,
351,
9961,
2273,
28,
715,
347,
42,
9961,
216,
33,
30,
2789,
2988,
1251,
2127,
253,
503... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-magpie-ultra:126403 | search_trace | [
11126,
42,
2904,
335,
29359,
2908,
6773,
338,
260,
12472,
5894,
284,
29359,
5894,
2406,
1928,
19812,
11455,
281,
2908,
28,
327,
1183,
28,
4976,
9805,
564,
2390,
2455,
787,
738,
29359,
13175,
715,
347,
1680,
23101,
30,
1812,
359,
634,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | 1 |
xlam_traces_no_think:10744 | tool | [
11126,
42,
216,
6197,
260,
1777,
6188,
2909,
327,
260,
6806,
2014,
216,
34,
32,
40,
30,
38,
39,
30,
34,
34,
34,
30,
34,
34,
34,
30,
198,
198,
9519,
9531,
42,
216,
44,
19324,
79,
4350,
46,
198,
39428,
1245,
1799,
476,
726,
79,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
44,
19324,
79,
4350,
46,
198,
39... | null |
smol-magpie-ultra:90679 | search_trace | [
11126,
42,
1812,
314,
253,
582,
4315,
252,
29,
2129,
47,
1812,
314,
357,
804,
327,
284,
732,
1096,
314,
2350,
288,
1477,
260,
13310,
47,
198,
198,
9519,
9531,
42,
330,
582,
29,
10029,
252,
29,
2129,
314,
253,
9598,
1028,
804,
288,... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
330,
582,
29,
10029,
252,
29,
2129,
314,
253,
9598... | 5 |
smol-constraints:28086 | skill | [
11126,
42,
216,
7334,
2988,
1251,
2127,
3869,
216,
35,
16425,
2876,
30,
4076,
260,
1489,
4488,
16425,
2876,
715,
347,
42,
1672,
669,
314,
1225,
216,
33,
30,
4454,
28,
469,
2426,
1251,
457,
216,
34,
18092,
30,
40643,
99,
359,
9075,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-constraints:30550 | skill | [
11126,
42,
216,
1780,
359,
260,
2624,
282,
1015,
253,
11012,
61,
817,
327,
4554,
47,
2789,
2426,
868,
2127,
418,
2124,
216,
35,
16425,
2876,
30,
4076,
260,
1489,
4488,
16425,
2876,
715,
347,
42,
1672,
669,
314,
1225,
216,
33,
30,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-summarize:65254 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
60,
47522,
28,
198,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
openhermes-100k:84266 | search_trace | [
11126,
42,
4164,
260,
6596,
2441,
284,
1576,
288,
1928,
3841,
335,
304,
30,
501,
30,
708,
332,
637,
99,
42,
333,
731,
1789,
289,
731,
7703,
3936,
289,
731,
3687,
1462,
5013,
731,
18110,
289,
731,
3687,
3688,
289,
731,
1462,
289,
7... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | 0 |
openhermes-100k:92542 | search_trace | [
18403,
42,
1206,
359,
354,
5646,
11173,
30,
1206,
523,
325,
1836,
253,
3856,
30,
1206,
1251,
5051,
253,
5861,
284,
986,
2988,
30,
198,
198,
11126,
42,
19842,
451,
1962,
42,
198,
198,
11634,
3763,
260,
1554,
506,
42746,
1440,
3403,
2... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | 6 |
xlam_traces_no_think:57282 | tool | [
11126,
42,
216,
23855,
346,
1538,
253,
725,
2688,
8838,
259,
19617,
338,
23617,
3962,
429,
260,
6806,
216,
34,
32,
35,
30,
32,
30,
33,
33,
35,
30,
32,
284,
314,
3807,
281,
260,
2038,
47,
198,
198,
9519,
9531,
42,
216,
44,
19324,... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
xlam_traces_no_think:39360 | tool | [
11126,
42,
216,
1780,
314,
260,
3049,
282,
260,
2966,
216,
33,
30,
37,
28,
216,
34,
30,
37,
28,
284,
216,
35,
30,
37,
47,
198,
198,
9519,
9531,
42,
216,
44,
19324,
79,
4350,
46,
198,
39428,
1245,
1799,
476,
18938,
1002,
476,
2... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
44,
19324,
79,
4350,
46,
198,
39428,
1245,
1... | null |
smol-rewrite:27594 | skill | [
18403,
42,
216,
2683,
2316,
354,
5646,
11173,
327,
1694,
298,
29,
12021,
30,
30721,
16064,
260,
3007,
1694,
288,
919,
357,
540,
3544,
284,
5764,
979,
20915,
624,
1895,
2627,
30,
198,
198,
11126,
42,
216,
57,
915,
761,
260,
16071,
28... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-summarize:27771 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
16242,
216,
34,
38,
2... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-constraints:24250 | skill | [
11126,
42,
216,
7334,
2426,
868,
2127,
418,
2124,
216,
35,
8545,
30,
378,
2426,
1251,
2127,
418,
2124,
216,
34,
1379,
6975,
6610,
411,
5222,
29949,
28,
715,
347,
933,
10248,
2880,
2789,
2988,
1251,
2127,
3869,
216,
35,
16425,
2876,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-constraints:18278 | skill | [
11126,
42,
216,
7334,
2426,
868,
2127,
418,
2124,
216,
35,
8545,
30,
378,
2426,
1251,
2127,
418,
2124,
216,
34,
1379,
6975,
6610,
411,
5222,
29949,
28,
715,
347,
933,
1245,
77,
284,
933,
2759,
2880,
2789,
2988,
1251,
2127,
3869,
216... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-magpie-ultra:369380 | search_trace | [
11126,
42,
339,
5248,
3946,
253,
216,
39,
29,
1222,
4018,
3398,
7022,
288,
260,
5846,
4051,
351,
957,
1564,
30,
378,
7022,
523,
325,
429,
25002,
28,
3214,
288,
4653,
10463,
28,
11234,
30,
1046,
457,
827,
1122,
28,
6399,
216,
40,
2... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | 10 |
smol-summarize:91551 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
342,
384,
2159,
314,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
hermes_function_calling_v1_no_think:3821 | tool | [
11126,
42,
216,
22234,
28,
416,
346,
2505,
549,
260,
1574,
6132,
4319,
282,
10910,
47,
198,
198,
9519,
9531,
42,
216,
44,
19324,
79,
4350,
46,
198,
34026,
1245,
1539,
637,
726,
79,
14621,
79,
17517,
923,
637,
24370,
1539,
7353,
2116... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
44,
19324,
79,
4350,
46,
198,
34026,
1245,
1539,
637,
726,
79,
14621,
79,
17517,
923,
637,
24370,
1539,
... | null |
smol-summarize:69067 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
43751,
28,
198,
198,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
hermes_function_calling_v1_no_think:5429 | tool | [
11126,
42,
216,
26843,
28,
339,
737,
288,
7728,
216,
37,
32,
32,
25188,
288,
15407,
99,
30,
1978,
346,
724,
549,
351,
338,
47,
198,
198,
9519,
9531,
42,
216,
44,
19324,
79,
4350,
46,
198,
34026,
1245,
1539,
637,
20068,
79,
33504,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
44,
19324,
79,
4350,
46,
198,
34026,
1245,
1539,
6... | null |
smol-constraints:15682 | skill | [
11126,
42,
216,
1780,
359,
260,
2624,
282,
1015,
253,
19148,
6433,
281,
253,
3498,
2412,
47,
2789,
2426,
868,
2127,
418,
2124,
216,
35,
16425,
2876,
30,
4076,
260,
1489,
4488,
16425,
2876,
715,
347,
42,
1672,
669,
314,
1225,
216,
33... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
openhermes-100k:11738 | search_trace | [
11126,
42,
533,
732,
1853,
536,
9928,
21452,
981,
6304,
2151,
260,
4352,
282,
2514,
24543,
2773,
281,
16095,
8844,
24943,
1297,
8529,
284,
17787,
28,
284,
638,
1124,
451,
1645,
21272,
1119,
86,
15105,
1421,
281,
260,
21851,
47,
198,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | 3 |
smol-constraints:31911 | skill | [
11126,
42,
216,
7334,
2988,
1251,
2127,
3869,
216,
35,
16425,
2876,
30,
4076,
260,
1489,
4488,
16425,
2876,
715,
347,
42,
1672,
669,
314,
1225,
216,
33,
30,
1903,
5398,
1672,
669,
314,
1225,
216,
34,
30,
1903,
5398,
1672,
669,
314,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-summarize:50512 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
26843,
15487,
28,
198,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
smol-magpie-ultra:157096 | search_trace | [
11126,
42,
1812,
314,
260,
1791,
282,
5269,
422,
1127,
260,
1248,
30,
198,
198,
9519,
9531,
42,
10954,
422,
4566,
253,
3202,
1791,
281,
260,
1248,
28,
4856,
2484,
288,
4719,
1837,
6542,
28,
4417,
1517,
28,
284,
3043,
864,
30,
657,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
10954,
422,
4566,
253,
3202,
1791,
281,
260,
1248,
28,
4856,
2484,
288,
4719,
1837,
6542,
28,
4417,
1517,
28,
284,
3043,
864,
... | 7 |
smol-summarize:34204 | skill | [
18403,
42,
216,
37264,
253,
19484,
28,
6987,
7127,
282,
260,
3007,
1694,
281,
614,
288,
1296,
8545,
28,
7281,
335,
1646,
3643,
284,
14724,
1355,
1015,
1796,
355,
3464,
1055,
27104,
30,
198,
198,
11126,
42,
216,
35097,
2503,
30,
14147,... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | null |
QueryLM search fine-tuning data
User-assistant conversations used for the search fine-tuning of the QueryLM models, the Wikipedia one and the DCLM-Edu ones alike (for example Kausp11/querylm-dclm-3.3b-sft-search and Kausp11/querylm-wiki-360m-sft-search). Part of the conversations contain search blocks in the assistant turns: a query followed by a retrieved passage, placed at the start of a sentence, so the assistant searches before it writes a claim.
Built with Llama. See Built with Llama below.
Contents
| Path | What | Size |
|---|---|---|
train.jsonl |
52,806 conversations, one per line, already tokenized: id (source subset and index), comp (component of the mixture), n_blocks (search blocks in it), input_ids, labels |
0.40 GB |
packed/ |
the same conversations packed into 8,601 sequences of 4,096 tokens (datasets.save_to_disk format; columns input_ids, attention_mask, labels). This is what the models were trained on |
0.46 GB |
Component (comp) |
Conversations | Source |
|---|---|---|
skill |
33,847 | SmolTalk: smol-constraints 13,421, smol-summarize 9,792, smol-rewrite 9,727, everyday-conversations 907 |
tool |
7,722 | SmolTalk2: Hermes function calling 3,844, xLAM 3,878 |
search_trace |
11,237 | SmolTalk: smol-magpie-ultra 5,452, openhermes-100k 3,855, systemchats-30k 1,930; annotated with search blocks |
38,436 search blocks in 9,713 conversations (the other 1,524 search_trace conversations kept no block and are ordinary chat). 35.2M tokens, 44% of which carry loss.
Format
Conversations are plain text with System:, User: and Assistant: prefixes and a blank line between turns. There are no chat-template tokens.
Format of a search block
…text<WEB_QUERY>query</WEB_QUERY> <WEB_RESPONSE>retrieved passage</WEB_RESPONSE> text continues…
| Token | id |
|---|---|
<WEB_QUERY> |
49152 |
</WEB_QUERY> |
49153 |
<WEB_RESPONSE> |
49154 |
</WEB_RESPONSE> |
49155 |
Tokenizer: SmolLM2 tokenizer plus these four tokens (vocabulary 49,156) (shipped in every QueryLM model repo). labels equals input_ids where the loss applies and is -100 elsewhere: the query and its two tags carry loss; the response tags and the passage do not.
The loss covers assistant text, queries and their tags, the end-of-sequence token, and the User: prefix that follows an assistant turn (it marks the end of the turn). User and system turns, passages and padding carry no loss.
One conversation, decoded:
System: You are a helpful assistant, who always provide explanation. Think like you are answering to a five year old.
User: Бримбанк
Which language is this?
Assistant: <WEB_QUERY>Russian alphabet called</WEB_QUERY> <WEB_RESPONSE>Among the general public, it is often called "the Russian alphabet," because Russian is the most popular and influential alphabet based on the script. The people in Russia are called Russians and the language they speak is called Russian. Russian has its own special alphabet and symbols that it uses for each letter. This special alphabet is called Cyrillic. Unlike the English alphabet which has 26 letters, the Russian alphabet has 33. The Russian language is the Cyrillic script - WikiVividly of origin (in contrast to the "Greek alphabet").</WEB_RESPONSE> This word, "Бримбанк," is written in the Russian alphabet, called Cyrillic. It's the name "Brimbank" transliterated from English into Cyrillic letters. Brimbank is a suburb in Melbourne, Australia. People from different countries sometimes write place names or words using their own alphabet – in this case, the Russian Cyrillic alphabet.<|endoftext|>
How to load
import json
from huggingface_hub import hf_hub_download, snapshot_download
from datasets import load_from_disk
repo = "Kausp11/querylm-search-sft-data"
with open(hf_hub_download(repo, "train.jsonl", repo_type="dataset")) as f:
first = json.loads(next(f))
print(first["id"], first["comp"], len(first["input_ids"]))
packed = load_from_disk(snapshot_download(repo, repo_type="dataset", allow_patterns="packed/*") + "/packed")
print(packed)
Output (run 2026-11-19 on the files in this repo, datasets 4.x, transformers 4.56.0):
smol-constraints:18683 skill 253
Dataset({
features: ['input_ids', 'attention_mask', 'labels'],
num_rows: 8601
})
How it was built
- General chat skills and tool calling: conversations from SmolTalk (smol-rewrite, smol-summarize, smol-constraints, everyday-conversations) and SmolTalk2 (Hermes function calling, xLAM), unchanged.
- Search conversations: conversations from the Magpie, OpenHermes and SystemChats subsets of SmolTalk for which a web search is plausibly useful (a few-shot classifier removes fiction, calculations, code and questions answerable from the prompt). Their assistant turns were annotated with search blocks by the same pipeline as the pretraining text: an annotator model (Gemma 4 E4B-it with a LoRA adapter) marks positions and writes queries; passages come from BM25 retrieval over the public Sphere web corpus, compressed to at most 800 characters; an insertion is kept only if the passage overlaps the text that follows it (ROUGE-1 filter).
- Each block is moved to the start of the sentence it was placed in, at most one block per sentence.
- Conversations are packed into 4,096-token sequences; longer ones are truncated.
Built with Llama
Llama 3.1 models were involved in this dataset in two ways:
- Selection. Llama 3.1 8B (base model), prompted with labelled examples, served as a yes/no classifier that decides which candidate conversations are kept for search annotation (it removes, for example, fiction, calculations, code and questions answerable from the prompt). Only its yes/no decision was used; none of its text is in this dataset.
- Inherited conversations. Two SmolTalk subsets in this dataset were generated by their authors with Llama 3.1 models: smol-magpie-ultra (5,452 conversations here; generated with Llama-3.1-405B-Instruct) and everyday-conversations (907 conversations here; generated with Llama-3.1-70B-Instruct).
Llama 3.1 is licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.
A copy of the licence is in LLAMA_3.1_COMMUNITY_LICENSE.txt in this repository; it is also at https://www.llama.com/llama3_1/license/, and the Acceptable Use Policy at https://www.llama.com/llama3_1/use-policy/. Use of this dataset must also comply with them.
License and attribution
Released under CC BY-NC 4.0.
- Conversations: SmolTalk and SmolTalk2 (smol-magpie-ultra and everyday-conversations were generated with Llama 3.1 models, see above). Their new subsets are Apache-2.0; the subsets they reuse from earlier public datasets (OpenHermes, SystemChats, Hermes function calling, xLAM among them) keep the licences of those datasets.
- Retrieved passages: from Sphere (released under CC BY-NC 4.0), which redistributes text from public web pages.
- Queries: generated by the annotator model.
Citation
Paper: Search From the Start: Search-Native Pretraining for Language Models · Project page: https://kaustubhp11.github.io/querylm/
@article{ponkshe2026searchfromthestart,
title = {Search From the Start: Search-Native Pretraining for Language Models},
author = {Ponkshe, Kaustubh and Je, Gyung Hyun and Taga, Stefan and Raffel, Colin and Jaggi, Martin},
journal = {arXiv preprint arXiv:2611.26809},
year = {2026}
}
- Downloads last month
- 55