Gugu8 commited on
Commit
3391045
·
0 Parent(s):

Duplicate from Gugu8/LOOM

Browse files
Files changed (4) hide show
  1. .gitattributes +61 -0
  2. LICENSE +134 -0
  3. README.md +171 -0
  4. loom_dataset.jsonl +3 -0
.gitattributes ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
61
+ loom_dataset.jsonl filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Open Data Attribution Training Disclosure License (ODATL‑1.0)
2
+ Version 1.0 — July 2026
3
+
4
+ A permissive open‑data license requiring attribution and mandatory disclosure of AI training use.
5
+
6
+ --------------------------------------------------------------------
7
+ SECTION 1 — DEFINITIONS
8
+ --------------------------------------------------------------------
9
+ 1.1 “Dataset” refers to the collection of data, files, metadata, annotations, structures, or any other materials distributed under this License, including any updates, subsets, or modified versions.
10
+
11
+ 1.2 “Licensor” refers to the entity or individual who releases the Dataset under this License.
12
+
13
+ 1.3 “Licensee” refers to any person, organization, or system that accesses, uses, modifies, redistributes, or incorporates the Dataset.
14
+
15
+ 1.4 “Model” refers to any machine learning system, artificial intelligence system, algorithm, statistical model, or computational process trained, fine‑tuned, evaluated, or otherwise developed using the Dataset.
16
+
17
+ 1.5 “Public Notice” refers to a clear, visible, and publicly accessible statement acknowledging use of the Dataset.
18
+
19
+ 1.6 “Derivative Dataset” refers to any dataset created by modifying, transforming, filtering, augmenting, or otherwise altering the original Dataset.
20
+
21
+ 1.7 “Derivative Model” refers to any Model whose training data includes the Dataset or any Derivative Dataset.
22
+
23
+ --------------------------------------------------------------------
24
+ SECTION 2 — GRANT OF RIGHTS
25
+ --------------------------------------------------------------------
26
+ 2.1 The Licensor grants the Licensee a worldwide, royalty‑free, non‑exclusive, irrevocable permission to:
27
+ - Use, copy, and redistribute the Dataset for any purpose.
28
+ - Modify, transform, or build upon the Dataset.
29
+ - Create Derivative Datasets.
30
+ - Train, fine‑tune, evaluate, or otherwise use the Dataset for machine learning or AI development.
31
+ - Create Derivative Models based on the Dataset.
32
+
33
+ 2.2 These rights are intended to be compatible with open‑source and open‑data principles, including but not limited to CC‑BY, ODC‑BY, and other permissive data licenses.
34
+
35
+ 2.3 No patent rights are granted or implied by this License.
36
+
37
+ --------------------------------------------------------------------
38
+ SECTION 3 — MANDATORY ATTRIBUTION
39
+ --------------------------------------------------------------------
40
+ 3.1 Any public use, redistribution, publication, or derivative work involving the Dataset must include the following attribution:
41
+
42
+ “This work uses data provided under the Open Data Attribution Training Disclosure License (ODATL‑1.0).”
43
+
44
+ 3.2 Attribution must appear in:
45
+ - Documentation
46
+ - Research papers
47
+ - Model cards
48
+ - Public datasets
49
+ - Product descriptions
50
+ - Any public‑facing material referencing the Dataset
51
+
52
+ 3.3 Attribution must remain intact and may not be removed, obscured, or altered.
53
+
54
+ --------------------------------------------------------------------
55
+ SECTION 4 — MANDATORY TRAINING DISCLOSURE
56
+ --------------------------------------------------------------------
57
+ 4.1 If the Dataset is used to train, fine‑tune, evaluate, or otherwise develop any Model, the Licensee must provide a Public Notice stating:
58
+
59
+ “This model was trained using data provided under the Open Data Attribution Training Disclosure License (ODATL‑1.0).”
60
+
61
+ 4.2 This disclosure must appear in:
62
+ - Model cards
63
+ - Public releases of the Model
64
+ - Research publications
65
+ - Technical documentation
66
+ - Product descriptions
67
+ - Any public announcement or description of the Model
68
+
69
+ 4.3 Disclosure must be truthful, visible, and accessible to the general public.
70
+
71
+ 4.4 Failure to provide this disclosure immediately terminates all rights granted under this License.
72
+
73
+ --------------------------------------------------------------------
74
+ SECTION 5 — REDISTRIBUTION REQUIREMENTS
75
+ --------------------------------------------------------------------
76
+ 5.1 If the Licensee redistributes the Dataset or any Derivative Dataset, the Licensee must:
77
+ - Include this License in full.
78
+ - Clearly indicate any modifications made.
79
+ - Preserve all attribution and disclosure requirements.
80
+
81
+ 5.2 Derivative Datasets may be dual‑licensed under other open‑data licenses, provided this License remains included and enforceable.
82
+
83
+ --------------------------------------------------------------------
84
+ SECTION 6 — OPEN‑SOURCE COMPATIBILITY
85
+ --------------------------------------------------------------------
86
+ 6.1 This License is designed to be compatible with:
87
+ - Open Data Commons Attribution (ODC‑BY)
88
+ - Creative Commons Attribution (CC‑BY)
89
+ - Open‑source AI research workflows
90
+ - Open‑data distribution platforms
91
+
92
+ 6.2 Redistribution through open‑source repositories (e.g., GitHub, HuggingFace, Kaggle) is permitted and encouraged.
93
+
94
+ 6.3 Licensees may combine the Dataset with other open datasets, provided attribution and training disclosure obligations remain intact.
95
+
96
+ --------------------------------------------------------------------
97
+ SECTION 7 — PROHIBITED USES
98
+ --------------------------------------------------------------------
99
+ 7.1 The Licensee may not:
100
+ - Claim exclusive ownership of the Dataset.
101
+ - Remove or alter attribution or disclosure requirements.
102
+ - Use the Dataset in violation of applicable laws or regulations.
103
+ - Misrepresent the origin, nature, or licensing of the Dataset.
104
+
105
+ 7.2 The Licensee may not apply technical or legal measures that restrict others from exercising rights granted under this License.
106
+
107
+ --------------------------------------------------------------------
108
+ SECTION 8 — NO WARRANTY
109
+ --------------------------------------------------------------------
110
+ 8.1 The Dataset is provided “as‑is,” without warranty of any kind, express or implied.
111
+
112
+ 8.2 The Licensor is not liable for any damages, losses, or claims arising from use of the Dataset or any Derivative Model.
113
+
114
+ --------------------------------------------------------------------
115
+ SECTION 9 — TERMINATION
116
+ --------------------------------------------------------------------
117
+ 9.1 Rights under this License automatically terminate if the Licensee:
118
+ - Fails to provide required attribution.
119
+ - Fails to provide required training disclosure.
120
+ - Violates any other term of this License.
121
+
122
+ 9.2 Rights may be reinstated upon correction of the violation, unless the Licensor explicitly revokes permission.
123
+
124
+ --------------------------------------------------------------------
125
+ SECTION 10 — ACCEPTANCE
126
+ --------------------------------------------------------------------
127
+ 10.1 By accessing or using the Dataset, the Licensee agrees to be bound by the terms of this License.
128
+
129
+ 10.2 Continued use of the Dataset constitutes ongoing acceptance of all terms.
130
+
131
+ --------------------------------------------------------------------
132
+ SECTION 11 — CONTACT
133
+ --------------------------------------------------------------------
134
+ 11.1 For permissions beyond this License, contact the Licensor.
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ tags:
6
+ - LOOM
7
+ - English
8
+ - CoT
9
+ - code
10
+ - math
11
+ ---
12
+ # LOOM: Language-Only Operational Microworlds
13
+
14
+ **LOOM** is a synthetic natural-language reasoning dataset designed to teach language models the deep structures behind code and math without exposing source code, formal equations, or symbolic programming syntax.
15
+
16
+ Instead of showing code or math notation, LOOM trains models on **ordinary-language microworlds** where the hidden logic is algorithmic: state changes, causal chains, conditionals, invariants, iteration, and reverse reasoning.
17
+
18
+ The dataset is intended as a **pre-code / pre-math reasoning substrate**. It teaches the model to simulate rules, track hidden states, infer causes, and produce step-by-step logical traces.
19
+
20
+ ## What LOOM Teaches
21
+
22
+ LOOM examples are designed to implicitly train the following skills:
23
+
24
+ - **State tracking**: following how objects change across events.
25
+ - **Causal chaining**: propagating effects through multiple rules.
26
+ - **Conditionals**: reasoning through if/else-style branches.
27
+ - **Invariants**: understanding conserved quantities or balanced properties.
28
+ - **Iteration**: reasoning about repeated actions until completion.
29
+ - **Reverse reasoning**: inferring causes from observed outcomes.
30
+ - **Chain-of-thought traces**: producing intermediate reasoning before the final answer.
31
+
32
+ ## What LOOM Avoids
33
+
34
+ The dataset intentionally avoids:
35
+
36
+ - Source code
37
+ - Programming syntax
38
+ - Formal equations
39
+ - Mathematical notation
40
+ - Code-like operators
41
+ - Formulaic symbolic reasoning
42
+
43
+ The surface text is plain natural language. The computational and mathematical structure remains latent.
44
+
45
+ ## Dataset Structure
46
+
47
+ Each example is a JSONL object with the following fields:
48
+
49
+ - `instruction`: The task prompt.
50
+ - `world`: The rules describing the microworld.
51
+ - `event`: The triggering event or observed state.
52
+ - `question`: What the model must infer.
53
+ - `reasoning`: A step-by-step natural-language logical trace.
54
+ - `final_answer`: The final outcome.
55
+
56
+ ## Example
57
+
58
+ ```json
59
+ {
60
+ "instruction": "Determine the outcome of the event based on the world rules. Provide a step-by-step logical trace before the final answer.",
61
+ "world": "Whenever the silver mirror reflects, it triggers the dormant shadow. Whenever the dormant shadow awakens, it triggers the golden seed.",
62
+ "event": "The silver mirror reflects.",
63
+ "question": "What is the final consequence for the golden seed?",
64
+ "reasoning": "First, the silver mirror reflects. Because the silver mirror reflected, the dormant shadow is triggered. Because the dormant shadow awakened, the golden seed is triggered.",
65
+ "final_answer": "The golden seed is triggered."
66
+ }
67
+ ```
68
+
69
+ ## Categories
70
+
71
+ ### 1. Causal Chains
72
+
73
+ Teaches transitive reasoning and state propagation.
74
+
75
+ Example pattern:
76
+
77
+ > Whenever A acts, it triggers B.
78
+ > Whenever B acts, it triggers C.
79
+ > A acts.
80
+ > Therefore, C is triggered.
81
+
82
+ ### 2. Conditionals
83
+
84
+ Teaches branching logic.
85
+
86
+ Example pattern:
87
+
88
+ > If A happens, B happens.
89
+ > If A does not happen, C happens.
90
+
91
+ ### 3. Invariants
92
+
93
+ Teaches conservation-style reasoning.
94
+
95
+ Example pattern:
96
+
97
+ > The total balance between A and B is preserved.
98
+ > If A gains something, B must lose it.
99
+
100
+ ### 4. Iteration
101
+
102
+ Teaches repeated actions, termination conditions, and cumulative effects.
103
+
104
+ Example pattern:
105
+
106
+ > The ritual repeats until the required number of actions has occurred.
107
+
108
+ ### 5. Reverse Logic
109
+
110
+ Teaches abduction and backtracking.
111
+
112
+ Example pattern:
113
+
114
+ > The outcome happened.
115
+ > What must have caused it?
116
+
117
+ ## Loading the Dataset
118
+
119
+ ```python
120
+ from datasets import load_dataset
121
+
122
+ ds = load_dataset(
123
+ "YOUR_USERNAME/loom",
124
+ data_files={"train": "loom_dataset.jsonl"},
125
+ split="train",
126
+ )
127
+
128
+ print(ds[0])
129
+ ```
130
+
131
+ Replace `YOUR_USERNAME` with your Hugging Face username.
132
+
133
+ ## Intended Use
134
+
135
+ LOOM can be used for:
136
+
137
+ - Reasoning-focused continued pretraining
138
+ - Chain-of-thought style supervision
139
+ - Synthetic reasoning warm-up before code or math training
140
+ - Evaluation of rule-following and hidden-state tracking
141
+ - Data augmentation for abstract reasoning tasks
142
+
143
+ It is not intended to replace real code or math datasets. It is intended to teach the underlying operational reasoning that makes those domains easier to learn.
144
+
145
+ ## Generation
146
+
147
+ This dataset was procedurally generated using combinatorial natural-language templates. Each example is constructed from randomized entities, actions, conditions, and causal relations.
148
+
149
+ The generation process creates millions of unique examples while preserving logical consistency between:
150
+
151
+ - the world rules,
152
+ - the event,
153
+ - the reasoning trace,
154
+ - and the final answer.
155
+
156
+ ## Limitations
157
+
158
+ LOOM is synthetic and stylized. Its language is intentionally simple and rule-based. It may contain repeated structures, artificial phrasing, and limited semantic diversity compared with natural web text.
159
+
160
+ The dataset teaches abstract reasoning patterns, but it does not teach real programming syntax, libraries, APIs, or advanced mathematical formalism.
161
+
162
+ ## Citation
163
+
164
+ ```bibtex
165
+ @misc{loom2026,
166
+ title={LOOM: Language-Only Operational Microworlds},
167
+ author={Gugu8},
168
+ year={2026},
169
+ howpublished={Hugging Face Datasets}
170
+ }
171
+ ```
loom_dataset.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a88d4b487965e0e58b962ea9a9d43af8254bd9f9c3d370d36e863fd22a22a9c3
3
+ size 2147854277