jorses
commited on
Commit
·
3a44f94
1
Parent(s):
3a93b6e
bump
Browse files- ES_01_40db_Igualdad/qa.parquet +2 -2
- ES_02_40dB_Dormir/qa.parquet +2 -2
- ES_04_CEA_Barometro_Andaluz_Septiembre_2023/qa.parquet +2 -2
- ES_05_CIS_2023_Salud_Bienestar/qa.parquet +2 -2
- ES_06_CIS_Politica_Fiscal_Julio_2023/qa.parquet +2 -2
- ES_07_CIS_Relaciones_Afectivas_Pospandemia_III/qa.parquet +2 -2
- ES_08_CIS_Barometro_Diciembre_2022/qa.parquet +2 -2
- ES_09_40dB_Percepcion_Amor/qa.parquet +2 -2
- ES_10_CIS_Salud_Mental_Pandemia_2021/qa.parquet +2 -2
- README.md +23 -5
ES_01_40db_Igualdad/qa.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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 |
-
#
|
| 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) |
|