Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
id: string
source: string
history_mode: string
tools: string
messages: string
think_source: string
to
{'id': Value('string'), 'source': Value('string'), 'tools': Value('string'), 'messages': Value('string'), 'think_source': 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
id: string
source: string
history_mode: string
tools: string
messages: string
think_source: string
to
{'id': Value('string'), 'source': Value('string'), 'tools': Value('string'), 'messages': Value('string'), 'think_source': 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 datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | source string | tools string | messages string | think_source string |
|---|---|---|---|---|
apigen_mt-26 | apigen_mt | [{"type": "function", "function": {"name": "get_reservation_details", "description": "Get the details of a reservation.", "parameters": {"type": "object", "properties": {"reservation_id": {"type": "string", "description": "The reservation id, such as '8JX2WO'."}}, "required": ["reservation_id"]}}}, {"type": "function",... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-46 | apigen_mt | [{"type": "function", "function": {"name": "list_all_airports", "description": "List all airports and their cities.", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "update_reservation_baggages", "description": "Update the baggage information of a reserva... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-18 | apigen_mt | [{"type": "function", "function": {"name": "search_onestop_flight", "description": "Search direct flights between two cities on a specific date.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin city airport in three letters, such as 'JFK'."}, "destination": {"typ... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-7 | apigen_mt | [{"type": "function", "function": {"name": "list_all_airports", "description": "List all airports and their cities.", "parameters": {"type": "object", "properties": {}, "required": []}}}, {"type": "function", "function": {"name": "update_reservation_flights", "description": "Update the flight information of a reservati... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-61 | apigen_mt | [{"type": "function", "function": {"name": "search_direct_flight", "description": "Search direct flights between two cities on a specific date.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin city airport in three letters, such as 'JFK'."}, "destination": {"type... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v24_react |
apigen_mt-6 | apigen_mt | [{"type": "function", "function": {"name": "update_reservation_passengers", "description": "Update the passenger information of a reservation.", "parameters": {"type": "object", "properties": {"reservation_id": {"type": "string", "description": "The reservation ID, such as 'ZFA04Y'."}, "passengers": {"type": "array", "... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-70 | apigen_mt | [{"type": "function", "function": {"name": "search_onestop_flight", "description": "Search direct flights between two cities on a specific date.", "parameters": {"type": "object", "properties": {"origin": {"type": "string", "description": "The origin city airport in three letters, such as 'JFK'."}, "destination": {"typ... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-14 | apigen_mt | [{"type": "function", "function": {"name": "calculate", "description": "Calculate the result of a mathematical expression.", "parameters": {"type": "object", "properties": {"expression": {"type": "string", "description": "The mathematical expression to calculate, such as '2 + 2'. The expression can contain numbers, ope... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v23_annotate |
apigen_mt-49 | apigen_mt | [{"type": "function", "function": {"name": "update_reservation_flights", "description": "Update the flight information of a reservation.", "parameters": {"type": "object", "properties": {"reservation_id": {"type": "string", "description": "The reservation ID, such as 'ZFA04Y'."}, "cabin": {"type": "string", "enum": ["b... | [{"role": "system", "content": "# Airline Agent Policy\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users book, modify, or cancel flight reservations.\n- Before taking any actions that update the booking database (booking, modifying flights, editing baggage, upgrading cabin class, ... | v24_react |
apigen_mt-62 | apigen_mt | "[{\"type\": \"function\", \"function\": {\"name\": \"get_reservation_details\", \"description\": \"(...TRUNCATED) | "[{\"role\": \"system\", \"content\": \"# Airline Agent Policy\\nThe current time is 2024-05-15 15:0(...TRUNCATED) | v23_annotate |
agentic-think-v2-react-hybrid
Agentic tool-calling SFT corpus, 212,396 conversations, where 36% of the episodes carry reasoning generated in a gold-blind ReAct loop instead of after-the-fact annotation. Built by ENERZAi for small-model (1.7B ternary) agentic SFT.
This is a drop-in successor to HBKenerzai/agentic-think-v1:
same episodes, same scale, same schema — only the <think> text differs on the replaced rows.
Why it exists
In v1 every think block was written in annotate mode: the teacher was shown the gold action and asked to explain it. That produces reasoning which is really a post-hoc rationalization — measurably so. On rounds where the correct behavior is to call nothing, 83% of v1 action-paragraphs open with a stock verdict ("No function is called…"): the conclusion comes first and the reasoning is backfilled behind it.
v2 regenerates those episodes in react-match mode: the teacher never sees the gold action, solves the turn itself, and the episode is kept only if its function calls match gold (function name + normalized arguments, up to 5 attempts). Reasoning that survives is, by construction, reasoning that actually produced the action.
| metric (no-call rounds) | v1 (annotate) | v2 (hybrid) |
|---|---|---|
| action paragraph opens with a stock verdict | 74.0% | 69.3% |
| — restricted to the 36% replaced rows | 83.3% | 17.4% |
| assistant rounds carrying reasoning | 95.6% | 95.8% |
Schema
Identical to v1, plus one field.
| field | type | description |
|---|---|---|
id |
str | <source>-<episode> unique id |
source |
str | one of the 9 sources below |
tools |
str (JSON) | OpenAI-style function catalog (distractor-augmented, 9–16 entries) |
messages |
str (JSON) | OpenAI-style chat messages; every assistant message carries reasoning_content alongside content and tool_calls |
think_source |
str | new — v24_react (gold-blind, match-filtered) or v23_annotate (v1 reasoning, unchanged) |
history_mode |
str, optional | present on robot rows only |
from datasets import load_dataset
ds = load_dataset("HBKenerzai/agentic-think-v2-react-hybrid", split="train")
react_only = ds.filter(lambda r: r["think_source"] == "v24_react") # 76,723 rows
Composition
| file | rows | react-replaced | upstream license |
|---|---|---|---|
nemotron_tc.jsonl |
53,751 | 0 | CC-BY-4.0 |
glaive.jsonl |
44,980 | 21,844 (48.6%) | Apache-2.0 |
xlam.jsonl |
40,000 | 25,271 (63.2%) | CC-BY-4.0 |
synth_apigen.jsonl |
28,932 | 20,509 (70.9%) | CC-BY-4.0 |
nemotron_ia.jsonl |
21,929 | 0 | CC-BY-4.0 |
toolace.jsonl |
10,322 | 7,627 (73.9%) | Apache-2.0 |
robot.jsonl |
5,872 | 0 | CC-BY-4.0 |
apigen_mt.jsonl |
4,778 | 877 (18.4%) | CC-BY-4.0 |
hermes.jsonl |
1,832 | 595 (32.5%) | Apache-2.0 |
| total | 212,396 | 76,723 (36.1%) |
Known limitations
- Multi-turn episodes are not upgraded. The two
nemotronsplits (75,680 rows, 36% of the corpus) keep their v1 annotate reasoning. React-match yields only ~15% on long episodes, so regenerating them was not affordable; the replacement is concentrated in single- and few-turn sources. - Two reasoning styles coexist. Annotate reasoning targets 95–200 words, react reasoning 45–120, so the
corpus mixes two length distributions. Filter on
think_sourceif you need a homogeneous set. - Reasoning is teacher-generated (Qwen3.8-27B-FP8) and not human-verified.
- Some sources are heavily duplicated upstream — glaive in particular repeats a single user request up to 3,848 times, each paired with a different function catalog.
Method
- Teacher: Qwen3.8-27B-FP8, visible-channel thinking disabled, reasoning emitted as a three-paragraph
<reasoning>block (situation / action / flow). - React-match: gold-blind generation, per-step matching on function name plus normalized arguments, up to 5 attempts per mismatched round, recorded tool results replayed into the context.
- Rejection (no-call) episodes are augmented to 9–15 functions before generation, with a guard that drops any distractor whose name overlaps the user's request — so a refusal stays correct under the fatter catalog.
Provenance
Built on the agentic-datagen pipeline (LLM_Hard_STE, feature/agentic-datagen-vllm) by ENERZAi.
- Downloads last month
- 51