Update README - tatqa now only has test_gold
Browse files
README.md
CHANGED
|
@@ -16,10 +16,6 @@ configs:
|
|
| 16 |
data_files:
|
| 17 |
- split: test
|
| 18 |
path: docfinqa/test.json
|
| 19 |
-
- config_name: tatqa
|
| 20 |
-
data_files:
|
| 21 |
-
- split: test
|
| 22 |
-
path: tatqa/tatqa_dataset_test.json
|
| 23 |
- config_name: docmath_eval_complong
|
| 24 |
data_files:
|
| 25 |
- split: test
|
|
@@ -49,7 +45,6 @@ from datasets import load_dataset
|
|
| 49 |
|
| 50 |
# Datasets with HF split support
|
| 51 |
docfinqa = load_dataset("Ayushnangia/finbench-data", "docfinqa", split="test") # 922 items
|
| 52 |
-
tatqa = load_dataset("Ayushnangia/finbench-data", "tatqa", split="test") # 278 items
|
| 53 |
docmath = load_dataset("Ayushnangia/finbench-data", "docmath_eval_complong", split="test") # 300 items
|
| 54 |
|
| 55 |
# Datasets with nested structure (load as JSON)
|
|
@@ -59,6 +54,10 @@ from huggingface_hub import hf_hub_download
|
|
| 59 |
finqa_path = hf_hub_download("Ayushnangia/finbench-data", "finqa/test.json", repo_type="dataset")
|
| 60 |
with open(finqa_path) as f:
|
| 61 |
finqa = json.load(f) # 1,147 items
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
```
|
| 63 |
|
| 64 |
## Datasets
|
|
@@ -66,13 +65,12 @@ with open(finqa_path) as f:
|
|
| 66 |
| Dataset | Config | Items | Method |
|
| 67 |
|---------|--------|-------|--------|
|
| 68 |
| DocFinQA | `docfinqa` | 922 | `load_dataset()` |
|
| 69 |
-
| TAT-QA | `tatqa` | 278 | `load_dataset()` |
|
| 70 |
| DocMath (complex long) | `docmath_eval_complong` | 300 | `load_dataset()` |
|
| 71 |
| DocMath (complex short) | `docmath_eval_compshort` | 200 | `load_dataset()` |
|
| 72 |
| DocMath (simple long) | `docmath_eval_simplong` | 100 | `load_dataset()` |
|
| 73 |
| DocMath (simple short) | `docmath_eval_simpshort` | 200 | `load_dataset()` |
|
| 74 |
| FinQA | - | 1,147 | JSON download |
|
| 75 |
-
| TAT-QA
|
| 76 |
|
| 77 |
## CLI Download
|
| 78 |
|
|
@@ -84,11 +82,9 @@ huggingface-cli download Ayushnangia/finbench-data --local-dir data --repo-type
|
|
| 84 |
|
| 85 |
```
|
| 86 |
data/
|
| 87 |
-
├── docfinqa/test.json
|
| 88 |
-
├── finqa/test.json
|
| 89 |
-
├── tatqa/
|
| 90 |
-
│ ├── tatqa_dataset_test.json (278 items)
|
| 91 |
-
│ └── tatqa_dataset_test_gold.json (277 items)
|
| 92 |
└── docmath_eval/
|
| 93 |
├── complong_testmini.json (300 items)
|
| 94 |
├── compshort_testmini.json (200 items)
|
|
|
|
| 16 |
data_files:
|
| 17 |
- split: test
|
| 18 |
path: docfinqa/test.json
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
- config_name: docmath_eval_complong
|
| 20 |
data_files:
|
| 21 |
- split: test
|
|
|
|
| 45 |
|
| 46 |
# Datasets with HF split support
|
| 47 |
docfinqa = load_dataset("Ayushnangia/finbench-data", "docfinqa", split="test") # 922 items
|
|
|
|
| 48 |
docmath = load_dataset("Ayushnangia/finbench-data", "docmath_eval_complong", split="test") # 300 items
|
| 49 |
|
| 50 |
# Datasets with nested structure (load as JSON)
|
|
|
|
| 54 |
finqa_path = hf_hub_download("Ayushnangia/finbench-data", "finqa/test.json", repo_type="dataset")
|
| 55 |
with open(finqa_path) as f:
|
| 56 |
finqa = json.load(f) # 1,147 items
|
| 57 |
+
|
| 58 |
+
tatqa_path = hf_hub_download("Ayushnangia/finbench-data", "tatqa/tatqa_dataset_test_gold.json", repo_type="dataset")
|
| 59 |
+
with open(tatqa_path) as f:
|
| 60 |
+
tatqa = json.load(f) # 277 items with answers
|
| 61 |
```
|
| 62 |
|
| 63 |
## Datasets
|
|
|
|
| 65 |
| Dataset | Config | Items | Method |
|
| 66 |
|---------|--------|-------|--------|
|
| 67 |
| DocFinQA | `docfinqa` | 922 | `load_dataset()` |
|
|
|
|
| 68 |
| DocMath (complex long) | `docmath_eval_complong` | 300 | `load_dataset()` |
|
| 69 |
| DocMath (complex short) | `docmath_eval_compshort` | 200 | `load_dataset()` |
|
| 70 |
| DocMath (simple long) | `docmath_eval_simplong` | 100 | `load_dataset()` |
|
| 71 |
| DocMath (simple short) | `docmath_eval_simpshort` | 200 | `load_dataset()` |
|
| 72 |
| FinQA | - | 1,147 | JSON download |
|
| 73 |
+
| TAT-QA | - | 277 | JSON download |
|
| 74 |
|
| 75 |
## CLI Download
|
| 76 |
|
|
|
|
| 82 |
|
| 83 |
```
|
| 84 |
data/
|
| 85 |
+
├── docfinqa/test.json (922 items)
|
| 86 |
+
├── finqa/test.json (1,147 items)
|
| 87 |
+
├── tatqa/tatqa_dataset_test_gold.json (277 items with answers)
|
|
|
|
|
|
|
| 88 |
└── docmath_eval/
|
| 89 |
├── complong_testmini.json (300 items)
|
| 90 |
├── compshort_testmini.json (200 items)
|