Datasets:
id stringlengths 9 19 | kind stringclasses 8
values | source stringclasses 6
values | prompt stringlengths 98 139k | response stringlengths 127 69.5k | reasoning stringlengths 11 59.2k | answer stringlengths 0 35.7k | tool_calls stringlengths 2 1.86k | input_ids listlengths 63 42.2k | answer_start int32 15 42k | topk_ids listlengths 31 16.4k | topk_logprobs listlengths 31 16.4k | n_prompt_tokens int32 15 42k | n_answer_tokens int32 31 16.4k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
agent1-00078 | agent1 | synthetic | <|im_start|>system
# Tools
You have access to the following functions:
<tools>
{"type": "function", "function": {"name": "Read", "description": "Reads a file from the local filesystem. The file_path parameter must be an absolute path, not a relative path. Results are returned using cat -n format, with line numbers st... | Done. Only `classify` has local-gemma as its fallback.
</think>
Only `classify` has `local-gemma` as its fallback (config.yaml:54). Wrote `aliases.txt` with that single alias.<|im_end|> | Done. Only `classify` has local-gemma as its fallback. | Only `classify` has `local-gemma` as its fallback (config.yaml:54). Wrote `aliases.txt` with that single alias. | [] | [
248045,
8678,
198,
2,
13455,
271,
2523,
599,
2528,
310,
279,
2614,
5568,
25,
271,
27,
15449,
29,
198,
4754,
1267,
763,
328,
1628,
487,
328,
1628,
763,
5046,
591,
763,
328,
4274,
487,
328,
4532,
763,
328,
4274,
82,
264,
999,
494,
2... | 9,176 | [
[
16936,
40,
760,
7081,
12188,
22017,
9764,
3733,
14311,
1919,
13784,
24100,
623,
7,
9658,
3833,
90700,
3138,
6065,
1
],
[
13,
1892,
25,
11,
198,
471,
4237,
440,
1132,
30,
318,
2218,
... | [
[
-1.2666015625,
-1.8916015625,
-1.8916015625,
-2.015625,
-2.890625,
-3.515625,
-3.765625,
-4.140625,
-4.390625,
-4.515625,
-4.515625,
-4.640625,
-4.640625,
-4.890625,
-5.015625,
-5.140625,
-5.265625,
-5.515625,
-5.515625,
-5.890625
]... | 9,176 | 49 |
agent1-02358 | agent1 | synthetic | <|im_start|>system
# Tools
You have access to the following functions:
<tools>
{"type": "function", "function": {"name": "Read", "description": "Reads a file from the local filesystem. The file_path parameter must be an absolute path, not a relative path. Results are returned using cat -n format, with line numbers st... | Done. The fallbacks with local-gemma are review-long, search, and tools.
</think>
Done. The three aliases with `local-gemma` as their fallback — `review-long`, `search`, and `tools` — are written to `aliases.txt`, one per line.<|im_end|> | Done. The fallbacks with local-gemma are review-long, search, and tools. | Done. The three aliases with `local-gemma` as their fallback — `review-long`, `search`, and `tools` — are written to `aliases.txt`, one per line. | [] | [
248045,
8678,
198,
2,
13455,
271,
2523,
599,
2528,
310,
279,
2614,
5568,
25,
271,
27,
15449,
29,
198,
4754,
1267,
763,
328,
1628,
487,
328,
1628,
763,
5046,
591,
763,
328,
4274,
487,
328,
4532,
763,
328,
4274,
82,
264,
999,
494,
2... | 3,402 | [
[
16936,
40,
12188,
22017,
760,
9764,
1919,
14311,
6065,
7,
13784,
90700,
23596,
19041,
3840,
623,
24100,
6441,
7734,
10128
],
[
13,
1892,
25,
11,
198,
4237,
440,
318,
471,
303,
11069,
... | [
[
-1.1259765625,
-1.5009765625,
-2.251953125,
-2.501953125,
-2.626953125,
-3.751953125,
-4.25,
-4.5,
-4.75,
-4.75,
-4.75,
-4.875,
-4.875,
-4.875,
-5.375,
-5.625,
-5.75,
-6,
-6,
-6
],
[
-0.00577545166015625,
-6.37890625,
... | 3,402 | 60 |
chat-01133 | chat | OpenAssistant oasst2 | <|im_start|>user
Escribe en el lenguaje de programación Python un hola mundo!<|im_end|>
<|im_start|>assistant
<think>
| We need to respond to user in Spanish: "Escribe en el lenguaje de programación Python un hola mundo!" Means write in Python a hello world. Need final answer likely code. Ensure analysis in same language as user's request: Spanish. Done.
</think>
```python
print("Hola, mundo!")
```<|im_end|> | We need to respond to user in Spanish: "Escribe en el lenguaje de programación Python un hola mundo!" Means write in Python a hello world. Need final answer likely code. Ensure analysis in same language as user's request: Spanish. Done. | ```python
print("Hola, mundo!")
``` | [] | [
248045,
846,
198,
36,
6076,
644,
637,
194500,
401,
214126,
12654,
632,
304,
7674,
27429,
0,
248046,
198,
248045,
74455,
198,
248068,
198,
1596,
1144,
310,
5707,
310,
1156,
303,
14712,
25,
328,
36,
6076,
644,
637,
194500,
401,
214126,
12... | 23 | [
[
1596,
760,
6374,
90700,
1421,
8160,
45,
52,
8482,
241789,
22916,
31248,
3440,
40,
23982,
14433,
38511,
81266,
109849,
300
],
[
1144,
599,
628,
1902,
3749,
4221,
169962,
513,
2582,
1066,
... | [
[
-0.431640625,
-1.556640625,
-2.431640625,
-3.681640625,
-5.05859375,
-5.43359375,
-6.18359375,
-6.30859375,
-6.55859375,
-6.55859375,
-6.80859375,
-6.93359375,
-7.62109375,
-7.74609375,
-7.80859375,
-7.80859375,
-7.93359375,
-8.3671875,
-... | 23 | 66 |
agent1-02004 | agent1 | synthetic | "<|im_start|>system\n# Tools\n\nYou have access to the following functions:\n\n<tools>\n{\"type\": \(...TRUNCATED) | "I need to investigate this further. Let me check the details.\n\nDone. The four aliases with local-(...TRUNCATED) | "I need to investigate this further. Let me check the details.\n\nDone. The four aliases with local-(...TRUNCATED) | "Wrote `aliases.txt` with the four aliases whose fallback is `local-gemma`: review-long, planner, ag(...TRUNCATED) | [] | [248045,8678,198,2,13455,271,2523,599,2528,310,279,2614,5568,25,271,27,15449,29,198,4754,1267,763,32(...TRUNCATED) | 2,539 | [[760,16936,22017,12188,40,6065,9764,13784,1919,26108,14311,90700,54,24100,38013,84199,623,7,3733,16(...TRUNCATED) | [[-1.1337890625,-1.3837890625,-2.7578125,-2.7578125,-2.8828125,-3.1328125,-3.6328125,-4.2578125,-4.3(...TRUNCATED) | 2,539 | 71 |
json-00711 | json | synthetic | "<|im_start|>user\nExtract the information from the text into a JSON object with exactly this schema(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract info(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract info(...TRUNCATED) | "{\"title\":\"Budget check-in\",\"date\":\"2026-10-19\",\"start\":\"14:15\",\"attendees\":[\"Hana\",(...TRUNCATED) | [] | [248045,846,198,28014,279,1928,494,279,1414,1083,264,4566,1576,440,6681,411,10485,25,198,4754,2034,7(...TRUNCATED) | 121 | [[1596,868,109849,96091,22916,760,1165,98264,90935,187002,84193,8068,1421,21365,12100,44390,4272,636(...TRUNCATED) | [[-0.00014853477478027344,-10.0,-10.125,-12.0,-12.0,-12.0,-12.0625,-12.25,-12.8125,-13.0,-13.0625,-1(...TRUNCATED) | 121 | 116 |
agent1-00643 | agent1 | synthetic | "<|im_start|>system\n# Tools\n\nYou have access to the following functions:\n\n<tools>\n{\"type\": \(...TRUNCATED) | "Now I'll run cat on it.\n</think>\n\n<tool_call>\n<function=Bash>\n<parameter=command>\ncat /tmp/cl(...TRUNCATED) | Now I'll run cat on it. | [] | [248045,8678,198,2,13455,271,2523,599,2528,310,279,2614,5568,25,271,27,15449,29,198,4754,1267,763,32(...TRUNCATED) | 1,006 | [[5666,6820,40,69060,760,31248,9764,6516,7,13784,1643,1919,16668,5328,7734,11067,23596,1206,90700,59(...TRUNCATED) | [[-1.4873046875,-1.4873046875,-2.11328125,-2.23828125,-2.23828125,-3.23828125,-3.36328125,-3.9882812(...TRUNCATED) | 1,006 | 115 | |
gsm-00825 | gsm | GSM8K train | "<|im_start|>user\nTen percent of Jonessa's pay goes to paying tax. If her pay is $500, how much is (...TRUNCATED) | "We need answer simple math. Need final with boxed. Need maybe step by step. Ten percent tax of 500 (...TRUNCATED) | "We need answer simple math. Need final with boxed. Need maybe step by step. Ten percent tax of 500 (...TRUNCATED) | "10% of $500 is:\n\n\\[\n0.10 \\times 500 = 50\n\\]\n\nSo her take-home pay is:\n\n\\[\n500 - 50 = 4(...TRUNCATED) | [] | [248045,846,198,31602,3161,314,11933,24685,579,2216,5601,310,12156,3615,13,1368,1024,2216,369,393,20(...TRUNCATED) | 56 | [[1596,22916,30177,15893,760,9764,1421,35921,5236,44712,1919,868,40,5170,31602,6820,16936,8046,35512(...TRUNCATED) | [[-0.00020229816436767578,-9.0,-10.5,-11.125,-11.625,-12.125,-12.375,-13.0,-13.125,-13.5625,-13.75,-(...TRUNCATED) | 56 | 116 |
json-01839 | json | synthetic | "<|im_start|>user\nExtract the information from the text into a JSON object with exactly this schema(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract: tit(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract: tit(...TRUNCATED) | "{\"title\":\"Design sync\",\"date\":\"2026-04-18\",\"start\":\"07:30\",\"attendees\":[\"Ivo\",\"Qui(...TRUNCATED) | [] | [248045,846,198,28014,279,1928,494,279,1414,1083,264,4566,1576,440,6681,411,10485,25,198,4754,2034,7(...TRUNCATED) | 118 | [[1596,868,109849,12100,22916,760,1165,90935,21365,96091,98264,28014,9764,44390,8160,6820,90700,8419(...TRUNCATED) | [[-0.000054836273193359375,-10.25,-12.375,-12.875,-13.0,-13.125,-13.375,-13.9375,-14.6875,-14.875,-1(...TRUNCATED) | 118 | 119 |
agent1-00949 | agent1 | synthetic | "<|im_start|>system\n# Tools\n\nYou have access to the following functions:\n\n<tools>\n{\"type\": \(...TRUNCATED) | "The file has been written. Next, I'll run cat on it.\n</think>\n\n<tool_call>\n<function=Bash>\n<pa(...TRUNCATED) | The file has been written. Next, I'll run cat on it. | [] | [248045,8678,198,2,13455,271,2523,599,2528,310,279,2614,5568,25,271,27,15449,29,198,4754,1267,763,32(...TRUNCATED) | 1,001 | [[760,69060,6820,5666,31248,40,9764,1643,7,38013,1719,13784,1919,6516,2064,8160,7734,11067,1206,3793(...TRUNCATED) | [[-0.59619140625,-2.345703125,-2.345703125,-2.720703125,-2.845703125,-3.470703125,-3.845703125,-4.22(...TRUNCATED) | 1,001 | 124 | |
json-01843 | json | synthetic | "<|im_start|>user\nExtract the information from the text into a JSON object with exactly this schema(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract info(...TRUNCATED) | "We need answer user's request. Need produce final only JSON object no code fence. Need extract info(...TRUNCATED) | "{\"title\": \"Design sync\", \"date\": \"2026-06-13\", \"start\": \"09:30\", \"attendees\": [\"Omar(...TRUNCATED) | [] | [248045,846,198,28014,279,1928,494,279,1414,1083,264,4566,1576,440,6681,411,10485,25,198,4754,2034,7(...TRUNCATED) | 117 | [[1596,109849,868,22916,96091,760,1165,98264,187002,90935,12100,15771,1421,8068,84193,44390,21365,31(...TRUNCATED) | [[-0.0003459453582763672,-9.0,-9.75,-9.875,-10.8125,-11.5625,-11.6875,-11.875,-11.9375,-12.1875,-12.(...TRUNCATED) | 117 | 134 |
Whittle distillation set: Qwen3.8-27B traces with top-20 logprobs
☕ Support this work
Whittle is built by one person on a grocery budget and rented GPU hours, and this dataset was generated and released from that budget. If it is useful to you, or you want to see the work continue: ko-fi.com/davida81328. Every hour of GPU time goes into the next release, and every trace, table and log lands in these repos.
About 25,000 complete, quality-filtered answers from Qwen3.8-27B (thinking on), each with the teacher's top-20 log-probabilities at every answer token. It is built for logit-level knowledge distillation: a student can match the teacher's full per-token distribution, not just its sampled text. We use it to train Whittle-Qwen-3.8-35B-A3B.
- 25,178 rows, 78.0M tokens, of which 25.4M are answer tokens with top-20 logprobs (about 507M token/logprob pairs).
- Covers maths, grade-school maths, code review and explanation, open chat, strict JSON extraction, long-document reading, and agentic tool use. Agent episodes were executed in a sandbox and kept only when hidden unit tests passed.
- Every trace is complete: it stopped by itself, closed its thinking block and ended on
<|im_end|>. It is correct wherever it could be graded.
from datasets import load_dataset
ds = load_dataset("logic65/whittle-distill-qwen3.8-27b", split="train")
row = ds[0]
row["kind"], row["prompt"][:200], row["reasoning"][:200], row["answer"][:200]
# logit-level targets: for answer position j (predicting input_ids[answer_start + j])
# candidates = row["topk_ids"][j]; logprobs = row["topk_logprobs"][j] (20 each, highest first; renormalise before use)
Status
Published 28 Sep 2026. It is the Phase-2 training data of Whittle-Qwen-3.8-35B-A3B (Phase 2 ran 28–30 Sep 2026). Per that model's card, its root (Phase-2 step 32010) trained once on the 22,950 rows that fit its 4,096-token window; the 1,470 longctx rows were not used yet.
Files
data/train-00000-of-00051.parquet…data/train-00050-of-00051.parquet: the whole set as 51 Parquet shards, read by thedefaultconfig as its singletrainsplit (see the front matter).
Columns
| Column | Type | Meaning |
|---|---|---|
id |
string | stable id (kind-#####; agent episode turns get /turnN) |
kind |
string | math, gsm, code, chat, json, longctx, agent1 (single tool step), agentx (turn of an executed agent episode) |
source |
string | where the prompt came from (see Sources) |
prompt |
string | the full prompt as rendered with the Whittle / Qwen chat template (system, tools, earlier turns), ending with `< |
response |
string | the teacher's full raw answer: reasoning, </think>, visible answer or tool calls, `< |
reasoning |
string | the thinking part only |
answer |
string | the visible answer only (empty when the turn is only a tool call) |
tool_calls |
string (JSON) | parsed tool calls [{"name": ..., "arguments": {...}}], if any |
input_ids |
list[int32] | exact token ids of prompt + response |
answer_start |
int32 | index in input_ids where the response begins |
topk_ids |
list[list[int32]] | [n_answer_tokens][20]: teacher's top-20 candidate token ids at each answer position, highest first |
topk_logprobs |
list[list[float32]] | [n_answer_tokens][20]: their raw log-probabilities (before temperature / top-p) |
n_prompt_tokens, n_answer_tokens |
int32 | lengths |
topk_*[j] is the teacher's distribution predicting input_ids[answer_start + j]. The token actually sampled is always among the 20; we checked every row. Tokenizer: logic65/Whittle-Qwen-3.8-35B-A3B (the Qwen3.8 tokenizer, 248,320 tokens, <|im_end|> = 248046).
Composition
| Kind | Rows | Median answer tokens | Source | Content |
|---|---|---|---|---|
math |
4,013 | 671 | MATH train, levels 2–5 | step-by-step solutions, graded \boxed{} answer |
gsm |
1,443 | 264 | GSM8K train | word problems, graded final number |
code |
4,487 | 2,160 | open-source files | review, explain, write tests, edge cases, refactor |
chat |
1,334 | 1,283 | oasst2 | open-ended questions (mostly English) |
json |
2,000 | 144 | synthetic | strict schema extraction, exact typed fields |
longctx |
1,470 | 197 | open-source files | find one function in a 24k–139k-character file (prompts up to ~42k tokens) |
agent1 |
2,409 | 145 | synthetic | one next step in a Claude-Code-style tool session |
agentx |
8,022 turns (1,495 episodes) | 81 per turn | synthetic, executed | multi-turn coding episodes with real Read / Write / Edit / Bash results |
The GSM8K test split is not included, nor are any held-out evaluation problems.
How it was made
- Teacher:
Qwen/Qwen3.8-27B-FP8(official block-128 FP8 build) on vLLM 0.30.- Checked against the bf16 teacher on 69,922 answer positions: 98.1% top-1 agreement, total variation 0.016 over the top-20, 98.2% shared probability mass.
- Sampling: thinking on, temperature 0.6, top-p 0.95, top-k 20.
- Reasoning effort was the teacher template's maximum (xhigh) for all kinds except code. Code used the default effort with focused instructions, because open-ended code requests at xhigh ran past 16k tokens without finishing.
- Maximum answer length: 16,384 tokens (8,192 for grade-school maths, JSON and agent turns).
- Context distillation. The teacher answered with its xhigh "reason carefully" instruction. The
promptcolumn is rendered without it, so a student trained on these rows learns careful reasoning by default. - Filtering: 19,500 prompts went in and 18,651 (96%) were kept. A trace is kept only if all of these hold:
- it finished with its own end-of-turn token;
- the think block is closed;
- no tool markup leaked into the answer;
- it is not degenerate (minimum lengths);
- every sampled token appears in its own top-20;
- the answer is correct:
- maths: normalised
\boxed{}comparison; - GSM: final number;
- JSON: exact fields with strict types;
- long-context: exact file and parameters;
- single agent steps: the right action (e.g. fix the implementation, never the test);
- agent episodes: hidden unit tests pass and the original tests still pass.
- maths: normalised
- Agent episodes: the teacher's Read / Write / Edit / Bash calls ran against a real sandbox, with Claude-Code-style tool results and a command allowlist, for up to 16 rounds. Every assistant turn of a passing episode is its own row. In half of the rows, earlier turns keep their reasoning; in the other half it is stripped, as many clients do.
- Privacy scan: every row was scanned for credentials, tokens and private network addresses before release. No rows needed removal.
Sources and licences
| Source | Kinds | Licence |
|---|---|---|
| MATH (Hendrycks et al.), train split | math |
MIT |
| GSM8K, train split | gsm |
MIT |
| OpenAssistant oasst2 (first turns) | chat |
Apache-2.0 |
| Permissively licensed open-source code (licence-checked) | code, longctx |
each file's own permissive licence |
| Synthetic (generated by our scripts) | json, agent1, agentx |
released with this dataset |
| Qwen3.8-27B outputs | all answers and logprobs | Apache-2.0 (Qwen model licence) |
The sources are mixed, so the dataset is marked license: other. Check each source's terms for your use.
Limitations
- FP8 teacher: 98.1% top-1 agreement with bf16, not 100%.
- Top-20 only: the long tail of the distribution is not stored.
- Grader strictness: a few correct answers were filtered out, for example
(e)-style letter answers. Maths or chat answers that hit the 16k cap were dropped, so the very longest reasoning is slightly under-represented. - Synthetic agent tasks are small single-file Python projects. They teach tool discipline, not large-codebase navigation.
- Prompt rendering: prompts use the Qwen chat template with thinking on. If your student uses a different template, re-render from
reasoning/answer/tool_calls. The logprobs belong to the teacher's tokenisation ofresponse.
Citation
@misc{whittle-distill-2026,
title = {Whittle distillation set: Qwen3.8-27B reasoning traces with top-20 logprobs},
author = {logic65},
year = {2026},
url = {https://huggingface.co/datasets/logic65/whittle-distill-qwen3.8-27b}
}
- Downloads last month
- 861