Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
moe_layers: list<item: int64>
  child 0, item: int64
fixed_layer: int64
rule: string
meta: null
shard: string
record_id: int64
prompt_len: int64
completion_len: int64
rows: int64
role: string
tag: string
finish_reason: string
replay_vs_generation_overlap: double
cached_tokens: int64
recompute_vs_replay_exact: double
n_generated_rows: int64
to
{'record_id': Value('int64'), 'tag': Value('string'), 'role': Value('string'), 'meta': Json(decode=True), 'prompt_len': Value('int64'), 'completion_len': Value('int64'), 'n_generated_rows': Value('int64'), 'finish_reason': Value('string'), 'rows': Value('int64'), 'cached_tokens': Value('int64'), 'recompute_vs_replay_exact': Value('float64'), 'replay_vs_generation_overlap': Value('float64'), 'shard': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              moe_layers: list<item: int64>
                child 0, item: int64
              fixed_layer: int64
              rule: string
              meta: null
              shard: string
              record_id: int64
              prompt_len: int64
              completion_len: int64
              rows: int64
              role: string
              tag: string
              finish_reason: string
              replay_vs_generation_overlap: double
              cached_tokens: int64
              recompute_vs_replay_exact: double
              n_generated_rows: int64
              to
              {'record_id': Value('int64'), 'tag': Value('string'), 'role': Value('string'), 'meta': Json(decode=True), 'prompt_len': Value('int64'), 'completion_len': Value('int64'), 'n_generated_rows': Value('int64'), 'finish_reason': Value('string'), 'rows': Value('int64'), 'cached_tokens': Value('int64'), 'recompute_vs_replay_exact': Value('float64'), 'replay_vs_generation_overlap': Value('float64'), 'shard': Value('string')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

record_id
int64
tag
string
role
string
meta
unknown
prompt_len
int64
completion_len
int64
n_generated_rows
int64
finish_reason
string
rows
int64
cached_tokens
int64
recompute_vs_replay_exact
float64
replay_vs_generation_overlap
float64
shard
string
31
tau3_airline
agent
{}
5,005
47
46
stop
46
0
1
0.961957
shard_00000.safetensors
35
tau3_airline
agent
{}
4,997
85
84
stop
84
4,864
1
0.955357
shard_00000.safetensors
41
tau3_airline
agent
{}
4,997
101
100
stop
100
4,864
1
0.955
shard_00000.safetensors
106
tau3_airline
agent
{}
5,092
81
80
tool_calls
80
4,992
1
0.903125
shard_00000.safetensors
200
tau3_airline
agent
{}
5,712
352
351
stop
351
4,992
1
0.961538
shard_00000.safetensors
256
tau3_airline
agent
{}
5,867
200
199
stop
199
5,632
1
0.953518
shard_00000.safetensors
296
tau3_airline
agent
{}
6,014
110
109
stop
109
5,760
1
0.979358
shard_00000.safetensors
323
tau3_airline
agent
{}
6,079
37
36
stop
36
5,888
1
0.979167
shard_00000.safetensors
4,647
tau3_airline
agent
{}
5,025
93
92
stop
92
4,864
1
0.959239
shard_00000.safetensors
4,675
tau3_airline
agent
{}
5,077
50
49
tool_calls
49
4,992
1
0.867347
shard_00000.safetensors
4,716
tau3_airline
agent
{}
5,479
178
177
tool_calls
177
4,992
1
0.812147
shard_00000.safetensors
4,838
tau3_airline
agent
{}
6,920
782
781
tool_calls
781
5,376
1
0.817222
shard_00000.safetensors
4,904
tau3_airline
agent
{}
7,371
404
403
tool_calls
403
6,912
1
0.813896
shard_00000.safetensors
4,978
tau3_airline
agent
{}
9,039
677
676
tool_calls
676
7,296
1
0.890902
shard_00000.safetensors
5,050
tau3_airline
agent
{}
10,251
961
960
stop
960
8,960
1
0.924479
shard_00000.safetensors
5,239
tau3_airline
agent
{}
10,652
1,644
1,643
stop
1,643
10,240
1
0.915703
shard_00000.safetensors
5,305
tau3_airline
agent
{}
10,907
34
33
stop
33
10,624
1
0.939394
shard_00000.safetensors
5,349
tau3_airline
agent
{}
10,949
14
13
stop
13
10,880
1
1
shard_00000.safetensors
2,385
tau3_airline
agent
{}
5,008
77
76
stop
76
4,864
1
0.960526
shard_00000.safetensors
2,454
tau3_airline
agent
{}
5,055
81
80
tool_calls
80
4,992
1
0.915625
shard_00000.safetensors
2,505
tau3_airline
agent
{}
5,665
282
281
stop
281
4,992
1
0.951068
shard_00000.safetensors
2,556
tau3_airline
agent
{}
5,721
280
279
stop
279
5,632
1
0.953405
shard_00000.safetensors
2,618
tau3_airline
agent
{}
5,868
75
74
stop
74
5,632
1
0.97973
shard_00000.safetensors
2,710
tau3_airline
agent
{}
5,966
167
166
stop
166
5,760
1
0.965361
shard_00000.safetensors
2,778
tau3_airline
agent
{}
6,073
415
414
tool_calls
414
5,888
1
0.964976
shard_00000.safetensors
2,814
tau3_airline
agent
{}
6,182
23
22
stop
22
6,016
1
0.965909
shard_00000.safetensors
5,410
tau3_airline
agent
{}
5,012
117
116
stop
116
4,864
1
0.959052
shard_00000.safetensors
5,443
tau3_airline
agent
{}
5,017
136
135
stop
135
4,864
1
0.974074
shard_00000.safetensors
5,479
tau3_airline
agent
{}
5,091
76
75
tool_calls
75
4,992
1
0.873333
shard_00000.safetensors
5,555
tau3_airline
agent
{}
5,711
339
338
stop
338
4,992
1
0.95858
shard_00000.safetensors
5,613
tau3_airline
agent
{}
5,874
144
143
stop
143
5,632
1
0.972028
shard_00000.safetensors
5,675
tau3_airline
agent
{}
6,029
123
122
stop
122
5,760
1
0.965164
shard_00000.safetensors
5,717
tau3_airline
agent
{}
6,122
130
129
stop
129
6,016
1
0.963178
shard_00000.safetensors
5,750
tau3_airline
agent
{}
6,228
36
35
stop
35
6,016
1
0.942857
shard_00000.safetensors
5,465
tau3_airline
agent
{}
5,078
80
79
tool_calls
79
4,992
1
0.93038
shard_00000.safetensors
5,506
tau3_airline
agent
{}
5,698
231
230
stop
230
4,992
1
0.956522
shard_00000.safetensors
5,586
tau3_airline
agent
{}
5,856
228
227
stop
227
5,632
1
0.96696
shard_00000.safetensors
5,651
tau3_airline
agent
{}
6,007
173
172
stop
172
5,760
1
0.962209
shard_00000.safetensors
5,699
tau3_airline
agent
{}
6,168
249
248
tool_calls
248
5,888
1
0.940524
shard_00000.safetensors
5,716
tau3_airline
agent
{}
6,266
26
25
stop
25
6,144
1
0.95
shard_00000.safetensors
7,397
tau3_airline
agent
{}
4,997
89
88
stop
88
4,992
1
0.951705
shard_00000.safetensors
7,400
tau3_airline
agent
{}
5,006
86
85
stop
85
4,864
1
0.976471
shard_00000.safetensors
7,515
tau3_airline
agent
{}
5,088
81
80
tool_calls
80
4,992
1
0.903125
shard_00000.safetensors
7,597
tau3_airline
agent
{}
5,708
309
308
stop
308
4,992
1
0.946429
shard_00000.safetensors
7,750
tau3_airline
agent
{}
5,849
131
130
stop
130
5,632
1
0.963462
shard_00000.safetensors
7,878
tau3_airline
agent
{}
5,937
28
27
stop
27
5,760
1
0.907407
shard_00000.safetensors
7,503
tau3_airline
agent
{}
5,104
49
48
tool_calls
48
4,992
1
0.864583
shard_00000.safetensors
7,578
tau3_airline
agent
{}
5,509
187
186
tool_calls
186
4,992
1
0.83871
shard_00000.safetensors
7,639
tau3_airline
agent
{}
7,105
305
304
stop
304
5,504
1
0.95148
shard_00000.safetensors
7,758
tau3_airline
agent
{}
7,258
222
221
stop
221
7,040
1
0.937783
shard_00000.safetensors
7,900
tau3_airline
agent
{}
7,416
263
262
stop
262
7,168
1
0.945611
shard_00000.safetensors
11,814
tau3_airline
agent
{}
5,008
86
85
stop
85
4,864
1
0.955882
shard_00000.safetensors
11,951
tau3_airline
agent
{}
5,084
82
81
tool_calls
81
4,992
1
0.916667
shard_00000.safetensors
12,051
tau3_airline
agent
{}
5,694
287
286
stop
286
4,992
1
0.951049
shard_00000.safetensors
12,185
tau3_airline
agent
{}
5,839
125
124
stop
124
5,632
1
0.955645
shard_00000.safetensors
12,344
tau3_airline
agent
{}
5,924
68
67
stop
67
5,760
1
0.973881
shard_00000.safetensors
12,511
tau3_airline
agent
{}
6,015
86
85
stop
85
5,888
1
0.988235
shard_00000.safetensors
12,651
tau3_airline
agent
{}
6,105
604
603
stop
603
5,888
1
0.970149
shard_00000.safetensors
12,851
tau3_airline
agent
{}
6,228
214
213
stop
213
6,016
1
0.969484
shard_00000.safetensors
2,907
tau3_airline
agent
{}
5,007
120
119
stop
119
4,864
1
0.960084
shard_00000.safetensors
3,022
tau3_airline
agent
{}
5,007
101
100
stop
100
4,992
1
0.955
shard_00000.safetensors
3,072
tau3_airline
agent
{}
5,117
50
49
tool_calls
49
4,992
1
0.923469
shard_00000.safetensors
3,120
tau3_airline
agent
{}
5,466
135
134
tool_calls
134
4,992
1
0.86194
shard_00000.safetensors
3,213
tau3_airline
agent
{}
6,638
460
459
stop
459
5,376
1
0.948257
shard_00000.safetensors
3,249
tau3_airline
agent
{}
6,810
98
97
stop
97
6,528
1
0.966495
shard_00000.safetensors
3,302
tau3_airline
agent
{}
6,907
168
167
stop
167
6,784
1
0.959581
shard_00000.safetensors
3,339
tau3_airline
agent
{}
7,013
71
70
stop
70
6,784
1
0.971429
shard_00000.safetensors
3,373
tau3_airline
agent
{}
7,096
73
72
stop
72
6,912
1
0.975694
shard_00000.safetensors
3,439
tau3_airline
agent
{}
7,193
188
187
stop
187
7,040
1
0.963904
shard_00000.safetensors
3,499
tau3_airline
agent
{}
7,375
172
171
tool_calls
171
7,168
1
0.880117
shard_00000.safetensors
3,591
tau3_airline
agent
{}
9,337
620
619
stop
619
7,296
1
0.869548
shard_00000.safetensors
3,647
tau3_airline
agent
{}
9,731
404
403
stop
403
9,216
1
0.936104
shard_00000.safetensors
3,726
tau3_airline
agent
{}
9,954
46
45
stop
45
9,728
1
0.972222
shard_00000.safetensors
3,836
tau3_airline
agent
{}
9,993
307
306
tool_calls
306
9,856
1
0.784314
shard_00000.safetensors
3,872
tau3_airline
agent
{}
10,547
383
382
stop
382
9,984
1
0.954188
shard_00000.safetensors
11,127
tau3_airline
agent
{}
5,002
94
93
stop
93
4,864
1
0.954301
shard_00000.safetensors
11,276
tau3_airline
agent
{}
5,110
50
49
tool_calls
49
4,992
1
0.933673
shard_00000.safetensors
11,342
tau3_airline
agent
{}
5,371
99
98
tool_calls
98
4,992
1
0.890306
shard_00000.safetensors
11,451
tau3_airline
agent
{}
5,985
266
265
stop
265
5,248
1
0.963208
shard_00000.safetensors
11,583
tau3_airline
agent
{}
6,161
105
104
stop
104
5,888
1
0.963942
shard_00000.safetensors
11,737
tau3_airline
agent
{}
6,281
222
221
stop
221
6,144
1
0.967195
shard_00000.safetensors
11,898
tau3_airline
agent
{}
6,381
311
310
tool_calls
310
6,272
1
0.954839
shard_00000.safetensors
11,957
tau3_airline
agent
{}
6,512
29
28
stop
28
6,272
1
0.964286
shard_00000.safetensors
90
tau3_airline
agent
{}
5,096
62
61
tool_calls
61
4,992
1
0.905738
shard_00000.safetensors
145
tau3_airline
agent
{}
5,501
167
166
tool_calls
166
4,992
1
0.819277
shard_00000.safetensors
235
tau3_airline
agent
{}
7,080
389
388
stop
388
5,376
1
0.943299
shard_00000.safetensors
302
tau3_airline
agent
{}
7,232
242
241
stop
241
7,040
1
0.958506
shard_00000.safetensors
345
tau3_airline
agent
{}
7,387
142
141
stop
141
7,168
1
0.97695
shard_00000.safetensors
372
tau3_airline
agent
{}
7,492
40
39
stop
39
7,296
1
0.961538
shard_00000.safetensors
398
tau3_airline
agent
{}
7,527
26
25
stop
25
7,424
1
1
shard_00000.safetensors
95
tau3_airline
agent
{}
5,027
208
207
stop
207
4,864
1
0.942029
shard_00000.safetensors
134
tau3_airline
agent
{}
5,115
48
47
tool_calls
47
4,992
1
0.840426
shard_00000.safetensors
173
tau3_airline
agent
{}
5,560
153
152
tool_calls
152
4,992
1
0.866776
shard_00000.safetensors
230
tau3_airline
agent
{}
6,894
217
216
tool_calls
216
5,504
1
0.929398
shard_00000.safetensors
283
tau3_airline
agent
{}
6,981
259
258
stop
258
6,784
1
0.953488
shard_00000.safetensors
355
tau3_airline
agent
{}
7,083
281
280
stop
280
6,912
1
0.941071
shard_00000.safetensors
426
tau3_airline
agent
{}
7,202
223
222
stop
222
7,040
1
0.956081
shard_00000.safetensors
522
tau3_airline
agent
{}
7,320
334
333
stop
333
7,168
1
0.961712
shard_00000.safetensors
651
tau3_airline
agent
{}
7,429
335
334
tool_calls
334
7,296
1
0.948353
shard_00000.safetensors
674
tau3_airline
agent
{}
7,533
44
43
stop
43
7,424
1
0.936047
shard_00000.safetensors
End of preview.

MiniMax-M3 router inputs — 10M generated tokens, one MoE layer per token

For 10,104,532 tokens generated by MiniMax-M3 (bf16) on GPQA, HumanEval, general chat prompts and τ³-bench agent conversations, this dataset stores the input to the MoE router (the 6144-dim hidden state the gate sees) for one MoE layer per token, plus the top-4 experts that layer selected.

MiniMax-M3: 60 decoder layers, layers 3..59 are MoE (128 routed experts, top-4, sigmoid scoring with routing bias, 1 shared expert). Router input = output of post_attention_layernorm = argument of the MoE block; the gate computes fp32 logits x @ W_gate^T, then sigmoid(logits) + e_score_correction_bias → top-4.

Layer per token: token at position p of call r stores MoE layer moe_layers[(p + r) % 57], so every layer gets ~1/57 of the tokens, spread over all calls (177,126–177,367 tokens per layer).

source calls generated tokens
general 871 2,931,430
gpqa 287 2,751,040
humaneval 1,717 2,597,062
tau3 (airline) 1,028 257,502
tau3 (banking_knowledge) 2,274 881,738
tau3 (retail) 2,844 412,834
tau3 (telecom) 2,287 272,926
total 11,308 10,104,532

120 shards, 124 GB.

Files

shard_NNNNN.safetensors      ~80K rows each
    router_input           bf16  [N, 6144]  input to the gate of decoder layer `layer`
    layer                  uint8 [N]        decoder layer index (3..59)
    expert_ids             uint8 [N, 4]     top-4 experts vLLM selected (same pass)
    expert_ids_recomputed  uint8 [N, 4]     top-4 recomputed from router_input with that layer's gate weights
    expert_ids_generation  uint8 [N, 4]     top-4 recorded while the token was being generated
    record_id int32 [N]    call id (-> index.jsonl)
    position  int32 [N]    position in the call's token sequence
    token_id  int32 [N]    the generated token at that position (MiniMax-M3 tokenizer)
index.jsonl                  one line per call: record_id, tag (dataset), role, meta (item id, sample, ...),
                             prompt_len, completion_len, finish_reason, shard, rows, checks
layout.json                  MoE layer list and the layer-assignment rule

Only model-generated tokens are included (no prompt tokens). Row position p is the token at p fed to the model while producing token p+1; the final sampled token of a call has no row.

Loading

from huggingface_hub import hf_hub_download, snapshot_download
from safetensors.torch import load_file      # router_input is bfloat16 -> use the torch loader

t = load_file(hf_hub_download("Danikm/minimax-m3-routing", "shard_00000.safetensors", repo_type="dataset"))
x, layer = t["router_input"], t["layer"]     # [N, 6144] bf16, [N]
x30 = x[layer == 30]                         # router inputs of decoder layer 30

# everything (~124 GB):  snapshot_download("Danikm/minimax-m3-routing", repo_type="dataset", local_dir="m3_router_inputs")

How it was made

  1. Generation. MiniMax-M3 bf16 on 8×H200, vLLM 0.23.1rc1 (TP8, block size 128, thinking enabled, temperature 1.0, top-p 0.95 as recommended on the model card).
    • GPQA main (448 questions, simple-evals multiple-choice prompt, choices reshuffled per sample), HumanEval (164 problems), general chat (AlpacaEval 805, Arena-Hard v0.1 500 + v2.0 750, MT-Bench 80 with both turns). Items visited round-robin with repeated samples; ≤32K new tokens per answer.
    • τ³-bench (tau2-bench harness): airline, retail, telecom, banking_knowledge (bm25 retrieval); MiniMax-M3 is the agent (thinking on) and also the user simulator (thinking off; user-simulator tokens are not in this dataset). A few banking conversations hit the 131K context limit and end there.
    • Every token's top-4 experts in all 57 MoE layers were captured with --enable-return-routed-experts.
  2. Router inputs. vLLM cannot return hidden states during generation, so each call was replayed as a single teacher-forced prefill of its exact token sequence (vLLM eager mode, forward pre-hooks on every MoE block on TP rank 0, prefix cache reused within a conversation) and the router input of the assigned layer was saved for every generated position.

Validation

  • expert_ids_recomputed (top-4 from the stored router_input with the checkpoint gate) equals vLLM's expert_ids on 100.000 % of rows (min per call 98.57 %); differences are fp32 near-ties.
  • expert_ids vs expert_ids_generation: mean expert overlap 94.3 %. The replay is a different batch shape than generation, and bf16 nondeterminism flips near-tied experts (~3-4 % of expert slots, measured separately by re-prefilling identical sequences). router_input is exactly consistent with expert_ids.
  • Positions and per-call row counts were checked against the generation-time routing record for every call.

Licenses and terms

Model outputs and activations of MiniMax-M3 — MiniMax Community License (non-commercial; commercial use requires a "Built with MiniMax M3" notice and notifying/authorization by MiniMax — see the license). Prompt sources keep their own terms: GPQA (CC BY 4.0; its authors ask that GPQA examples not be revealed in plain text online — this dataset contains model-generated tokens on GPQA prompts, not the prompts), HumanEval (MIT), AlpacaEval (CC BY-NC 4.0), Arena-Hard-Auto (Apache 2.0), MT-Bench (Apache 2.0), τ³-bench / tau2-bench (MIT).

Downloads last month
796