PumeTu commited on
Commit
afbd7bd
·
verified ·
1 Parent(s): 64acb0c

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +44 -0
  3. data/recipes.jsonl +0 -0
  4. data/train.jsonl +3 -0
  5. data/val.jsonl +0 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* 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
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: TextCraft-Synth (flat)
3
+ license: mit
4
+ language: [en]
5
+ tags: [textcraft, crafting, planning, rl-environment]
6
+ size_categories: [1K<n<10K]
7
+ configs:
8
+ - config_name: default
9
+ data_files:
10
+ - split: train
11
+ path: data/train.jsonl
12
+ - split: val
13
+ path: data/val.jsonl
14
+ - config_name: recipes
15
+ data_files:
16
+ - split: world
17
+ path: data/recipes.jsonl
18
+ ---
19
+
20
+ # TextCraft-Synth (flat)
21
+
22
+ The 3,154 TextCraft-Synth tasks of [Recursive Agent Optimization](https://arxiv.org/abs/2605.06639)
23
+ (Gandhi et al., 2026), as one row per task, for `datasets.load_dataset`. The rows are platoon's task files
24
+ (`extensions/textcraft/src/platoon_textcraft/data/textcraft_synth_{train,val}.jsonl`, MIT) and the `recipes` config
25
+ is the world (`recipes.json`) of the published Harbor export [`apurvaga/textcraft-synth`](https://huggingface.co/datasets/apurvaga/textcraft-synth).
26
+ Content is unchanged; only the layout differs.
27
+
28
+ | Split | Tasks | easy | medium | hard | extreme |
29
+ |---|---:|---:|---:|---:|---:|
30
+ | train | 2,522 | 588 | 852 | 544 | 538 |
31
+ | val | 632 | 147 | 213 | 136 | 136 |
32
+
33
+ Columns (`default`): `id`, `goal`, `difficulty`, `max_depth`, `num_craft_steps`, and JSON-encoded `target_items`,
34
+ `initial_inventory` and `gold_trajectory` (dict fields are strings so the schema stays flat).
35
+ Columns (`recipes`, split `world`, one row per item): `item`, `is_base`, `depth`, `result_count`, and JSON-encoded
36
+ `ingredients` ({item: count}); base items have null `result_count` and `ingredients`.
37
+
38
+ ```python
39
+ from datasets import load_dataset
40
+
41
+ tasks = load_dataset("<org>/textcraft-synth-flat", revision="<commit>")
42
+ medium = tasks["train"].filter(lambda r: r["difficulty"] == "medium") # RAO's 852 training tasks
43
+ world = load_dataset("<org>/textcraft-synth-flat", "recipes", split="world", revision="<commit>")
44
+ ```
data/recipes.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29791240dcfceac0c1885983621f4a1e30c04edf40f285ddbae26c76cb3a6dda
3
+ size 22867905
data/val.jsonl ADDED
The diff for this file is too large to render. See raw diff