Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: TypeError
Message: Couldn't cast array of type
struct<start_url: string, final_url: string, dom_assertions: list<item: struct<type: string, testid: string, value: string>>, state_assertions: list<item: struct<type: string, match: struct<title: string, owner: string, priority: string, status: string>>>, required_answer_terms: list<item: string>, must_not_change_state: bool, must_change_state: bool>
to
{'start_url': Value('string'), 'final_url': Value('string'), 'dom_assertions': List({'type': Value('string'), 'testid': Value('string'), 'value': Value('string')}), 'state_assertions': List({'type': Value('string'), 'task_id': Value('string'), 'field': Value('string'), 'value': Value('string')}), 'required_answer_terms': List(Value('string')), 'must_not_change_state': Value('bool')}
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in 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 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 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2068, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
return func(array, *args, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<start_url: string, final_url: string, dom_assertions: list<item: struct<type: string, testid: string, value: string>>, state_assertions: list<item: struct<type: string, match: struct<title: string, owner: string, priority: string, status: string>>>, required_answer_terms: list<item: string>, must_not_change_state: bool, must_change_state: bool>
to
{'start_url': Value('string'), 'final_url': Value('string'), 'dom_assertions': List({'type': Value('string'), 'testid': Value('string'), 'value': Value('string')}), 'state_assertions': List({'type': Value('string'), 'task_id': Value('string'), 'field': Value('string'), 'value': Value('string')}), 'required_answer_terms': List(Value('string')), 'must_not_change_state': Value('bool')}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.
Agent Experience
From Tasks, Reasoning, and Tool Use to Reflection and Memory
1. What Is Experience?
Traditional language model datasets typically focus on input and output:
Input β Output
The behavior of an Agent in real-world tasks is much more complex. An Agent may need to understand the task, develop a plan, use tools, observe changes in the environment, detect errors, adjust its strategy, retry actions, and finally verify whether the task has been completed.
Therefore, preserving only the final answer loses a significant amount of valuable execution information.
Agent Experience focuses on:
How an Agent understands a problem, develops a plan, takes actions, receives feedback, adjusts its strategy, and ultimately completes a task within a specific task and environment.
A raw Agent Runtime typically produces an execution trajectory. Experience goes one step further by structuring and adding semantic meaning to the execution process:
Raw Trajectory
β
Semantic Structuring
β
Agent Experience
2. Why Not Just Store Question / Answer?
Consider the following two Agents.
Agent A:
Question
β
Many Ineffective Actions
β
Errors
β
Repeated Attempts
β
Eventually Reaches the Correct Result
Agent B:
Question
β
Correctly Understands the Task
β
Develops a Plan
β
Selects the Appropriate Tool
β
Executes
β
Verifies
β
Answer
If only the Question and Answer are stored, these two samples may appear almost identical.
If the Experience is preserved, however, we can further study:
- How the Agent solves the problem
- Whether Tool Use is appropriate
- How Observations influence subsequent decisions
- How the Agent recovers from errors
- Whether Reflection is effective
- Whether the final result has been verified
- Which experiences are worth preserving as Memory
This is the main reason for preserving the execution process as Experience rather than storing only the final answer.
3. From Trajectory to Experience
An Agent Runtime can typically record an execution trajectory.
For example:
User Request
β
Browser Open
β
Snapshot
β
Click
β
Observation
β
Type
β
Observation
β
Submit
β
Final Answer
These Trajectories are extremely valuable because they record what the Agent actually did.
However, a raw Trajectory is closer to answering:
What happened?
In other words, it is a Runtime Log.
Experience aims to go one step further and express:
What did this execution mean?
For example:
browser.open
may indicate that the Agent is entering the task environment.
browser.snapshot
may indicate that the Agent is obtaining the current state of the page.
A:
browser.click
may be a normal action in the Agent's plan, or it may be an incorrect attempt.
A subsequent sequence such as:
Observation
β
Reflection
β
Retry
may indicate that the Agent recognized a problem and changed its execution strategy.
Experience is not merely about storing logs. It attempts to represent the execution experience formed while an Agent completes a task.
4. Experience and Training Data
Agent Experience is not itself equivalent to any particular model training format.
Experience first preserves the execution experience produced while an Agent completes a task:
Agent Experience
β
βββ SFT Dataset
βββ Tool-Use Dataset
βββ Reasoning Dataset
βββ Preference Dataset
βββ Reward / RL Dataset
βββ Agent Evaluation Dataset
For example:
Tool-Use Training
The following can be extracted:
Context
β
Action
β
Observation
Error-Recovery Training
The following can be extracted:
Failed Action
β
Error Observation
β
Reflection
β
Retry
β
Successful Action
Different training objectives can extract different data representations from the same Experience.
Therefore:
Experience can be considered an upstream data asset, while a Training Dataset is a downstream representation generated for a specific training objective.
5. Schema Example
A simplified Experience can be represented as:
{
"schema_version": "experience-v1.0",
"sample_id": "browser-exp-000001",
"question": {},
"thinking": {},
"plan": {},
"tool_use": [],
"observation": [],
"reflection": {},
"retry": {},
"memory_update": {},
"self_evaluation": {},
"answer": {},
"raw_trajectory": {}
}
Not every field is required.
A simple Experience may contain only:
Question
β
Open
β
Snapshot
β
Observation
β
Answer
A more complex Experience may contain multiple loops:
Action
β
Observation
β
Reflection
β
Retry
6. Loading the Data
import json
with open("xxx-xxx.jsonl", "r", encoding="utf-8") as f:
for line in f:
experience = json.loads(line)
print(experience["question"])
print(experience["thinking"])
print(experience["tool_use"])
print(experience["observation"])
print(experience["reflection"])
print(experience["answer"])
7. Generation Environment
Task Environment: Controlled Browser / Web / Workspace / ......
Task Types:
- Filesystem
- Browser
- Code
- ......
Agent Behavior:
- Thinking
- Planning
- Observation
- ......
Tool Use: Relevant tools
Difficulty Levels: Custom-defined
Generation Model: Based on MiniMax-M3
- Downloads last month
- 23