Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,38 +1,82 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
task_categories:
|
| 4 |
-
- table-to-text
|
| 5 |
- table-question-answering
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
tags:
|
| 9 |
- finance
|
| 10 |
- 10k
|
| 11 |
-
-
|
| 12 |
size_categories:
|
| 13 |
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
#
|
| 17 |
|
| 18 |
-
This dataset contains structured
|
| 19 |
|
| 20 |
-
##
|
|
|
|
| 21 |
|
| 22 |
-
-
|
| 23 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
```python
|
| 30 |
from datasets import load_dataset
|
| 31 |
|
| 32 |
-
# Load the
|
| 33 |
-
|
| 34 |
-
```
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
task_categories:
|
|
|
|
| 4 |
- table-question-answering
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
tags:
|
| 8 |
- finance
|
| 9 |
- 10k
|
| 10 |
+
- edgar
|
| 11 |
size_categories:
|
| 12 |
- 1M<n<10M
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: column_documentation
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: data/column_documentation/column_documentation.parquet
|
| 18 |
+
- config_name: company_addresses
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/company_addresses/company_addresses.parquet
|
| 22 |
+
- config_name: column_comments
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: data/column_comments/column_comments.parquet
|
| 26 |
+
- config_name: sqlite_sequence
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: data/sqlite_sequence/sqlite_sequence.parquet
|
| 30 |
+
- config_name: table_documentation
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: data/table_documentation/table_documentation.parquet
|
| 34 |
+
- config_name: companies
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: data/companies/companies.parquet
|
| 38 |
+
- config_name: filings
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: data/filings/filings.parquet
|
| 42 |
+
- config_name: financial_facts
|
| 43 |
+
data_files:
|
| 44 |
+
- split: train
|
| 45 |
+
path: data/financial_facts/financial_facts.parquet
|
| 46 |
+
- config_name: company_tickers
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: data/company_tickers/company_tickers.parquet
|
| 50 |
+
- config_name: table_comments
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: data/table_comments/table_comments.parquet
|
| 54 |
---
|
| 55 |
|
| 56 |
+
# DDRBench 10K Financial Database
|
| 57 |
|
| 58 |
+
This dataset contains the structured SQLite database tables used in the **DDRBench 10K** evaluation task, converted to Parquet format.
|
| 59 |
|
| 60 |
+
## Structure
|
| 61 |
+
The dataset is split into multiple configurations, each representing a table from the original database:
|
| 62 |
|
| 63 |
+
- **companies**: Master table of companies (CIK, Name, etc.).
|
| 64 |
+
- **financial_facts**: The core financial data (5M+ rows).
|
| 65 |
+
- **filings**: Metadata about SEC filings.
|
| 66 |
+
- **company_addresses**: Address information.
|
| 67 |
+
- **company_tickers**: Ticker symbol mappings.
|
| 68 |
+
- **table/column_documentation**: Metadata and comments explaining the schema.
|
| 69 |
|
| 70 |
## Usage
|
| 71 |
|
| 72 |
+
To load a specific table:
|
| 73 |
|
| 74 |
```python
|
| 75 |
from datasets import load_dataset
|
| 76 |
|
| 77 |
+
# Load the 'companies' table
|
| 78 |
+
ds_companies = load_dataset("thinkwee/DDRBench_10K", "companies")
|
|
|
|
| 79 |
|
| 80 |
+
# Load the main financial facts
|
| 81 |
+
ds_facts = load_dataset("thinkwee/DDRBench_10K", "financial_facts")
|
| 82 |
+
```
|