Datasets:

Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
alphapav commited on
Commit
647e5de
1 Parent(s): 5788b7e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -23
README.md CHANGED
@@ -8,48 +8,92 @@ configs:
8
  - config_name: train
9
  data_files:
10
  - split: 2ppl
11
- path:
12
- - "train/people2_num200.jsonl"
13
  - split: 3ppl
14
- path:
15
- - "train/people3_num1000.jsonl"
16
  - split: 4ppl
17
- path:
18
- - "train/people4_num1000.jsonl"
19
  - split: 5ppl
20
- path:
21
- - "train/people5_num1000.jsonl"
22
  - split: 6ppl
23
- path:
24
- - "train/people6_num1000.jsonl"
25
  - split: 7ppl
26
- path:
27
- - "train/people7_num1000.jsonl"
28
  - split: 8ppl
29
- path:
30
- - "train/people8_num1000.jsonl"
31
  - config_name: test
32
  data_files:
33
  - split: 2ppl
34
- path:
35
- - "test/people2_num100.jsonl"
36
  - split: 3ppl
37
  path:
38
- - "test/people3_num100.jsonl"
39
  - split: 4ppl
40
  path:
41
- - "test/people4_num100.jsonl"
42
  - split: 5ppl
43
  path:
44
- - "test/people5_num100.jsonl"
45
  - split: 6ppl
46
  path:
47
- - "test/people6_num100.jsonl"
48
  - split: 7ppl
49
  path:
50
- - "test/people7_num100.jsonl"
51
  - split: 8ppl
52
  path:
53
- - "test/people8_num100.jsonl"
54
-
 
 
 
 
 
55
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  - config_name: train
9
  data_files:
10
  - split: 2ppl
11
+ path:
12
+ - train/people2_num200.jsonl
13
  - split: 3ppl
14
+ path:
15
+ - train/people3_num1000.jsonl
16
  - split: 4ppl
17
+ path:
18
+ - train/people4_num1000.jsonl
19
  - split: 5ppl
20
+ path:
21
+ - train/people5_num1000.jsonl
22
  - split: 6ppl
23
+ path:
24
+ - train/people6_num1000.jsonl
25
  - split: 7ppl
26
+ path:
27
+ - train/people7_num1000.jsonl
28
  - split: 8ppl
29
+ path:
30
+ - train/people8_num1000.jsonl
31
  - config_name: test
32
  data_files:
33
  - split: 2ppl
34
+ path:
35
+ - test/people2_num100.jsonl
36
  - split: 3ppl
37
  path:
38
+ - test/people3_num100.jsonl
39
  - split: 4ppl
40
  path:
41
+ - test/people4_num100.jsonl
42
  - split: 5ppl
43
  path:
44
+ - test/people5_num100.jsonl
45
  - split: 6ppl
46
  path:
47
+ - test/people6_num100.jsonl
48
  - split: 7ppl
49
  path:
50
+ - test/people7_num100.jsonl
51
  - split: 8ppl
52
  path:
53
+ - test/people8_num100.jsonl
54
+ tags:
55
+ - logical
56
+ - reasoning
57
+ pretty_name: K
58
+ size_categories:
59
+ - 1K<n<10K
60
  ---
61
+
62
+
63
+
64
+ # 📘 knights-and-knaves Dataset [Project Page](https://memkklogic.github.io/)
65
+
66
+ The **knights-and-knaves dataset** serves as a logical reasoning benchmark to evaluate the reasoning capabilities of LLMs.
67
+
68
+ **Check out the [perturbed knights-and-knaves dataset](https://huggingface.co/datasets/K-and-K/perturbed-knights-and-knaves)** to evaluate the memorization of LLMs in reasoning!
69
+
70
+ ## Loading the dataset
71
+
72
+ To load the dataset:
73
+
74
+ ```python
75
+ from datasets import load_dataset
76
+ data_subject = load_dataset('K-and-K/knights-and-knaves','test',split="2ppl")
77
+ ```
78
+ * Available subset: `test`, `train`.
79
+ * Available split: `2ppl`,`3ppl`,`4ppl`,`5ppl`,`6ppl`,`7ppl`,`8ppl`.
80
+
81
+ ## 🛠️ Codebase
82
+
83
+ To evaluate LLMs on our datasets, visit our [GitHub repository](https://github.com/AlphaPav/mem-kk-logic/).
84
+
85
+ ## ⭐ Citing our Work
86
+
87
+ If you find our codebase and datasets beneficial, kindly cite our work:
88
+
89
+ ```bibtex
90
+ @article{xie2024memorization,
91
+ title={On Memorization of Large Language Models in Logical Reasoning},
92
+ author={Chulin Xie and Yangsibo Huang and Chiyuan Zhang and Da Yu and Xinyun Chen and Bill Yuchen Lin and Bo Li and Badih Ghazi and Ravi Kumar},
93
+ year={2024},
94
+ eprint={2410.23123},
95
+ archivePrefix={arXiv},
96
+ primaryClass={cs.CL},
97
+ url={https://arxiv.org/abs/2410.23123},
98
+ }
99
+ ```