The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Missing a name for object member. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 324, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1391, in _parse
self.obj = DataFrame(
~~~~~~~~~^
ujson_loads(json, precise_float=self.precise_float), dtype=None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pandas/core/frame.py", line 782, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4379, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2661, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2839, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2377, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 327, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Missing a name for object member. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
SWE-bench Verified — PRM Precomputed Embeddings (Qwen3.6-27B)
Precomputed Qwen/Qwen3.6-27B pooled embeddings of (state, action) pairs from SOTA
mini-SWE-agent trajectories on SWE-bench Verified. These are the cached embeddings used to
train a retrieval / process reward model (PRM) for best-of-N action selection (pick the
candidate action per step that maximizes cos(proj_state(state), proj_action(action))).
Embeddings are frozen 5120-d vectors; the PRM trains two lightweight projection heads on top of them with InfoNCE + hard negatives (large batches give many in-batch negatives — this is why the cached-embedding setup works where end-to-end LoRA re-embedding does not).
Contents
| File | Shape / type | Description |
|---|---|---|
train/state_embeddings.pt |
[401509, 5120] fp32 |
pooled embedding of the agent state (message history) at each step |
train/action_embeddings.pt |
[401509, 5120] fp32 |
pooled embedding of the action string at each step |
train/metadata.json |
dict (samples list) |
per-sample metadata (trajectory_id, step_idx, task_id/instance_id, domain, reward, ...), aligned row-for-row with the embeddings |
val/* |
[94210, 5120] |
same, held-out split |
slim_train.json / slim_val.json |
list | slim per-pair records (task_id, trajectory_id, action, model, step_idx, reward) — enough to regenerate hard negatives |
Train ≈ 401,509 pairs · val ≈ 94,210 pairs · dim 5120.
Split
Task-disjoint train/val split: no SWE-bench instance_id appears in both splits (same split
as the companion SWE-bench Verified TRM). Prevents trajectory/instance leakage.
How it was built
- State: mini-SWE-agent message history → chat template (
add_generation_prompt=False) → Qwen3.6-27B vLLMpoolingembed, head-truncated to 32K tokens. - Action: the
<function=bash>{"command": ...}</function>command string → raw vLLM embed. - Hard negatives (not stored — fully reproducible): for each positive, real actions emitted by
failed (
resolved=False) trajectories on the sameinstance_id(primary) or same repo (backoff). Since an action embedding is a pure function of its text, each negative string maps directly to a row inaction_embeddings.pt— no re-embedding needed at any negative count.
Usage sketch
import torch, torch.nn.functional as F
S = torch.load("train/state_embeddings.pt") # [N,5120]
A = torch.load("train/action_embeddings.pt") # [N,5120]
# train proj_state, proj_action (Linear-GELU-Linear -> 512) with InfoNCE over the batch + hard negs
# score(state, action) = cos(F.normalize(proj_state(s)), F.normalize(proj_action(a)))
Companion dataset: TRM trajectory embeddings tarsur385/swev-trm-trajectories-25models.
- Downloads last month
- 71