pre_text listlengths 23 533 | post_text listlengths 21 905 | filename stringlengths 18 23 | table_ori listlengths 2 20 | table listlengths 1 20 | qa dict | id stringlengths 20 25 | table_retrieved listlengths 0 5 | text_retrieved listlengths 0 5 | table_retrieved_all listlengths 1 20 | text_retrieved_all listlengths 2 490 |
|---|---|---|---|---|---|---|---|---|---|---|
[
"the following is a schedule of future minimum rental payments required under long-term operating leases at october 29 , 2011 : fiscal years operating leases .",
"analog devices , inc .",
"notes to consolidated financial statements 2014 ( continued ) asu no .",
"2011-05 is effective for fiscal years , and int... | [
"12 .",
"commitments and contingencies from time to time in the ordinary course of the company 2019s business , various claims , charges and litigation are asserted or commenced against the company arising from , or related to , contractual matters , patents , trademarks , personal injury , environmental matters ... | ADI/2009/page_49.pdf | [
[
"",
"October 31, 2009",
"November 1, 2008"
],
[
"Fair value of forward exchange contracts asset (liability)",
"$6,427",
"$(23,158)"
],
[
"Fair value of forward exchange contracts after a 10% unfavorable movement in foreign currency exchange rates asset (liability)",
"$20,13... | [
[
"",
"october 31 2009",
"november 1 2008"
],
[
"fair value of forward exchange contracts asset ( liability )",
"$ 6427",
"$ -23158 ( 23158 )"
],
[
"fair value of forward exchange contracts after a 10% ( 10 % ) unfavorable movement in foreign currency exchange rates asset ( liabi... | {
"question": "what is the the interest expense in 2009?",
"answer": "380",
"explanation": "",
"ann_table_rows": [],
"ann_text_rows": [
1
],
"steps": [
{
"op": "divide1-1",
"arg1": "100",
"arg2": "100",
"res": "1%"
},
{
"op": "divide1-2",
"arg1": "3.8",
... | ADI/2009/page_49.pdf-1 | [
{
"score": -0.620767951,
"ind": "table_1"
},
{
"score": -0.8948984742,
"ind": "table_2"
}
] | [
{
"score": 1.2513695955,
"ind": "text_1"
},
{
"score": 0.6589734554,
"ind": "text_0"
},
{
"score": -0.1914736032,
"ind": "text_14"
}
] | [
{
"score": -0.620767951,
"ind": "table_1"
},
{
"score": -0.8948984742,
"ind": "table_2"
},
{
"score": -1.2129878998,
"ind": "table_3"
},
{
"score": -2.9782934189,
"ind": "table_0"
}
] | [
{
"score": 1.2513695955,
"ind": "text_1"
},
{
"score": 0.6589734554,
"ind": "text_0"
},
{
"score": -0.1914736032,
"ind": "text_14"
},
{
"score": -1.0945320129,
"ind": "text_47"
},
{
"score": -1.4916260242,
"ind": "text_24"
},
{
"score": -1.561557889,
... |
[
"97% ( 97 % ) of its carrying value .",
"the columbia fund is being liquidated with distributions to us occurring and expected to be fully liquidated during calendar 2008 .",
"since december 2007 , we have received disbursements of approximately $ 20.7 million from the columbia fund .",
"our operating activit... | [
"we have no long-term debt , capital leases or other material commitments , for open purchase orders and clinical trial agreements at march 31 , 2008 other than those shown in the table above .",
"in may 2005 , we acquired all the shares of outstanding capital stock of impella cardiosystems ag , a company headqua... | ABMD/2012/page_75.pdf | [
[
"",
"Number of Shares (in thousands)",
"Weighted Average Grant Date Fair Value (per share)"
],
[
"Restricted stock and restricted stock units at beginning of year",
"407",
"$9.84"
],
[
"Granted",
"607",
"18.13"
],
[
"Vested",
"(134)",
"10.88"
],
[
... | [
[
"",
"number of shares ( in thousands )",
"weighted average grant date fair value ( per share )"
],
[
"restricted stock and restricted stock units at beginning of year",
"407",
"$ 9.84"
],
[
"granted",
"607",
"18.13"
],
[
"vested",
"-134 ( 134 )",
"10.88"... | {
"question": "during the 2012 year , did the equity awards in which the prescribed performance milestones were achieved exceed the equity award compensation expense for equity granted during the year?",
"answer": "",
"explanation": "",
"ann_table_rows": [
2
],
"ann_text_rows": [
15
],
"steps": ... | ABMD/2012/page_75.pdf-1 | [
{
"score": 1.944458127,
"ind": "table_2"
}
] | [
{
"score": 1.8354555368,
"ind": "text_15"
},
{
"score": 0.6985082626,
"ind": "text_16"
},
{
"score": -0.0046789814,
"ind": "text_14"
},
{
"score": -0.4153654575,
"ind": "text_3"
}
] | [
{
"score": 1.944458127,
"ind": "table_2"
},
{
"score": -0.5106714368,
"ind": "table_5"
},
{
"score": -0.7459333539,
"ind": "table_1"
},
{
"score": -1.1771548986,
"ind": "table_3"
},
{
"score": -1.4198765755,
"ind": "table_4"
},
{
"score": -2.9861085415... | [
{
"score": 1.8354555368,
"ind": "text_15"
},
{
"score": 0.6985082626,
"ind": "text_16"
},
{
"score": -0.0046789814,
"ind": "text_14"
},
{
"score": -0.4153654575,
"ind": "text_3"
},
{
"score": -0.8123402596,
"ind": "text_11"
},
{
"score": -0.8589906096,... |
[
"table of contents interest expense , net of capitalized interest increased $ 64 million , or 9.8% ( 9.8 % ) , to $ 710 million in 2013 from $ 646 million in 2012 primarily due to special charges of $ 92 million to recognize post-petition interest expense on unsecured obligations pursuant to the plan and penalty in... | [
"as of december 31 , 2018 , we did not have any fuel hedging contracts outstanding to hedge our fuel consumption .",
"as such , and assuming we do not enter into any future transactions to hedge our fuel consumption , we will continue to be fully exposed to fluctuations in fuel prices .",
"our current policy is... | AAL/2018/page_13.pdf | [
[
"Year",
"Gallons",
"Average Priceper Gallon",
"Aircraft FuelExpense",
"Percent of TotalOperating Expenses"
],
[
"2018",
"4,447",
"$2.23",
"$9,896",
"23.6%"
],
[
"2017",
"4,352",
"1.73",
"7,510",
"19.6%"
],
[
"2016",
"4,347",
"1.42... | [
[
"year",
"gallons",
"average priceper gallon",
"aircraft fuelexpense",
"percent of totaloperating expenses"
],
[
"2018",
"4447",
"$ 2.23",
"$ 9896",
"23.6% ( 23.6 % )"
],
[
"2017",
"4352",
"1.73",
"7510",
"19.6% ( 19.6 % )"
],
[
"2016",
... | {
"question": "what was the total operating expenses in 2018 in millions",
"answer": "41932",
"explanation": "the total operating expenses is obtained by dividing the fuel expenses$ by the percent of operating expenses",
"ann_table_rows": [],
"ann_text_rows": [],
"steps": [
{
"op": "divide2-1",
... | AAL/2018/page_13.pdf-2 | [
{
"score": 1.6105544567,
"ind": "table_1"
},
{
"score": -0.5958808661,
"ind": "table_2"
},
{
"score": -0.7756236792,
"ind": "table_3"
}
] | [
{
"score": -1.6479225159,
"ind": "text_9"
},
{
"score": -1.7906625271,
"ind": "text_1"
}
] | [
{
"score": 1.6105544567,
"ind": "table_1"
},
{
"score": -0.5958808661,
"ind": "table_2"
},
{
"score": -0.7756236792,
"ind": "table_3"
},
{
"score": -3.0481088161,
"ind": "table_0"
}
] | [
{
"score": -1.6479225159,
"ind": "text_9"
},
{
"score": -1.7906625271,
"ind": "text_1"
},
{
"score": -1.8807566166,
"ind": "text_3"
},
{
"score": -2.129668951,
"ind": "text_10"
},
{
"score": -2.1866760254,
"ind": "text_4"
},
{
"score": -2.2171370983,
... |
[
"in summary , our cash flows for each period were as follows : years ended ( in millions ) dec 30 , dec 31 , dec 26 .",
"in summary , our cash flows for each period were as follows: .",
"the fair value of our grants receivable is determined using a discounted cash flow model , which discounts future cash flows ... | [
"operating activities cash provided by operating activities is net income adjusted for certain non-cash items and changes in assets and liabilities .",
"for 2017 compared to 2016 , the $ 302 million increase in cash provided by operating activities was due to changes to working capital partially offset by adjustm... | INTC/2013/page_71.pdf | [
[
"(In Millions)",
"Dec 28,2013",
"Dec 29,2012"
],
[
"Available-for-sale investments",
"$18,086",
"$14,001"
],
[
"Cash",
"854",
"593"
],
[
"Equity method investments",
"1,038",
"992"
],
[
"Loans receivable",
"1,072",
"979"
],
[
"Non... | [
[
"( in millions )",
"dec 282013",
"dec 292012"
],
[
"available-for-sale investments",
"$ 18086",
"$ 14001"
],
[
"cash",
"854",
"593"
],
[
"equity method investments",
"1038",
"992"
],
[
"loans receivable",
"1072",
"979"
],
[
"non-m... | {
"question": "what percentage of total cash and investments as of dec . 29 2012 was comprised of available-for-sale investments?",
"answer": "53%",
"explanation": "",
"ann_table_rows": [
1,
8
],
"ann_text_rows": [],
"steps": [
{
"op": "divide1-1",
"arg1": "14001",
"arg2": "2... | INTC/2013/page_71.pdf-4 | [
{
"score": 2.9937365055,
"ind": "table_8"
},
{
"score": 2.5313389301,
"ind": "table_1"
},
{
"score": 1.592736721,
"ind": "table_2"
}
] | [
{
"score": -2.1417255402,
"ind": "text_9"
},
{
"score": -2.5805420876,
"ind": "text_11"
}
] | [
{
"score": 2.9937365055,
"ind": "table_8"
},
{
"score": 2.5313389301,
"ind": "table_1"
},
{
"score": 1.592736721,
"ind": "table_2"
},
{
"score": -3.2686553001,
"ind": "table_3"
},
{
"score": -3.3260540962,
"ind": "table_4"
},
{
"score": -3.4611523151,
... | [
{
"score": -2.1417255402,
"ind": "text_9"
},
{
"score": -2.5805420876,
"ind": "text_11"
},
{
"score": -2.9499197006,
"ind": "text_12"
},
{
"score": -3.0562796593,
"ind": "text_1"
},
{
"score": -3.1896078587,
"ind": "text_2"
},
{
"score": -3.2461423874,... |
[
"entergy texas , inc .",
"and subsidiaries management 2019s financial discussion and analysis in addition to the contractual obligations given above , entergy texas expects to contribute approximately $ 17 million to its qualified pension plans and approximately $ 3.2 million to other postretirement health care a... | [
"the retail electric price variance is primarily due to the cessation of the interim storm recovery through the formula rate plan upon the act 55 financing of storm costs and a credit passed on to customers as a result of the act 55 storm cost financing , partially offset by increases in the formula rate plan effec... | ETR/2008/page_313.pdf | [
[
"",
"Amount (In Millions)"
],
[
"2007 net revenue",
"$991.1"
],
[
"Retail electric price",
"(17.1)"
],
[
"Purchased power capacity",
"(12.0)"
],
[
"Net wholesale revenue",
"(7.4)"
],
[
"Other",
"4.6"
],
[
"2008 net revenue",
"$959.2"
... | [
[
"",
"amount ( in millions )"
],
[
"2007 net revenue",
"$ 991.1"
],
[
"retail electric price",
"-17.1 ( 17.1 )"
],
[
"purchased power capacity",
"-12.0 ( 12.0 )"
],
[
"net wholesale revenue",
"-7.4 ( 7.4 )"
],
[
"other",
"4.6"
],
[
"2008 n... | {
"question": "what is the growth rate in net revenue in 2008?",
"answer": "-3.2%",
"explanation": "",
"ann_table_rows": [
1,
6
],
"ann_text_rows": [],
"steps": [
{
"op": "minus1-1",
"arg1": "959.2",
"arg2": "991.1",
"res": "-31.9"
},
{
"op": "divide1-2",
... | ETR/2008/page_313.pdf-3 | [
{
"score": 3.0959851742,
"ind": "table_6"
},
{
"score": 2.842208147,
"ind": "table_1"
},
{
"score": 1.1800336838,
"ind": "table_4"
},
{
"score": -0.5631187558,
"ind": "table_5"
}
] | [
{
"score": -0.5041980147,
"ind": "text_2"
}
] | [
{
"score": 3.0959851742,
"ind": "table_6"
},
{
"score": 2.842208147,
"ind": "table_1"
},
{
"score": 1.1800336838,
"ind": "table_4"
},
{
"score": -0.5631187558,
"ind": "table_5"
},
{
"score": -0.9533075094,
"ind": "table_3"
},
{
"score": -1.3480026722,
... | [
{
"score": -0.5041980147,
"ind": "text_2"
},
{
"score": -1.7164840698,
"ind": "text_1"
},
{
"score": -1.8994739056,
"ind": "text_0"
},
{
"score": -2.1532230377,
"ind": "text_11"
},
{
"score": -2.3085215092,
"ind": "text_3"
},
{
"score": -2.6234269142,
... |
["cgmhi also has substantial borrowing arrangements consisting of facilities that cgmhi has been adv(...TRUNCATED) | ["long-term debt at december 31 , 2008 and december 31 , 2007 includes $ 24060 million and $ 23756 m(...TRUNCATED) | C/2010/page_272.pdf | [["In billions of dollars","Aggregate cost","Fair value","Level 2","Level 3"],["December 31, 2010","(...TRUNCATED) | [["in billions of dollars","aggregate cost","fair value","level 2","level 3"],["december 31 2010","$(...TRUNCATED) | {"question":"what was the growth rate of the loans held-for-sale that are carried at locom from 2009(...TRUNCATED) | C/2010/page_272.pdf-1 | [
{
"score": 1.5295935869,
"ind": "table_1"
},
{
"score": 1.3626971245,
"ind": "table_2"
}
] | [{"score":-1.0090608597,"ind":"text_13"},{"score":-1.1999132633,"ind":"text_9"},{"score":-2.78599214(...TRUNCATED) | [{"score":1.5295935869,"ind":"table_1"},{"score":1.3626971245,"ind":"table_2"},{"score":-3.796379327(...TRUNCATED) | [{"score":-1.0090608597,"ind":"text_13"},{"score":-1.1999132633,"ind":"text_9"},{"score":-2.78599214(...TRUNCATED) |
["the long term .","in addition , we have focused on building relationships with large multinational(...TRUNCATED) | ["property operations expenses .","direct operating expenses incurred by our property segments inclu(...TRUNCATED) | AMT/2012/page_121.pdf | [["","Preliminary Purchase Price Allocation"],["Current assets","$8,763"],["Non-current assets","2,3(...TRUNCATED) | [["","preliminary purchase price allocation"],["current assets","$ 8763"],["non-current assets","233(...TRUNCATED) | {"question":"for acquired customer-related and network location intangibles , what is the expected a(...TRUNCATED) | AMT/2012/page_121.pdf-1 | [
{
"score": -1.0255281925,
"ind": "table_4"
}
] | [{"score":2.1700561047,"ind":"text_0"},{"score":2.0962028503,"ind":"text_7"},{"score":1.4242997169,"(...TRUNCATED) | [{"score":-1.0255281925,"ind":"table_4"},{"score":-1.2786338329,"ind":"table_3"},{"score":-1.9659036(...TRUNCATED) | [{"score":2.1700561047,"ind":"text_0"},{"score":2.0962028503,"ind":"text_7"},{"score":1.4242997169,"(...TRUNCATED) |
["scheduled maturities of our marketable securities are as follows: .","reduced administrative expen(...TRUNCATED) | ["as of may 27 , 2018 , we did not any have cash and cash equivalents pledged as collateral for deri(...TRUNCATED) | GIS/2019/page_45.pdf | [["In Millions","Fiscal 2019"],["Net earnings, including earnings attributable to redeemable and non(...TRUNCATED) | [["in millions","fiscal 2019"],["net earnings including earnings attributable to redeemable and nonc(...TRUNCATED) | {"question":"in 2019 what was the percent of the net earnings to the net cash provided by operating (...TRUNCATED) | GIS/2019/page_45.pdf-1 | [{"score":2.1708843708,"ind":"table_15"},{"score":1.589494586,"ind":"table_1"},{"score":0.3955131769(...TRUNCATED) | [] | [{"score":2.1708843708,"ind":"table_15"},{"score":1.589494586,"ind":"table_1"},{"score":0.3955131769(...TRUNCATED) | [{"score":-1.233235836,"ind":"text_8"},{"score":-1.7390214205,"ind":"text_1"},{"score":-1.8376830816(...TRUNCATED) |
["notes to consolidated financial statements 2013 ( continued ) ( amounts in millions , except per s(...TRUNCATED) | ["we have used interest rate swaps for risk management purposes to manage our exposure to changes in(...TRUNCATED) | IPG/2009/page_89.pdf | [["","2010","2011","2012","2013","2014","Thereafter","Total"],["Deferred acquisition payments","$20.(...TRUNCATED) | [["","2010","2011","2012","2013","2014","thereafter","total"],["deferred acquisition payments","$ 20(...TRUNCATED) | {"question":"what percentage decrease occurred from 2011-2012 for deferred acquisition payments?","a(...TRUNCATED) | IPG/2009/page_89.pdf-3 | [
{
"score": 2.7176194191,
"ind": "table_1"
},
{
"score": 0.9227148294,
"ind": "table_5"
}
] | [{"score":0.8372762203,"ind":"text_11"},{"score":0.4988228381,"ind":"text_7"},{"score":0.3907050192,(...TRUNCATED) | [{"score":2.7176194191,"ind":"table_1"},{"score":0.9227148294,"ind":"table_5"},{"score":-0.762242555(...TRUNCATED) | [{"score":0.8372762203,"ind":"text_11"},{"score":0.4988228381,"ind":"text_7"},{"score":0.3907050192,(...TRUNCATED) |
["the changes in the gross amount of unrecognized tax benefits for the year ended december 29 , 2007(...TRUNCATED) | ["as of december 29 , 2007 , $ 228.4 million of unrecognized tax benefits would , if recognized , re(...TRUNCATED) | CDNS/2018/page_32.pdf | [["Period","Total Numberof SharesPurchased<sup>(1)</sup>","AveragePrice PaidPer Share<sup>(2)</sup>"(...TRUNCATED) | [["period","total numberof sharespurchased ( 1 )","averageprice paidper share ( 2 )","total number o(...TRUNCATED) | {"question":"how is net change in cash from financing activity affected by the share repurchase duri(...TRUNCATED) | CDNS/2018/page_32.pdf-2 | [{"score":0.8062090874,"ind":"table_3"},{"score":0.355974108,"ind":"table_2"},{"score":-0.0053542871(...TRUNCATED) | [
{
"score": -0.3604299128,
"ind": "text_0"
},
{
"score": -0.5366492271,
"ind": "text_2"
}
] | [{"score":0.8062090874,"ind":"table_3"},{"score":0.355974108,"ind":"table_2"},{"score":-0.0053542871(...TRUNCATED) | [{"score":-0.3604299128,"ind":"text_0"},{"score":-0.5366492271,"ind":"text_2"},{"score":-0.738919496(...TRUNCATED) |
Natively Extended FinQA
Natively Extended FinQA is a long-context derivative of FinQA for numerical reasoning over financial data.
It preserves the FinQA task while increasing the amount of financial context surrounding each question.
Average context increased from approximately:
611 words per question
to:
5,629 words per question
Splits
| Hugging Face Split | File | Records |
|---|---|---|
train |
long_train.json |
6,251 |
validation |
long_dev.json |
883 |
test |
long_test.json |
1,147 |
private_test |
long_private_test.json |
919 |
Load with Hugging Face Datasets
from datasets import load_dataset
dataset = load_dataset(
"Mr-Rosen/Accuracy-Is-Not-Enough-FinQA-Dataset"
)
print(dataset)
print(dataset["train"][0]["qa"]["question"])
To load only one split:
test = load_dataset(
"Mr-Rosen/Accuracy-Is-Not-Enough-FinQA-Dataset",
split="test",
)
Load as Standard JSON
import json
with open("data/long_test.json", "r", encoding="utf-8") as f:
test = json.load(f)
Dataset Structure
Important top-level fields include:
id
pre_text
table
post_text
qa
Important qa fields include:
question
program
exe_ans
gold_inds
Additional FinQA fields may also be present.
Field Usage
Model-Visible Full-Context Input
qa.question
pre_text
table
post_text
Supervised Training Target
qa.program
Evaluation-Only / Gold Information
Do not expose these fields to a model during normal validation or test inference:
qa.program
qa.answer
qa.exe_ans
qa.gold_inds
Example:
def extract_model_input(example):
return {
"question": example["qa"]["question"],
"pre_text": example.get("pre_text", []),
"table": example.get("table", []),
"post_text": example.get("post_text", []),
}
FinQA Program Format
The associated experiments generate structured FinQA programs.
Example:
["subtract(", "5829", "5735", ")", "EOF"]
Multi-step programs can reference previous operations:
[
"subtract(",
"5829",
"5735",
")",
"divide(",
"#0",
"5735",
")",
"EOF"
]
These programs should be evaluated with the FinQA evaluator.
Dataset Construction
The expanded version adds additional native financial context around FinQA examples.
The goal is to increase context noise while retaining the original question, financial table data, program targets, execution answers, and supporting-evidence information.
Context blocks were varied so relevant evidence would not always occupy a predictable position.
Ordering within individual source blocks was preserved.
Recommended Usage
train -> adapter training
validation -> prompt/checkpoint/config selection
test -> final evaluation
private_test -> private-test-style use
If reproducing the accompanying study, do not use the test split for tuning.
Associated Research
The dataset supports a six-method comparison using:
Qwen/Qwen2.5-7B-Instruct
Methods:
- Baseline
- RAG
- LoRA
- QLoRA
- RAG + LoRA
- RAG + QLoRA
Research repository:
MarkPaulRosenthal/Accuracy-Is-Not-Enough-Practical-Financial-QA
GitHub dataset repository:
MarkPaulRosenthal/Accuracy-Is-Not-Enough-FinQA-Dataset
Retrieval Data
The fixed practical retrieval artifacts used by the RAG-family methods are published in the companion research repository rather than this dataset repository.
They are derived model inputs, not primary benchmark splits.
Intended Uses
Appropriate uses include:
- long-context financial QA
- numerical reasoning
- structured program generation
- retrieval evaluation
- RAG
- LoRA/QLoRA
- context-noise analysis
- full-context versus retrieved-context comparisons
Limitations
This is a controlled FinQA-derived benchmark rather than a random sample of complete production financial documents.
Results should not automatically be generalized to arbitrary financial reports or other financial domains without external evaluation.
License
CC BY 4.0
This dataset remains a derivative of FinQA and should be attributed accordingly.
Attribution
Natively Extended FinQA builds on:
FinQA: A Dataset of Numerical Reasoning over Financial Data
Users should cite the original FinQA work when using this derivative dataset.
- Downloads last month
- 38