Datasets:
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,28 +1,85 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
download_size: 1229290
|
| 20 |
-
dataset_size: 3842523
|
| 21 |
-
configs:
|
| 22 |
-
- config_name: default
|
| 23 |
-
data_files:
|
| 24 |
-
- split: train
|
| 25 |
-
path: data/train-*
|
| 26 |
-
- split: test
|
| 27 |
-
path: data/test-*
|
| 28 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license:
|
| 9 |
+
- apache-2.0
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
source_datasets:
|
| 15 |
+
- generated/synthetic
|
| 16 |
+
task_categories:
|
| 17 |
+
- text-classification
|
| 18 |
+
- other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
# Implications
|
| 23 |
+
|
| 24 |
+
## Dataset Description
|
| 25 |
+
|
| 26 |
+
**Implications** is a synthetic dataset of logical formulas with Boolean variables and logical operators (`and`, `or`, `implies`).
|
| 27 |
+
Each example contains:
|
| 28 |
+
|
| 29 |
+
- `facts`: truth values assigned to variables (e.g., `a is true, b is false, ...`)
|
| 30 |
+
- `formula`: a linear formula without parentheses (e.g., `a and b implies c or d`)
|
| 31 |
+
- `num_operators`: the number of logical operators in the formula
|
| 32 |
+
- `gold_formula`: the overall truth value of the formula (`True` or `False`)
|
| 33 |
+
|
| 34 |
+
All duplicate `(facts, formula)` pairs have been removed to ensure that each combination is unique.
|
| 35 |
+
|
| 36 |
+
The dataset is designed for training models on **logical reasoning**, **linear probing**, or **LLMs** to predict the truth value of formulas.
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## Data Fields
|
| 41 |
+
|
| 42 |
+
| Column | Type | Description |
|
| 43 |
+
|-----------------|---------|-------------|
|
| 44 |
+
| facts | string | Boolean values assigned to variables |
|
| 45 |
+
| formula | string | Linear formula without parentheses |
|
| 46 |
+
| num_operators | int | Number of logical operators in the formula |
|
| 47 |
+
| gold_formula | bool | Truth value of the full formula |
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## Example
|
| 52 |
+
|
| 53 |
+
```csv
|
| 54 |
+
facts,formula,num_operators,gold_formula
|
| 55 |
+
"a is true, b is false, c is true","a and b or c implies d",5,True
|
| 56 |
+
"p is false, q is true","p or q implies r",2,False
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
### `num_operators` counts (both in train and in test)
|
| 60 |
+
|
| 61 |
+
| num_operators | train_count | test_count |
|
| 62 |
+
|---------------|------------|-----------|
|
| 63 |
+
| 1 | 730 | 196 |
|
| 64 |
+
| 2 | 775 | 225 |
|
| 65 |
+
| 3 | 811 | 189 |
|
| 66 |
+
| 4 | 814 | 186 |
|
| 67 |
+
| 5 | 788 | 212 |
|
| 68 |
+
| 6 | 799 | 201 |
|
| 69 |
+
| 7 | 788 | 212 |
|
| 70 |
+
| 8 | 800 | 200 |
|
| 71 |
+
| 9 | 808 | 192 |
|
| 72 |
+
| 10 | 795 | 205 |
|
| 73 |
+
| 11 | 806 | 194 |
|
| 74 |
+
| 12 | 787 | 213 |
|
| 75 |
+
| 13 | 817 | 183 |
|
| 76 |
+
| 14 | 806 | 194 |
|
| 77 |
+
| 15 | 817 | 183 |
|
| 78 |
+
| 16 | 819 | 181 |
|
| 79 |
+
| 17 | 815 | 185 |
|
| 80 |
+
| 18 | 793 | 207 |
|
| 81 |
+
| 19 | 778 | 222 |
|
| 82 |
+
| 20 | 795 | 205 |
|
| 83 |
+
|
| 84 |
+
**Note:** All duplicate `(facts, formula)` pairs have been removed to ensure each example is unique.
|
| 85 |
+
|