saracandu commited on
Commit
84c7ccb
·
verified ·
1 Parent(s): 72d6db1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -26
README.md CHANGED
@@ -1,28 +1,85 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: facts
5
- dtype: string
6
- - name: formula
7
- dtype: string
8
- - name: num_operators
9
- dtype: int64
10
- - name: gold_formula
11
- dtype: bool
12
- splits:
13
- - name: train
14
- num_bytes: 3078137
15
- num_examples: 15941
16
- - name: test
17
- num_bytes: 764386
18
- num_examples: 3985
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
+