Datasets:
Build from SearchSwarm/SearchSwarm-SFT with scripts/datasets/searchswarm_shared.py
Browse files- README.md +14 -5
- data/train.parquet +2 -2
- plots/overview.png +2 -2
README.md
CHANGED
|
@@ -82,8 +82,12 @@ One row is one measured request:
|
|
| 82 |
- `subagents[*].messages`: each sub-agent's full conversation, system prompt to final message.
|
| 83 |
The final message ends with the report (inside `<report>` tags, after a `<think>` block).
|
| 84 |
These are the **store** requests.
|
| 85 |
-
- `
|
| 86 |
-
the
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
The last message concatenates 2 to 5 reports as
|
| 88 |
`A sub-agent dispatched for goal "<goal>" returned the following report:\n\n<report>`.
|
| 89 |
- `main_next`: the main agent's following assistant turn in the source trajectory, for
|
|
@@ -125,6 +129,7 @@ Exact percentiles are in `stats.json`.
|
|
| 125 |
| `task_index`, `round` | int | source row index; dispatch round within the task (1 = first) |
|
| 126 |
| `source`, `question`, `answer` | string | from the source |
|
| 127 |
| `n_reports` | int | reports in the reply, equal to `len(subagents)` |
|
|
|
|
| 128 |
| `main_messages` | list of `{role, content}` | the measured request |
|
| 129 |
| `main_next` | string or null | the main agent's next assistant turn in the source |
|
| 130 |
| `subagents` | list of `{goal, brief, report, report_tokens, context_tokens, messages}` | one per report, in reply order |
|
|
@@ -135,14 +140,18 @@ Exact percentiles are in `stats.json`.
|
|
| 135 |
## Intended protocol
|
| 136 |
|
| 137 |
Send each `subagents[i].messages` as a store request (the sub-agent's whole context, ending in
|
| 138 |
-
its final message)
|
| 139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
The main agent's own earlier `<think>` blocks are kept in the record; drop or keep them
|
| 141 |
consistently across arms (the served model's chat template usually drops them).
|
| 142 |
|
| 143 |
## Provenance
|
| 144 |
|
| 145 |
-
Built on 2026-11-13 with a deterministic filter script (`searchswarm_shared.py`, part of
|
| 146 |
TensorMesh's CacheBlend evaluation suite) from the source revision current on that date. The source trajectories were generated by the
|
| 147 |
SearchSwarm authors' research harness with an unnamed teacher model and kept only when the
|
| 148 |
main agent's final answer was correct. Licence follows the source: MIT.
|
|
|
|
| 82 |
- `subagents[*].messages`: each sub-agent's full conversation, system prompt to final message.
|
| 83 |
The final message ends with the report (inside `<report>` tags, after a `<think>` block).
|
| 84 |
These are the **store** requests.
|
| 85 |
+
- `main_history`: the main agent's conversation up to and including the dispatch turn, which is
|
| 86 |
+
the request the main agent sent before the reports came back. In production that request was
|
| 87 |
+
served just before the measured one, so its KV is a **prefix hit** for the measured request;
|
| 88 |
+
send it first, in every arm, to reproduce that.
|
| 89 |
+
- `main_messages`: `main_history` plus the user message that carries the sub-agents' reports.
|
| 90 |
+
This is the **measured** request.
|
| 91 |
The last message concatenates 2 to 5 reports as
|
| 92 |
`A sub-agent dispatched for goal "<goal>" returned the following report:\n\n<report>`.
|
| 93 |
- `main_next`: the main agent's following assistant turn in the source trajectory, for
|
|
|
|
| 129 |
| `task_index`, `round` | int | source row index; dispatch round within the task (1 = first) |
|
| 130 |
| `source`, `question`, `answer` | string | from the source |
|
| 131 |
| `n_reports` | int | reports in the reply, equal to `len(subagents)` |
|
| 132 |
+
| `main_history` | list of `{role, content}` | the main agent's previous request: `main_messages` without its last message |
|
| 133 |
| `main_messages` | list of `{role, content}` | the measured request |
|
| 134 |
| `main_next` | string or null | the main agent's next assistant turn in the source |
|
| 135 |
| `subagents` | list of `{goal, brief, report, report_tokens, context_tokens, messages}` | one per report, in reply order |
|
|
|
|
| 140 |
## Intended protocol
|
| 141 |
|
| 142 |
Send each `subagents[i].messages` as a store request (the sub-agent's whole context, ending in
|
| 143 |
+
its final message) and `main_history` as the main agent's previous request (stored on the
|
| 144 |
+
blend endpoint, plain on the recompute endpoint, so both hold it in the engine's prefix
|
| 145 |
+
cache), then send `main_messages` once as the measured request with storing off, and compare
|
| 146 |
+
the main agent's next turn between a blend endpoint and a recompute endpoint. The measured
|
| 147 |
+
request then has a prefix hit on its own history and non-prefix hits on the reports, which is
|
| 148 |
+
the production shape; the two together are the overall hit rate.
|
| 149 |
The main agent's own earlier `<think>` blocks are kept in the record; drop or keep them
|
| 150 |
consistently across arms (the served model's chat template usually drops them).
|
| 151 |
|
| 152 |
## Provenance
|
| 153 |
|
| 154 |
+
Built on 2026-11-13 (`main_history` added the same day) with a deterministic filter script (`searchswarm_shared.py`, part of
|
| 155 |
TensorMesh's CacheBlend evaluation suite) from the source revision current on that date. The source trajectories were generated by the
|
| 156 |
SearchSwarm authors' research harness with an unnamed teacher model and kept only when the
|
| 157 |
main agent's final answer was correct. Licence follows the source: MIT.
|
data/train.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6d98ac8d23c99edc56ca2b665d62b7744d886464395fa3658001f146841d03e
|
| 3 |
+
size 375861399
|
plots/overview.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|