Commit
·
70b0865
1
Parent(s):
fc58246
First commit with SpaRTUN and StepGame datasets
Browse files- .gitattributes +1 -0
- README.md +136 -3
- SpaRP (StepGame)/PS2/test.json +3 -0
- SpaRP (StepGame)/PS2/train.json +3 -0
- SpaRP (StepGame)/PS2/val.json +3 -0
- SpaRP-PS1 (SpaRTUN)/test.json +3 -0
- SpaRP-PS1 (SpaRTUN)/train.json +3 -0
- SpaRP-PS1 (SpaRTUN)/val.json +3 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,136 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-sa-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
dataset_info:
|
| 6 |
+
features:
|
| 7 |
+
- name: context
|
| 8 |
+
dtype: string
|
| 9 |
+
- name: question
|
| 10 |
+
dtype: string
|
| 11 |
+
- name: targets
|
| 12 |
+
sequence: string
|
| 13 |
+
- name: target_choices
|
| 14 |
+
sequence: string
|
| 15 |
+
- name: target_scores
|
| 16 |
+
sequence: int32
|
| 17 |
+
- name: reasoning
|
| 18 |
+
dtype: string
|
| 19 |
+
- name: source_data
|
| 20 |
+
dtype: string
|
| 21 |
+
- name: context_id
|
| 22 |
+
dtype: int32
|
| 23 |
+
- name: question_id
|
| 24 |
+
dtype: int32
|
| 25 |
+
- name: symbolic_context
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: symbolic_entity_map
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: symbolic_question
|
| 30 |
+
sequence: string
|
| 31 |
+
- name: num_context_entities
|
| 32 |
+
dtype: int32
|
| 33 |
+
- name: num_question_entities
|
| 34 |
+
dtype: int32
|
| 35 |
+
- name: question_type
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: reasoning_types
|
| 38 |
+
sequence: string
|
| 39 |
+
- name: spatial_types
|
| 40 |
+
sequence: string
|
| 41 |
+
- name: commonsense_question
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: canary
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: comments
|
| 46 |
+
sequence: string
|
| 47 |
+
|
| 48 |
+
configs:
|
| 49 |
+
- config_name: "SpaRP-PS1 (SpaRTUN)"
|
| 50 |
+
version: 0.1.0
|
| 51 |
+
default: true
|
| 52 |
+
data_files:
|
| 53 |
+
- split: train
|
| 54 |
+
path: "SpaRP-PS1 (SpaRTUN)/train.json"
|
| 55 |
+
- split: validation
|
| 56 |
+
path: "SpaRP-PS1 (SpaRTUN)/val.json"
|
| 57 |
+
- split: test
|
| 58 |
+
path: "SpaRP-PS1 (SpaRTUN)/test.json"
|
| 59 |
+
|
| 60 |
+
- config_name: "SpaRP-PS2 (StepGame)"
|
| 61 |
+
version: 0.1.0
|
| 62 |
+
data_files:
|
| 63 |
+
- split: train
|
| 64 |
+
path: "SpaRP (StepGame)/PS2/train.json"
|
| 65 |
+
- split: validation
|
| 66 |
+
path: "SpaRP (StepGame)/PS2/val.json"
|
| 67 |
+
- split: test
|
| 68 |
+
path: "SpaRP (StepGame)/PS2/test.json"
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
# Dataset Card for Spatial Reasoning Path (SpaRP)
|
| 72 |
+
|
| 73 |
+
## Table of Contents
|
| 74 |
+
- [Table of Contents](#table-of-contents)
|
| 75 |
+
- [Dataset Description](#dataset-description)
|
| 76 |
+
- [Dataset Summary](#dataset-summary)
|
| 77 |
+
- [Languages](#languages)
|
| 78 |
+
- [Additional Information](#additional-information)
|
| 79 |
+
- [Dataset Curators](#dataset-curators)
|
| 80 |
+
- [Licensing Information](#licensing-information)
|
| 81 |
+
- [Citation Information](#citation-information)
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
## Dataset Description
|
| 85 |
+
|
| 86 |
+
- **Repository: https://github.com/UKPLab/acl2024-sparc-and-sparp**
|
| 87 |
+
- **Paper: https://arxiv.org/abs/**
|
| 88 |
+
- **Point of Contact: Md Imbesat Hassan Rizvi (http://www.ukp.tu-darmstadt.de/)**
|
| 89 |
+
|
| 90 |
+
### Dataset Summary
|
| 91 |
+
|
| 92 |
+
This dataset is a consolidation of SpaRTUN and StepGame datasets with an extension of additional spatial characterization and reasoning path generation. The methodology is explained in our ACL 2024 paper - [SpaRC and SpaRP: Spatial Reasoning Characterization and Path Generation for Understanding Spatial Reasoning Capability of Large Language Models]().
|
| 93 |
+
|
| 94 |
+
### Languages
|
| 95 |
+
|
| 96 |
+
English
|
| 97 |
+
|
| 98 |
+
## Additional Information
|
| 99 |
+
|
| 100 |
+
You can download the data via:
|
| 101 |
+
|
| 102 |
+
```
|
| 103 |
+
from datasets import load_dataset
|
| 104 |
+
|
| 105 |
+
dataset = load_dataset("UKPLab/sparp") # default config is "SpaRP-PS1 (SpaRTUN)"
|
| 106 |
+
dataset = load_dataset("UKPLab/TexPrax", "SpaRP-PS2 (StepGame)") # use the "SpaRP-PS2 (StepGame)" tag for the StepGame dataset
|
| 107 |
+
```
|
| 108 |
+
Please find more information about the code and how the data was collected on [GitHub](https://github.com/UKPLab/acl2024-sparc-and-sparp).
|
| 109 |
+
|
| 110 |
+
### Dataset Curators
|
| 111 |
+
|
| 112 |
+
Curation is managed by our [data manager](https://www.informatik.tu-darmstadt.de/ukp/research_ukp/ukp_research_data_and_software/ukp_data_and_software.en.jsp) at UKP.
|
| 113 |
+
|
| 114 |
+
### Licensing Information
|
| 115 |
+
|
| 116 |
+
[CC-by-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
|
| 117 |
+
|
| 118 |
+
### Citation Information
|
| 119 |
+
|
| 120 |
+
Please cite this data using:
|
| 121 |
+
|
| 122 |
+
```
|
| 123 |
+
@inproceedings{rizvi-2024-sparc,
|
| 124 |
+
title={SpaRC and SpaRP: Spatial Reasoning Characterization and Path Generation for Understanding Spatial Reasoning Capability of Large Language Models},
|
| 125 |
+
author={Rizvi, Md Imbesat Hassan Rizvi and Zhu, Xiaodan and Gurevych, Iryna},
|
| 126 |
+
editor = "",
|
| 127 |
+
booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics",
|
| 128 |
+
month = aug,
|
| 129 |
+
year = "2024",
|
| 130 |
+
address = "Bangkok, Thailand",
|
| 131 |
+
publisher = "Association for Computational Linguistics",
|
| 132 |
+
url = "",
|
| 133 |
+
doi = "",
|
| 134 |
+
pages = "",
|
| 135 |
+
}
|
| 136 |
+
```
|
SpaRP (StepGame)/PS2/test.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:227375f44304bc628db50b60d12f3c7d20b4eb1c55895bccaeaac88c2ded0a85
|
| 3 |
+
size 247325643
|
SpaRP (StepGame)/PS2/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:644a830d085a99a63076e8fc37ae465d9ea2cdc393b86bf3056b29aac8efba6e
|
| 3 |
+
size 70528590
|
SpaRP (StepGame)/PS2/val.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6361e6527fc79a937ac93c16c202db5346f44234747bbe06352b701d072b072e
|
| 3 |
+
size 7059208
|
SpaRP-PS1 (SpaRTUN)/test.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91ff6b8d0014c4c53dcba42c3f571e24f55afc5fcdf61ac97b7e0a21f3d93817
|
| 3 |
+
size 7287241
|
SpaRP-PS1 (SpaRTUN)/train.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b361bcfc2242d9ee82cd292c759639c4c570267e8dc6cbe631c6d8d522329ad0
|
| 3 |
+
size 47417079
|
SpaRP-PS1 (SpaRTUN)/val.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e051b198b367954509e6620c41ce5b62e70859f4f62d04048186f1cc18e4ace0
|
| 3 |
+
size 6797076
|