Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 281, in _generate_tables
                  examples = [ujson_loads(line) for line in batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              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 1379, 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 956, 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 1702, 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 1887, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

task
list
steps
list
reward
float64
trajectory_id
string
final_response
string
metadata
dict
[ { "role": "user", "content": "Company: applied_materials\nQuestion: For company `applied_materials`, here is the question: What is the contribution of income taxes payable to the total accounts payable and accrued expenses as of October 27, 2024?\n\nUse the available tools to look up the relevant financial ...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "3e0ba4bbe", "name": "list_tables", "arguments": { "company_prefix": "applied_materials" } } ] }, "observation": "{'list_tables...
0
val-28#t2
Error: The returned table list does not contain a table with the exact name "applied_materials us gaap income taxes payable".
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: valero\nQuestion: For company `valero`, here is the question: What is the spread between the discount rate for pension plans in 2024 and 2023?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSuggested steps:\n 1. Call list_ta...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "11cdf103b", "name": "list_tables", "arguments": { "company_prefix": "valero" } }, { "id": "ba0b26d71", "name": "...
0
val-486#t0
<answer>Error: Cannot compute the spread due to missing or invalid values in the tables.</answer>
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: applied_materials\nQuestion: For company `applied_materials`, here is the question: What percentage of the total other comprehensive income (loss), net of tax for the period ending October 27, 2024, was attributable to unrealized gain (loss) on derivative instruments q...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "95fd4ef58", "name": "list_tables", "arguments": { "company_prefix": "applied_materials" } } ] }, "observation": "{'list_tables...
0
val-29#t1
-93%
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: valero\nQuestion: For company `valero`, here is the question: What is the spread between the discount rate for pension plans in 2024 and 2023?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSuggested steps:\n 1. Call list_ta...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "9b778a0ed", "name": "list_tables", "arguments": { "company_prefix": "valero" } } ] }, "observation": "{'list_tables': 'valero_...
0
val-486#t1
<answer>9.53%</answer>
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: valero\nQuestion: For company `valero`, here is the question: What is the change in total net periodic benefit cost not yet recognized for pension plans from 2023 to 2024?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSugges...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "355b43e00", "name": "list_tables", "arguments": { "company_prefix": "valero" } } ] }, "observation": "{'list_tables': 'valero_...
0
val-499#t1
The change in the total net periodic benefit cost not yet recognized for pension plans from 2023 to 2024 for Valero is **$X,XXX,XXX**.
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: valero\nQuestion: For company `valero`, here is the question: What is the spread between the discount rate for pension plans in 2024 and 2023?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSuggested steps:\n 1. Call list_ta...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "ad717ec4b", "name": "list_tables", "arguments": { "company_prefix": "valero" } } ] }, "observation": "{'list_tables': 'valero_...
0
val-486#t2
The spread between the discount rate for pension plans in 2024 and 2023 is not provided in the tables. To compute the spread, additional financial tables related to pension liabilities or discount rates would be required.
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: valero\nQuestion: For company `valero`, here is the question: What is the proportion of U.S. income tax expense attributable to country-level taxes in 2024?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSuggested steps:\n 1...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "63be20f88", "name": "list_tables", "arguments": { "company_prefix": "valero" } } ] }, "observation": "{'list_tables': 'valero_...
0
val-488#t1
<answer>0.2</answer>
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: starbucks\nQuestion: For company `starbucks`, here is the question: What is the change in total accrued liabilities from October 1, 2023, to September 29, 2024?\n\nUse the available tools to look up the relevant financial data and compute the answer.\nSuggested steps:\...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "3ec02e5e0", "name": "list_tables", "arguments": { "company_prefix": "starbucks" } }, { "id": "43f2b2b49", "name"...
0
val-461#t0
<answer>-0.0</answer>
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: applied_materials\nQuestion: For company `applied_materials`, here is the question: What percentage of the total other comprehensive income (loss), net of tax for the period ending October 27, 2024, was attributable to unrealized gain (loss) on derivative instruments q...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "61adb901c", "name": "list_tables", "arguments": { "company_prefix": "applied_materials" } }, { "id": "e31f367f8", ...
0
val-29#t2
The percentage of the total other comprehensive income (loss), net of tax for the period ending October 27, 2024, attributable to unrealized gain (loss) on derivative instruments qualifying as cash flow hedges for applied_materials is **46.15%**.
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
[ { "role": "user", "content": "Company: applied_materials\nQuestion: For company `applied_materials`, here is the question: What is the contribution of income taxes payable to the total accounts payable and accrued expenses as of October 27, 2024?\n\nUse the available tools to look up the relevant financial ...
[ { "step_number": 0, "state": "[turn=0, conv_len=4]", "action": { "tool_calls": [ { "id": "2bf45a157", "name": "list_tables", "arguments": { "company_prefix": "applied_materials" } } ] }, "observation": "{'list_tables...
0
val-28#t0
To answer the question "What is the contribution of income taxes payable to the total accounts payable and accrued expenses as of October 27, 2024?": 1. Identify the relevant table: `applied_materials_us_gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock`. 2. Identify the relevant columns: `income_ta...
{ "conversation": [ { "role": "system", "content": "You are a financial analyst. Answer questions about a company's financial tables by calling the tools. Call one tool at a time and wait for its result. When you know the answer, reply with only the final number inside <answer></answer> tags.\n\nYou c...
End of preview.

Efficient Healer: trajectories, failure labels, training sets and evaluation logs

Everything produced by the three-round self-healing run behind Purusharth/tiny-aya-efficient-healer-lora, a LoRA that turns CohereLabs/tiny-aya-global into a finance database agent, and its sibling Purusharth/aya-expanse-8b-efficient-healer-lora. Code and write-up: github.com/purusharthmalik/efficient-healer.

Built for the Lexsi Labs hackathon, Track 3 (Agentic Fine-tuning), with AgentTune and AuditKIT.

Headline

On 400 held-out questions from companies never seen in training (3 runs each), task success goes from 0.5% (base Tiny Aya) to 25.2% (round 1), 30.4% (round 2) and 49.1% (round 3). Every student and teacher run behind that is here, successes and failures alike, together with the further experiments (Aya Expanse 8B as the student, DPO, a retention and safety check).

What is here

Path Contents
splits.json The 480 train-pool tasks and 100 held-out tasks (FinQA), company-disjoint
splits_confirm.json Held-out set A: 400 more held-out tasks from the same 55 held-out companies, used to confirm the round 2 gate
round1/student.jsonl Base Tiny Aya, 480 tasks × 4 rollouts
round1/failures.json Failure labels: rule label and AgentTune FailureClassifier root cause
round1/repair/ Hint chosen for every failing task
round1/hint_retry.jsonl Hinted retries by the student
round1/teacher.jsonl Teacher rollouts (nvidia/Qwen3.6-35B-A3B-NVFP4), 3 per task
round1/dataset/rows.jsonl Round 1 training set, in Tiny Aya's own conversation format
round1/dataset/preference_pairs.jsonl The same repairs as (prompt, chosen, rejected), ready for DPO
round1/dataset/agenttune_loop.json AgentTune FailureDetector and RetrainingTrigger output
round2/… The same files for round 2, where the student is the round 1 adapter
round3/… The same files for round 3, where the student is the round 2 adapter and the pool has 1,400 tasks
splits_pool1400.json The round 3 pool (the 480 earlier tasks are its first 480)
splits_heldout_B.json Held-out set B: 400 fresh questions used for the round 3 gate
eval/setB_*.jsonl, eval/confirm_r3.jsonl Round 2 and round 3 adapters, Aya Expanse and DPO on sets A and B
eval/gate_round3.json, eval/gate_dpo*.json Gate decisions for round 3 and for DPO
exploration/dpo_on_round2/pairs.jsonl, exploration/dpo_on_round3/pairs.jsonl Step-level preference pairs: conversation prefix, chosen turn, rejected turn
exploration/retention/report.json AuditKIT retention and safety check (GSM8K, XSTest, Global-MMLU)
exploration/void_expanse_run_without_database/ A void evaluation, kept for transparency: the FinQA database was missing, so every lookup failed
worker_logs_exploration/ Console logs of the two exploration jobs
eval/*.jsonl Held-out rollouts (100 tasks × 3) for the base model and both adapters, with and without the harness stop rule
eval/confirm_*.jsonl The confirmatory evaluation: 400 tasks × 3 for the base model and both adapters
eval/cmp_*/ AuditKIT results and paired-bootstrap comparisons for every pair of models
eval/gate_round1.json, eval/gate_round2.json Gate decisions on the first held-out set (round 2: hold)
eval/gate_round1_confirm.json, eval/gate_round2_confirm.json Gate decisions on the confirmatory set (round 2: deploy)
negative_all_token_loss/ The first adapter's evaluation, trained with the loss on all tokens (it failed)
pilot/ Pilot runs: Tiny Aya and Aya Expanse 8B with and without the stop rule, and the teacher
worker_logs/ Console log of every pipeline step

Record format

Every rollout file is JSON Lines in AgentTune's portable trajectory format (Trajectory.to_dict()), which AuditKIT reads directly with auditkit.episodes_from_agenttune(path):

  • task, steps[] (each with action.tool_calls[] and observation), final_response, reward
  • metadata.conversation: the exact messages the model saw and wrote
  • metadata.selfheal: task_id, trial, tag, gold, success (tolerant verifier), strict (AgentTune numerical_match_reward), verify_rule, pred, n_tool_calls, n_tool_failures, prompt_tokens, completion_tokens, seconds, hint, harness_stop

Training rows (rows.jsonl) have messages, source (efficiency, reliability, repair_hint, repair_teacher), round, task_id and n_tool_calls.

Source data and licence

Questions, answers and tables come from FinQA as packaged in rLLM/rLLM-FinQA-Dataset and loaded through AgentTune. Student outputs come from CohereLabs/tiny-aya-global (CC-BY-NC-4.0), teacher outputs from nvidia/Qwen3.6-35B-A3B-NVFP4 (Apache-2.0). This dataset is released under CC-BY-NC-4.0.

Language: English. No personal data; the tables are public company filings.

Downloads last month
257

Models trained or fine-tuned on Purusharth/efficient-healer-trajectories

Collection including Purusharth/efficient-healer-trajectories

Article mentioning Purusharth/efficient-healer-trajectories