Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Duplicate from baharef/ToT
Browse filesCo-authored-by: Bahare <baharef@users.noreply.huggingface.co>
- .gitattributes +58 -0
- README.md +75 -0
- tot_arithmetic/test.json +0 -0
- tot_semantic/test.json +3 -0
- tot_semantic_large/test.json +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 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 |
+
tot_semantic_sampled/test.json filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
tot_semantic/test.json filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
tot_semantic_large/test.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- question-answering
|
| 7 |
+
pretty_name: tot
|
| 8 |
+
dataset_info: null
|
| 9 |
+
configs:
|
| 10 |
+
- config_name: tot_arithmetic
|
| 11 |
+
data_files:
|
| 12 |
+
- split: test
|
| 13 |
+
path: tot_arithmetic/test*
|
| 14 |
+
- config_name: tot_semantic
|
| 15 |
+
data_files:
|
| 16 |
+
- split: test
|
| 17 |
+
path: tot_semantic/test*
|
| 18 |
+
- config_name: tot_semantic_large
|
| 19 |
+
data_files:
|
| 20 |
+
- split: test
|
| 21 |
+
path: tot_semantic_large/test*
|
| 22 |
+
tags:
|
| 23 |
+
- tot_arithmetic
|
| 24 |
+
- tot_semantic
|
| 25 |
+
- croissant
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# Test of Time: A Benchmark for Evaluating LLMs on Temporal Reasoning
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
ToT is a dataset designed to assess the temporal reasoning capabilities of AI models. It comprises two key sections:
|
| 32 |
+
|
| 33 |
+
1. **ToT-semantic:** Measuring the semantics and logic of time understanding.
|
| 34 |
+
2. **ToT-arithmetic:** Measuring the ability to carry out time arithmetic operations.
|
| 35 |
+
|
| 36 |
+
# Dataset Usage
|
| 37 |
+
|
| 38 |
+
## Downloading the Data
|
| 39 |
+
|
| 40 |
+
The dataset is divided into three subsets:
|
| 41 |
+
|
| 42 |
+
- **ToT-semantic:** Measuring the semantics and logic of time understanding. Contains 1,850 examples in total.
|
| 43 |
+
- **ToT-arithmetic:** Measuring the ability to carry out time arithmetic operations. Contains 2,800 examples in total.
|
| 44 |
+
- **ToT-semantic-large:** Measuring the semantics and logic of time understanding in a larger scale. Contains 46,480 examples in total.
|
| 45 |
+
|
| 46 |
+
To download the dataset, install [Huggingface Datasets](https://huggingface.co/docs/datasets/quickstart) and then use the following command:
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
from datasets import load_dataset
|
| 50 |
+
dataset = load_dataset("baharef/ToT")
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
### Data Format
|
| 54 |
+
|
| 55 |
+
The *ToT-semantic* and *ToT-semantic-large* datasets contain the following fields:
|
| 56 |
+
|
| 57 |
+
- **question**: Contains the text of the question.
|
| 58 |
+
- **graph_gen_algorithm**: Contains the name of the graph generator algorithm used to generate the graph.
|
| 59 |
+
- **question_type**: Corresponds to one of the 7 question types in the dataset.
|
| 60 |
+
- **sorting_type**: Correspons to the sorting type applied on the facts to order them.
|
| 61 |
+
- **prompt**: Contains the full prompt text used to evaluate LLMs on the task.
|
| 62 |
+
- **label**: Contains the ground truth answer to the question.
|
| 63 |
+
|
| 64 |
+
The *ToT-arithmetic* dataset contains the following fields:
|
| 65 |
+
|
| 66 |
+
- **question**: Contains the text of the question.
|
| 67 |
+
- **question_type**: Corresponds to one of the 7 question types in the dataset.
|
| 68 |
+
- **label**: Contains the ground truth answer to the question.
|
| 69 |
+
|
| 70 |
+
## Data Source
|
| 71 |
+
**ToT** is generated synthetically using public libraries such as NetworkX.
|
| 72 |
+
- **Purpose:** ToT is primarily designed for use as a test set.
|
| 73 |
+
- **Prohibition:** Using ToT as a training set is strictly prohibited.
|
| 74 |
+
|
| 75 |
+
Paper: arxiv.org/abs/2406.09170
|
tot_arithmetic/test.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tot_semantic/test.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc5750c5f2e57bb9dd76cc6e79ab35b0f30c14356585409f50d63da50b83d3a7
|
| 3 |
+
size 28759840
|
tot_semantic_large/test.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd92ca99f5c65c15f56cd3f3ad0f62f7b8382780487b89d1746ca23f0631180f
|
| 3 |
+
size 449387045
|