request_id uint32 0 182k | prefill_length uint32 8 86.3k | decode_length uint32 1 2.05k | routes_layer_3 listlengths 12 87.9k | routes_layer_14 listlengths 12 87.9k | routes_layer_26 listlengths 12 87.9k |
|---|---|---|---|---|---|
0 | 4,251 | 627 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[4,58,7,16,44,8],[37,39,4,61,63,56],[12,6,37(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[3,41,40,59,28,50],[35,29,59,3,24,22],[32,2(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,56,10,46,14],[52,15,36,24,30,32],[55,60,22,46,32,50],[6,50,60,32,31,47],[(...TRUNCATED) |
1 | 74 | 769 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[4,58,47,7,14,16],[58,61,63,33,42,4],[47,58,(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,31,18,47,37],[28,9,50,3,15,33],[60,47,21,28,5,63],[5,59,46,28,47,52],[54,0(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,56,46,14],[52,15,36,24,30,32],[41,36,31,6,4,21],[41,25,58,62,29,11],[4(...TRUNCATED) |
2 | 2,078 | 536 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[58,28,4,7,47,6],[24,37,21,11,14,43],[43,37,(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[28,50,63,15,19,45],[48,55,22,45,59,5],[38,(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,56,10,46,14],[52,15,36,24,30,32],[6,32,50,31,57,51],[39,28,47,50,11,25],[(...TRUNCATED) |
3 | 275 | 363 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[3,58,54,0,29,14],[46,48,62,60,21,5],[29,61,(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[59,55,5,46,44,51],[19,23,27,47,0,18],[59,3(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,56,10,46,14],[52,15,36,24,30,32],[14,25,56,43,50,59],[56,30,63,34,26,48],(...TRUNCATED) |
4 | 765 | 280 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[46,48,5,62,21,60],[48,0,22,46,5,7],[7,48,0,(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[19,23,27,47,0,51],[28,33,9,50,15,25],[33,2(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,56,46,14],[52,15,36,24,30,32],[30,26,63,56,34,59],[26,30,9,15,52,21],[(...TRUNCATED) |
5 | 776 | 252 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[46,48,5,62,21,60],[48,0,22,46,5,7],[7,48,0,(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[19,23,47,27,0,18],[28,33,9,50,15,25],[33,2(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,56,46,14],[52,15,36,24,30,32],[30,26,63,56,34,59],[26,30,9,15,52,21],[(...TRUNCATED) |
6 | 37 | 807 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[46,48,5,62,21,60],[37,39,58,4,61,19],[21,50(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[19,23,47,27,0,18],[59,35,50,3,24,28],[59,5(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,14,56,46],[52,15,36,24,30,32],[30,26,56,63,34,59],[31,55,26,48,36,3],[(...TRUNCATED) |
7 | 1,025 | 115 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[58,37,4,39,42,61],[43,14,63,58,61,20],[20,6(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,18,31,47,37],[28,9,50,3,15,33],[35,59,5,24,14,63],[47,38,22,59,46,19],[59,(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,56,10,46,14],[52,15,36,24,30,32],[50,6,32,10,60,25],[11,39,57,10,17,62],[(...TRUNCATED) |
8 | 103 | 292 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[58,61,0,37,39,14],[16,53,6,58,47,44],[16,19(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,31,18,47,37],[28,9,50,3,15,33],[63,59,35,47,14,28],[58,19,1,40,18,12],[60,(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,56,46,14],[52,15,36,24,30,32],[10,60,6,32,47,36],[49,57,55,11,47,10],[(...TRUNCATED) |
9 | 73 | 141 | [[54,11,9,4,25,12],[0,14,48,60,29,20],[7,13,54,42,22,9],[58,37,7,14,0,61],[37,47,58,56,52,39],[37,54(...TRUNCATED) | [[51,27,7,23,5,24],[27,55,31,18,47,37],[28,9,50,3,15,33],[20,35,59,18,12,21],[3,35,59,29,63,51],[32,(...TRUNCATED) | [[56,9,34,54,57,14],[17,27,10,56,46,14],[52,15,36,24,30,32],[10,56,37,36,11,60],[60,47,6,32,10,27],[(...TRUNCATED) |
MarCap Expert-Selection Routing Records
This dataset contains all captured expert-ID sequences from 320 collection
segments for each of two MoE models, using requests from
allenai/WildChat-1M.
Both prefill and decode routing positions are retained for the three captured
layers of each model. These are routing records, not conversations, model
weights, routing scores, or inference outputs.
Coverage
| Model configuration | deepseek |
qwen |
|---|---|---|
| Model | DeepSeek-V2-Lite-Chat | Qwen3.6-35B-A3B |
| Captured layers | 3, 14, 26 | 0, 19, 39 |
| Experts / top-k | 64 / 6 | 256 / 8 |
| Segments | 320 | 320 |
| Requests | 837383 | 837383 |
| Prefill routing positions | 900951901 | 758241364 |
| Decode routing positions | 395938191 | 681863610 |
| Total routing positions | 1296890092 | 1440104974 |
One routing position contains the selections at all three captured layers; it is not counted three times in the totals. The release covers all records in these captured segments, not every layer of the full models or every conversation in the source dataset.
Files
deepseek/segment_000.parquet ... segment_319.parquet
qwen/segment_000.parquet ... segment_319.parquet
metadata.json
Each Parquet file represents one segment and has one row per request. The
records split shown by the Hub contains every released request. No
calibration/evaluation labels or experiment-specific partitions are embedded
in the data; downstream code can construct request-level splits independently.
Schema
| Column | Type | Meaning |
|---|---|---|
request_id |
uint32 | Stable anonymous request ordinal within one model |
prefill_length |
uint32 | Number of captured prefill routing positions |
decode_length |
uint32 | Number of captured decode routing positions |
routes_layer_<layer> |
list of fixed-size lists of uint8 | Ordered top-k expert IDs at each routing position |
There are three routing columns, named by the actual layer numbers above.
For each layer, the outer list length equals prefill_length + decode_length.
The first prefill_length positions are prefill; the remaining positions are
decode. The original top-k slot order is preserved. Expert IDs are model-local
expert indices, not destination-rank IDs.
Request IDs range from 0 through 837382 separately for each model. They preserve the request-cache order used for analysis; they are not original dataset row identifiers, conversation identifiers, or arrival timestamps. Do not infer cross-model request correspondence from these IDs alone.
A request with zero captured decode positions is retained with
decode_length=0. Captured decode length need not equal the number of tokens
in a completion transcript. Request boundaries and token order are retained,
but original scheduler interleaving and wall-clock arrival times are not.
Read One Request
Download only the segments needed for an analysis. Use the submission-v1
revision for the submission snapshot. No login or access request is required.
For example:
import numpy as np
import pyarrow.parquet as pq
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="m38ecaaed/marcap-routing",
repo_type="dataset",
filename="deepseek/segment_000.parquet",
revision="submission-v1",
token=False,
)
batch = next(pq.ParquetFile(path).iter_batches(batch_size=1))
request = batch.to_pylist()[0]
routes = np.asarray(request["routes_layer_14"], dtype=np.uint8)
prefill = routes[:request["prefill_length"]]
decode = routes[request["prefill_length"]:]
Parquet data use lossless Zstandard compression. The Arrow schema retains unsigned expert IDs and the fixed top-k dimension; readers that expose nested ordinary lists can use the same logical structure. No model execution or GPU is required to read the records.
De-identification and Source
The files contain only anonymous numeric request identifiers, phase lengths, and expert IDs. They do not contain conversation text, token IDs, original request keys, user information, collection timestamps, machine names, or local filesystem paths. The retained routing and length structure is useful for analysis; removal of direct identifiers is not a proof against every possible inference about the underlying inputs.
License and Attribution
This routing database is released under the Open Data Commons Attribution License (ODC-BY) 1.0. It contains information derived from WildChat-1M, which is made available under the same ODC Attribution License. Retain this source attribution and the license notice when redistributing the database.
The records are newly collected expert-selection sequences, not an unchanged copy of WildChat. This database license does not relicense source conversations, model weights or model code. Other applicable rights and upstream terms remain unaffected, including the DeepSeek model license and Qwen model license. No model weights or source conversations are included in this release.
Source dataset reference: Wenting Zhao, Xiang Ren, Jack Hessel, Claire Cardie, Yejin Choi, and Yuntian Deng. WildChat: 1M ChatGPT Interaction Logs in the Wild. ICLR 2024.
- Downloads last month
- 55