The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type string to null
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 361, 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 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2315, 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 2071, in cast_array_to_feature
_c(children[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 2121, in cast_array_to_feature
casted_array_values = _c(array.values, feature.feature)
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 2155, in cast_array_to_feature
return array_cast(
array,
...<2 lines>...
allow_decimal_to_str=allow_decimal_to_str,
)
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 2014, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type string to null
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 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 | cik int64 | ticker string | sector string | split string | accession string | fiscal_year int64 | period_end timestamp[s] | filing_date timestamp[s] | primary_document string | sections list | input string | input_chars int64 | gold dict | flags dict | record_flags list | usable bool | context_facts list | task string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ABNB-2021 | 1,559,720 | ABNB | Consumer Discretionary | train | 0001559720-22-000006 | 2,021 | 2021-12-31T00:00:00 | 2022-02-25T00:00:00 | abnb-20211231.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
Table of Contents
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
WASHINGTON, D.C. 20549
______________
FORM 10-K
______________
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 31, 2021
OR
☐ | TRANSITION REPORT PURSU... | 10,425 | {
"revenue": {
"value": 5991760000,
"scale": "thousands",
"period_end": "2021-12-31T00:00:00",
"fiscal_year": 2021,
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"displayed": "5,991,760"
},
"revenue_prior": {
"value": 3378199000,
"scale": "thousands",
"p... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [
"missing"
],
"eps_diluted": [
"missing"
],
"total_assets": [],
"cash": [
"multi_tag"
],
"equity": [],
"shares_outstanding": [
"missing"
],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"unit": "USD",
"start": "2019-01-01T00:00:00",
"end": "2019-12-31T00:00:00",
"val": 4805239000
},
{
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"unit": "USD",
"start": "2020-01-01T00... | v2 |
ABNB-2022 | 1,559,720 | ABNB | Consumer Discretionary | train | 0001559720-23-000003 | 2,022 | 2022-12-31T00:00:00 | 2023-02-17T00:00:00 | abnb-20221231.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
Table of Contents
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
WASHINGTON, D.C. 20549
______________
FORM 10-K
______________
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 31, 2022
OR
☐ | TRANSITION REPORT PURSU... | 9,601 | {
"revenue": {
"value": 8399000000,
"scale": "millions",
"period_end": "2022-12-31T00:00:00",
"fiscal_year": 2022,
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"displayed": "8,399"
},
"revenue_prior": {
"value": 5992000000,
"scale": "millions",
"period_... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [
"missing"
],
"eps_diluted": [
"missing"
],
"total_assets": [],
"cash": [
"multi_tag"
],
"equity": [],
"shares_outstanding": [
"missing"
],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"unit": "USD",
"start": "2020-01-01T00:00:00",
"end": "2020-12-31T00:00:00",
"val": 3378000000
},
{
"tag": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"unit": "USD",
"start": "2021-01-01T00... | v2 |
ADBE-2019 | 796,343 | ADBE | Information Technology | train | 0000796343-20-000013 | 2,019 | 2019-11-29T00:00:00 | 2020-01-21T00:00:00 | adbe10kfy19.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended November 29, 2019
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 ... | 10,533 | {
"revenue": {
"value": 11171297000,
"scale": "thousands",
"period_end": "2019-11-29T00:00:00",
"fiscal_year": 2019,
"tag": "us-gaap:Revenues",
"displayed": "11,171,297"
},
"revenue_prior": {
"value": 9030008000,
"scale": "thousands",
"period_end": "2018-11-30T00:00:00",
"f... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2016-12-03T00:00:00",
"end": "2017-12-01T00:00:00",
"val": 7301505000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2017-12-02T00:00:00",
"end": "2018-03-02T00:00:00",
"val": 2078947000
},
{
"tag": "... | v2 |
ADBE-2020 | 796,343 | ADBE | Information Technology | train | 0000796343-21-000004 | 2,020 | 2020-11-27T00:00:00 | 2021-01-15T00:00:00 | adbe-20201127.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended November 27, 2020
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 ... | 10,358 | {
"revenue": {
"value": 12868000000,
"scale": "millions",
"period_end": "2020-11-27T00:00:00",
"fiscal_year": 2020,
"tag": "us-gaap:Revenues",
"displayed": "12,868"
},
"revenue_prior": {
"value": 11171000000,
"scale": "millions",
"period_end": "2019-11-29T00:00:00",
"fiscal... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2017-12-02T00:00:00",
"end": "2018-11-30T00:00:00",
"val": 9030000000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2018-12-01T00:00:00",
"end": "2019-03-01T00:00:00",
"val": 2601000000
},
{
"tag": "... | v2 |
ADBE-2021 | 796,343 | ADBE | Information Technology | train | 0000796343-22-000032 | 2,021 | 2021-12-03T00:00:00 | 2022-01-21T00:00:00 | adbe-20211203.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 3, 2021
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 O... | 10,244 | {
"revenue": {
"value": 15785000000,
"scale": "millions",
"period_end": "2021-12-03T00:00:00",
"fiscal_year": 2021,
"tag": "us-gaap:Revenues",
"displayed": "15,785"
},
"revenue_prior": {
"value": 12868000000,
"scale": "millions",
"period_end": "2020-11-27T00:00:00",
"fiscal... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2018-12-01T00:00:00",
"end": "2019-11-29T00:00:00",
"val": 11171000000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2019-11-30T00:00:00",
"end": "2020-11-27T00:00:00",
"val": 12868000000
},
{
"tag":... | v2 |
ADBE-2022 | 796,343 | ADBE | Information Technology | train | 0000796343-23-000007 | 2,022 | 2022-12-02T00:00:00 | 2023-01-17T00:00:00 | adbe-20221202.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 2, 2022
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 O... | 10,223 | {
"revenue": {
"value": 17606000000,
"scale": "millions",
"period_end": "2022-12-02T00:00:00",
"fiscal_year": 2022,
"tag": "us-gaap:Revenues",
"displayed": "17,606"
},
"revenue_prior": {
"value": 15785000000,
"scale": "millions",
"period_end": "2021-12-03T00:00:00",
"fiscal... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2019-11-30T00:00:00",
"end": "2020-11-27T00:00:00",
"val": 12868000000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2020-11-28T00:00:00",
"end": "2021-12-03T00:00:00",
"val": 15785000000
},
{
"tag":... | v2 |
ADBE-2023 | 796,343 | ADBE | Information Technology | train | 0000796343-24-000006 | 2,023 | 2023-12-01T00:00:00 | 2024-01-17T00:00:00 | adbe-20231201.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 1, 2023
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 O... | 10,683 | {
"revenue": {
"value": 19409000000,
"scale": "millions",
"period_end": "2023-12-01T00:00:00",
"fiscal_year": 2023,
"tag": "us-gaap:Revenues",
"displayed": "19,409"
},
"revenue_prior": {
"value": 17606000000,
"scale": "millions",
"period_end": "2022-12-02T00:00:00",
"fiscal... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2020-11-28T00:00:00",
"end": "2021-12-03T00:00:00",
"val": 15785000000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2021-12-04T00:00:00",
"end": "2022-12-02T00:00:00",
"val": 17606000000
},
{
"tag":... | v2 |
ADBE-2024 | 796,343 | ADBE | Information Technology | train | 0000796343-25-000004 | 2,024 | 2024-11-29T00:00:00 | 2025-01-13T00:00:00 | adbe-20241129.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | ## Cover page
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
_____________________________
FORM 10-K
(Mark One)
☒ | ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended November 29, 2024
or
☐ | TRANSITION REPORT PURSUANT TO SECTION 13 ... | 10,821 | {
"revenue": {
"value": 21505000000,
"scale": "millions",
"period_end": "2024-11-29T00:00:00",
"fiscal_year": 2024,
"tag": "us-gaap:Revenues",
"displayed": "21,505"
},
"revenue_prior": {
"value": 19409000000,
"scale": "millions",
"period_end": "2023-12-01T00:00:00",
"fiscal... | {
"revenue": [],
"revenue_prior": [],
"net_income": [],
"eps_basic": [],
"eps_diluted": [],
"total_assets": [],
"cash": [],
"equity": [],
"shares_outstanding": [],
"operating_cash_flow": [],
"capex": [],
"fcf": []
} | [] | true | [
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2021-12-04T00:00:00",
"end": "2022-12-02T00:00:00",
"val": 17606000000
},
{
"tag": "us-gaap:Revenues",
"unit": "USD",
"start": "2022-12-03T00:00:00",
"end": "2023-12-01T00:00:00",
"val": 19409000000
},
{
"tag":... | v2 |
ADM-2019 | 7,084 | ADM | Consumer Staples | train | 0000007084-20-000009 | 2,019 | 2019-12-31T00:00:00 | 2020-02-18T00:00:00 | adm-20191231x10k.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | "## Cover page\n\nUNITED STATES\nSECURITIES AND EXCHANGE COMMISSION\nWASHINGTON, D. C. 20549\nFORM 1(...TRUNCATED) | 11,942 | {"revenue":{"value":64656000000,"scale":"millions","period_end":"2019-12-31T00:00:00","fiscal_year":(...TRUNCATED) | {"revenue":[],"revenue_prior":[],"net_income":[],"eps_basic":[],"eps_diluted":[],"total_assets":[],"(...TRUNCATED) | [] | true | [{"tag":"us-gaap:Revenues","unit":"USD","start":"2017-01-01T00:00:00","end":"2017-12-31T00:00:00","v(...TRUNCATED) | v2 |
ADM-2020 | 7,084 | ADM | Consumer Staples | train | 0000007084-21-000008 | 2,020 | 2020-12-31T00:00:00 | 2021-02-18T00:00:00 | adm-20201231.htm | [
"balance_sheet",
"cash_flow_statement",
"income_statement"
] | "## Cover page\n\nUNITED STATES\nSECURITIES AND EXCHANGE COMMISSION\nWASHINGTON, D. C. 20549\nFORM 1(...TRUNCATED) | 12,718 | {"revenue":{"value":64355000000,"scale":"millions","period_end":"2020-12-31T00:00:00","fiscal_year":(...TRUNCATED) | {"revenue":[],"revenue_prior":[],"net_income":["multi_tag"],"eps_basic":[],"eps_diluted":[],"total_a(...TRUNCATED) | [] | true | [{"tag":"us-gaap:Revenues","unit":"USD","start":"2018-01-01T00:00:00","end":"2018-12-31T00:00:00","v(...TRUNCATED) | v2 |
FilingFigures v2
1,549 SEC 10-K filings with twelve financial figures each, labelled from the companies' own XBRL data, plus an out-of-distribution test set of mid-size companies. Built to compare supervised fine-tuning and reinforcement learning (GRPO) on companies unlike the training set.
Code, prompt and results: github.com/nathankyryk/filing-figures (part 2). Part 1, with six figures: kyryk/filing-figures.
What's in it
| Split | Filings | Companies | Scored figures |
|---|---|---|---|
| train | 934 | 162 | 10,788 |
| validation | 214 | 37 | 2,433 |
| test | 207 | 36 | 2,324 |
| midcap_validation | 75 | 75 | 865 |
| midcap_test | 119 | 119 | 1,372 |
- train, validation, test: non-financial S&P 500 companies, 10-Ks for fiscal years 2019–2024, with part 1's split by company.
- midcap_validation, midcap_test: one FY2025 10-K each from S&P MidCap 400 companies, none of them on part 1's S&P 500 list. Smaller companies, a year after all the training data.
The twelve figures
Revenue, prior-year revenue, net income, basic and diluted EPS, total assets, cash and cash equivalents, stockholders' equity, shares outstanding, operating cash flow, capital expenditures, and free cash flow (operating cash flow minus capex).
Records have the same keys as part 1 (id, input, gold, flags, context_facts, …). In gold, null means not scored. Free cash flow is scored only when both its parts are.
How the labels were made
Same method as part 1: values from SEC companyfacts matched to the filing and period, the printed scale from inline XBRL, and a figure scored only if its printed number is in the model input.
Hand-check: 50 midcap_test filings (550 figures) checked against the filings. No value was wrong; 10 figures the key had left blank were filled in. In the 25 random filings, 4 of 275 figures changed, all blanks filled in.
Scoring
A figure is right when its value is within 0.5% (EPS: within $0.005) and its period end is exact. See evaluate.py in the code repo.
Source and license
- Built from public SEC EDGAR filings and XBRL data.
- Labels, inputs and structure: CC-BY-4.0.
- Downloads last month
- 31