Datasets:

jorses commited on
Commit
3a44f94
·
1 Parent(s): 3a93b6e
ES_01_40db_Igualdad/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3cfcbb39047c0ebefad061aef4dde2f3a4b15aea2918bc3c2baecea7a2a35591
3
- size 5287
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8746084ab895e9d0cdae29eee7132b042aef2d2965e92dd2005e264c1223613
3
+ size 5304
ES_02_40dB_Dormir/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abd7033df63d626cde2292c259c177db96b06cd6ff09bf9d5bd2dcf370c02f74
3
- size 5925
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:221804603883290e4aa0de8a4df820cccd2f9aee35beffa0c7479f4124c3ff0b
3
+ size 6005
ES_04_CEA_Barometro_Andaluz_Septiembre_2023/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e68b4cc59e371f96c5ebeb8faa75ad15b825c60b389f37d5617cd90015b79493
3
- size 5793
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02687b2b25419b7de311523c48d47ecba035d82934cb81330e6677c5ea7f5290
3
+ size 6078
ES_05_CIS_2023_Salud_Bienestar/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbeb983823af9c94c498df3ef7b600c9d7a75dc45451a926be7c382d7d2cf869
3
- size 5150
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdf0656cdcb86f8ab7696a399833ed0f0026ba9d3d693fafec45387ad26ab5fa
3
+ size 5401
ES_06_CIS_Politica_Fiscal_Julio_2023/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:07de46432dd6dab3480b97787ddb5d337406166527b54074bff6a76290c47295
3
- size 5308
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f479523d10d93e866e0f1e2438657187d61112836e3fa6723f17d2583d11d0a0
3
+ size 5534
ES_07_CIS_Relaciones_Afectivas_Pospandemia_III/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:23786faf151c49a20e30b97c449e7e18ad766d3977ae9ea1f596a0176cd53981
3
- size 5210
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89263e92a18d7cc67c093c1a5486261fe08a1ab50d0f887aaf59e92a9107e060
3
+ size 5581
ES_08_CIS_Barometro_Diciembre_2022/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b47b10d4f943263a96760a51cdbc889f44d20f5370351b699ee1319e4fa91ee
3
- size 4887
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de2f4effb14afde30236b4eef41d5554ac5f0f52bac5218e6763dd3597024695
3
+ size 5180
ES_09_40dB_Percepcion_Amor/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5167947193016565482221521a6040538e36a7be53db8c566727ac717001caff
3
- size 5210
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62de068680bbde862922f13042db89c37dc1b8c8d7db1fba07abd1b1d335a637
3
+ size 5455
ES_10_CIS_Salud_Mental_Pandemia_2021/qa.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9800ca72be85700cd1bb306a1991f44fb9f4f86421391f8398a148c6acb1d5d
3
- size 4923
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7481adced957024f24ac4274b27620d91b4418f7a301d014d340746363c99c0e
3
+ size 5290
README.md CHANGED
@@ -25,7 +25,24 @@ configs:
25
  - ./ES_08_CIS_Barometro_Diciembre_2022/qa.parquet
26
  - ./ES_09_40dB_Percepcion_Amor/qa.parquet
27
  - ./ES_10_CIS_Salud_Mental_Pandemia_2021/qa.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  ---
 
29
  # DataBench SPAnish
30
 
31
  This repository contains the original 10 datasets used for the paper [Towards Quality Benchmarking in Question Answering over Tabular Data in Spanish](http://journal.sepln.org/sepln/ojs/ojs/index.php/pln/article/view/6617) which appeared in SEPLN 2024.
@@ -41,6 +58,11 @@ from datasets import load_dataset
41
 
42
  # Load all QA pairs
43
  all_qa = load_dataset("SINAI/databenchSPA")
 
 
 
 
 
44
  ```
45
 
46
  You can use any of the individual [integrated libraries](https://huggingface.co/docs/hub/datasets-libraries#libraries) to load the actual data where the answer is to be retrieved.
@@ -53,12 +75,8 @@ import pandas as pd
53
  # "ES_01_40db_Igualdad", the id of the dataset
54
  ds_id = all_qa['dataset'][0]
55
 
56
- # full dataset
57
  df = pd.read_parquet(f"hf://datasets/SINAI/databenchSPA/{ds_id}/all.parquet")
58
-
59
- # sample dataset
60
- df = pd.read_parquet(f"hf://datasets/SINAI/databenchSPA/{ds_id}/sample.parquet")
61
-
62
  ```
63
 
64
  | # | Name | Rows | Columns | #QA | Source (Reference) |
 
25
  - ./ES_08_CIS_Barometro_Diciembre_2022/qa.parquet
26
  - ./ES_09_40dB_Percepcion_Amor/qa.parquet
27
  - ./ES_10_CIS_Salud_Mental_Pandemia_2021/qa.parquet
28
+ - config_name: iberlef
29
+ data_files:
30
+ - split: dev
31
+ path:
32
+ - ./ES_01_40db_Igualdad/qa.parquet
33
+ - ./ES_02_40dB_Dormir/qa.parquet
34
+ - ./ES_03_CIS_Enero_Marzo_2023/qa.parquet
35
+ - ./ES_04_CEA_Barometro_Andaluz_Septiembre_2023/qa.parquet
36
+ - split: train
37
+ path:
38
+ - ./ES_05_CIS_2023_Salud_Bienestar/qa.parquet
39
+ - ./ES_06_CIS_Politica_Fiscal_Julio_2023/qa.parquet
40
+ - ./ES_07_CIS_Relaciones_Afectivas_Pospandemia_III/qa.parquet
41
+ - ./ES_08_CIS_Barometro_Diciembre_2022/qa.parquet
42
+ - ./ES_09_40dB_Percepcion_Amor/qa.parquet
43
+ - ./ES_10_CIS_Salud_Mental_Pandemia_2021/qa.parquet
44
  ---
45
+
46
  # DataBench SPAnish
47
 
48
  This repository contains the original 10 datasets used for the paper [Towards Quality Benchmarking in Question Answering over Tabular Data in Spanish](http://journal.sepln.org/sepln/ojs/ojs/index.php/pln/article/view/6617) which appeared in SEPLN 2024.
 
58
 
59
  # Load all QA pairs
60
  all_qa = load_dataset("SINAI/databenchSPA")
61
+
62
+ # Load PRESTA QA splits
63
+ iberlef_train_qa = load_dataset("SINAI/databenchSPA", name="iberlef", split="train")
64
+ iberlef_dev_qa = load_dataset("SINAI/databenchSPA", name="iberlef", split="dev")
65
+
66
  ```
67
 
68
  You can use any of the individual [integrated libraries](https://huggingface.co/docs/hub/datasets-libraries#libraries) to load the actual data where the answer is to be retrieved.
 
75
  # "ES_01_40db_Igualdad", the id of the dataset
76
  ds_id = all_qa['dataset'][0]
77
 
78
+ # Dataset containing the answer
79
  df = pd.read_parquet(f"hf://datasets/SINAI/databenchSPA/{ds_id}/all.parquet")
 
 
 
 
80
  ```
81
 
82
  | # | Name | Rows | Columns | #QA | Source (Reference) |