dkfo commited on
Commit
a5ef395
·
verified ·
1 Parent(s): 41860a3

Upload folder using huggingface_hub

Browse files
Files changed (6) hide show
  1. .gitattributes +4 -0
  2. README.md +103 -0
  3. length_100.jsonl +3 -0
  4. length_20.jsonl +3 -0
  5. length_250.jsonl +3 -0
  6. length_50.jsonl +3 -0
.gitattributes CHANGED
@@ -57,3 +57,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ length_100.jsonl filter=lfs diff=lfs merge=lfs -text
61
+ length_20.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ length_250.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ length_50.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ dataset_name: CogniLoad_Dataset
4
+ description: |
5
+ CogniLoad is a synthetic dataset of logic grid puzzles.
6
+ It is designed as a benchmark for evaluating the logical reasoning capabilities of models.
7
+ The dataset is generated from TXT puzzle files and associated JSON metadata files.
8
+ Each puzzle includes initialisation statements, numbered logical statements, and a final question.
9
+ Puzzles are characterized by their length (total number of statements), difficulty, and the number of "needle" statements (critical pieces of information).
10
+ The dataset is structured into multiple JSONL files, with each file containing puzzles of a specific length.
11
+ languages:
12
+ - en
13
+ license: cc-by-4.0
14
+ task_categories:
15
+ - question-answering
16
+ - logical-reasoning
17
+ task_ids:
18
+ - closed-domain-qa
19
+ pretty_name: CogniLoad Dataset
20
+ size_categories:
21
+ - "n<15K"
22
+ source_datasets:
23
+ - original
24
+ ---
25
+
26
+ # Dataset Card for CogniLoad Logic Puzzles
27
+
28
+ ## Dataset Description
29
+
30
+ - **Repository:** [GitHub](https://github.com/kaiserdan/cogniload)
31
+ - **Point of Contact:** daniel.kaiser[AT]uit.no
32
+
33
+ **CogniLoad** is a synthetic dataset specifically created for benchmarking logical reasoning in AI models. It consists of logic grid-style puzzles where the goal is uncover a hidden value from a sequence of logical statements.
34
+
35
+ Each puzzle is defined by:
36
+ * **Initialisation statements**: Setting up the initial state.
37
+ * **Numbered instruction statements**: Statements for the LLM to reason through.
38
+ * **A question**: The specific information to find.
39
+ * **Solution**: The correct answer to the question.
40
+
41
+ Puzzles are categorized by `length` (total number of statements), `difficulty` (a difficulty score), and `needles` (the count of critical, "needle-in-a-haystack" statements). A derived field, `hays`, represents the number of non-critical statements (`num_statements - needles`).
42
+
43
+ In our benchmark we start each puzzle with the instruction `Solve this logic puzzle. You MUST finalize your response with a single sentence about the asked property (eg \"Peter is in the livingroom.\", \"Peter is wearing blue socks\",.. ). Solve the puzzle by reasoning through the statements in a strictly sequential order :`. Following this instruction we list the intialisation statements, the instruction statements, and finally the question.
44
+
45
+ Besides the puzzles and parameters we also provide the metadata associated with each puzzle inside the dataset to empower further studies.
46
+
47
+ The dataset is provided in JSON Lines (JSONL) format, with separate files for puzzles of the lengths 20, 50, 100, and 250 (e.g., `length_20.jsonl`, `length_50.jsonl`).
48
+
49
+
50
+
51
+ ## How to use
52
+
53
+ The dataset can be loaded using the Hugging Face `datasets` library:
54
+
55
+ ```python
56
+ from datasets import load_dataset
57
+
58
+ # To load a specific split (e.g., puzzles of length 20)
59
+ dataset = load_dataset("dkfo/cogniload", name="length_20")
60
+
61
+ # To load all splits
62
+ dataset = load_dataset("dkfo/cogniload", name="all")
63
+
64
+ ```
65
+
66
+ ## Example puzzle
67
+
68
+ This is an example puzzle with 20 statements, difficulty 5, and 10 needles.
69
+
70
+ ```
71
+ Solve this logic puzzle. You MUST finalize your response with a single sentence about the asked property (eg "Peter is in the livingroom.", "Peter is wearing blue socks",.. ). Solve the puzzle by reasoning through the statements in a strictly sequential order :
72
+
73
+ Carl is wearing a white pant and last ate a toast and is wearing white gloves and is located at the restaurant and last listened to jazz music.
74
+ Jesse last ate a burger and is wearing a pink pant and is wearing black gloves and is located at the diner and last listened to folk music.
75
+ Olivia last listened to pop music and is wearing blue gloves and is wearing a orange pant and last ate a sushi and is located at the bar.
76
+ Paula last ate a potatoes and is located at the beach and is wearing a green pant and last listened to synth music and is wearing green gloves.
77
+ Dennis is wearing yellow gloves and is located at the hacienda and is wearing a purple pant and last ate a pizza and last listened to ska music.
78
+ 1. The people located in the beach and which most recently ate potatoes and wearing green gloves and which most recently listened to synth music and wearing a green pant change into a purple pant and move to the diner and eat a pizza and put on black gloves and listen to folk music
79
+ 2. The people which most recently ate toast and wearing a white pant and which most recently listened to jazz music and located in the restaurant and wearing white gloves move to the hacienda and listen to ska music
80
+ 3. The people which most recently ate toast and which most recently listened to ska music listen to pop music
81
+ 4. The people which most recently listened to pop music and wearing white gloves and wearing a white pant and located in the hacienda and which most recently ate toast put on blue gloves
82
+ 5. The people wearing a orange pant and wearing blue gloves and which most recently ate sushi and which most recently listened to pop music and located in the bar change into a pink pant and move to the beach
83
+ 6. The people wearing a white pant and which most recently ate toast and located in the hacienda and wearing blue gloves and which most recently listened to pop music move to the restaurant and change into a green pant
84
+ 7. The people wearing black gloves and wearing a purple pant and which most recently listened to folk music and which most recently ate pizza and located in the diner put on yellow gloves and move to the hacienda and change into a blue pant and eat a sushi and listen to ska music
85
+ 8. The people which most recently listened to pop music and wearing blue gloves and which most recently ate toast eat a pizza and move to the hacienda and listen to ska music and put on white gloves and change into a pink pant
86
+ 9. The people wearing yellow gloves and which most recently listened to ska music and which most recently ate pizza and wearing a purple pant and located in the hacienda eat a burger
87
+ 10. The people wearing a pink pant and which most recently ate pizza and located in the hacienda eat a toast and listen to folk music and change into a blue pant
88
+ 11. The people wearing yellow gloves put on purple gloves and listen to pop music and move to the beach and change into a orange pant
89
+ 12. The people wearing a pink pant and wearing black gloves and located in the diner and which most recently listened to folk music and which most recently ate burger listen to synth music and change into a purple pant and put on green gloves and eat a potatoes
90
+ 13. The people wearing purple gloves put on blue gloves and move to the restaurant and change into a purple pant and listen to country music and eat a burger
91
+ 14. The people located in the hacienda and which most recently ate toast and wearing a blue pant and wearing white gloves put on green gloves and listen to synth music
92
+ 15. The people wearing blue gloves and which most recently ate sushi and wearing a pink pant and which most recently listened to pop music and located in the beach change into a green pant and eat a potatoes and listen to jazz music and move to the diner and put on white gloves
93
+ 16. The people wearing a blue pant and which most recently listened to synth music put on black gloves and change into a pink pant and listen to ska music and move to the beach and eat a sushi
94
+ 17. The people located in the diner and wearing green gloves and which most recently listened to synth music and wearing a purple pant put on blue gloves and move to the hacienda and change into a green pant and eat a pizza and listen to folk music
95
+ 18. The people which most recently listened to ska music and which most recently ate sushi listen to pop music and put on blue gloves
96
+ 19. The people located in the hacienda and wearing blue gloves and which most recently ate pizza and wearing a green pant and which most recently listened to folk music put on black gloves and listen to country music and move to the museum and eat a taco
97
+ 20. The people which most recently ate sushi and wearing a pink pant put on green gloves
98
+
99
+ What did Carl most recently eat?
100
+
101
+ ```
102
+
103
+ Solution: `sushi`
length_100.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5c41348470f6c746eadf115883f883f06300073891139f7a4ea38315b2a59d1
3
+ size 184705804
length_20.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:634c92f193ccb21bbf7d92a74118cf217f0f19f006a4cd9e0404ce6a32bbe9d0
3
+ size 43478775
length_250.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31f03c95b36122964c5de1113dbb49628ecc10656ac589d2da1be61c78a1d581
3
+ size 479116389
length_50.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c29ecf19f459dba369a41f905ad98bf2c9093b9689312760cda19b0b9251a4
3
+ size 94665425