Codex traces preview
Mon, Jun 8
in gradio/app.py move the text pox on the top row, next to the variant selection gallery (change the size so it's like the gallery); on the middle row change the "overlay stack" gallery to have the pictures side by side instead of stacked and make them 200x200; when selecting an image from a gallery indicate the selection visually 4
messages 25
toolsSat, Jun 6
make a new file based on gen_ds/generate_room_dataset.py called generate_answers_dataset.py that instead of generating a dataset for room generation generates a jsonl dataset with answers like this:
//continue game True
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Copper Key",
"fits_lock":True,
"item_to_give":"Snake key"
}
//response
{
"text":"The copper key fits perfectly in the medicine cabinet's keyhole. It opens and reveals a snake key inside."
}
//continue game False
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Sun crest",
"fits_lock":False,
}
//response
{
"text":"The sun crest doesn't seem to fit anywhere in the medicine cabinet"
}
//open door
{
"task":"open_door",
"has_key":"no_key", //"wrong_key" / "right_key"
}
//response "no_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "wrong_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "right_key" temperature=0.7
{
"text":"With a loud click, the door opens and reveals the next room. You managed to escape. For now."
} 1
message 2
tools make a new file based on gen_ds/generate_room_dataset.py called generate_answers_dataset.py that instead of generating a dataset for room generation generates a jsonl dataset with answers like this:
//continue game True
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Copper Key",
"fits_lock":True,
"item_to_give":"Snake key"
}
//response
{
"text":"The copper key fits perfectly in the medicine cabinet's keyhole. It opens and reveals a snake key inside."
}
//continue game False
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Sun crest",
"fits_lock":False,
}
//response
{
"text":"The sun crest doesn't seem to fit anywhere in the medicine cabinet"
}
//open door
{
"task":"open_door",
"has_key":"no_key", //"wrong_key" / "right_key"
}
//response "no_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "wrong_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "right_key" temperature=0.7
{
"text":"With a loud click, the door opens and reveals the next room. You managed to escape. For now."
} 1
message 10
tools make a new file based on gen_ds/generate_room_dataset.py called generate_answers_dataset.py that instead of generating a dataset for room generation generates a jsonl dataset with answers like this:
//continue game True
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Copper Key",
"fits_lock":True,
"item_to_give":"Snake key"
}
//response
{
"text":"The copper key fits perfectly in the medicine cabinet's keyhole. It opens and reveals a snake key inside."
}
//continue game False
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Sun crest",
"fits_lock":False,
}
//response
{
"text":"The sun crest doesn't seem to fit anywhere in the medicine cabinet"
}
//open door
{
"task":"open_door",
"has_key":"no_key", //"wrong_key" / "right_key"
}
//response "no_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "wrong_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "right_key" temperature=0.7
{
"text":"With a loud click, the door opens and reveals the next room. You managed to escape. For now."
} 2
messages make a new file based on gen_ds/generate_room_dataset.py called generate_answers_dataset.py that instead of generating a dataset for room generation generates a jsonl dataset with answers like this:
//continue game True
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Copper Key",
"fits_lock":True,
"item_to_give":"Snake key"
}
//response
{
"text":"The copper key fits perfectly in the medicine cabinet's keyhole. It opens and reveals a snake key inside."
}
//continue game False
{
"task":"continue_game",
"location_name":"Medicine cabinet",
"key_name":"Sun crest",
"fits_lock":False,
}
//response
{
"text":"The sun crest doesn't seem to fit anywhere in the medicine cabinet"
}
//open door
{
"task":"open_door",
"has_key":"no_key", //"wrong_key" / "right_key"
}
//response "no_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "wrong_key" temperature=0.7
{
"text":"You don't have any key that fits in this door"
}
//response "right_key" temperature=0.7
{
"text":"With a loud click, the door opens and reveals the next room. You managed to escape. For now."
} 1
message Fri, Jun 5
DO NOT EXPOSE ANY API KEYS OR SENSITIVE INFORMATION, THESE TRACES WILL BE SHARED PUBLICLY
Make a python program that uses qwen3.5-9B-q4_k_m to genearate a synthetic dataset based on this template:
//user: generate room
{
"task":"genearate_room"
}
//response
{
"room_name":"Asylum basement",
"room_story":"You are waking up in a cramped, dark room, a heavy iron door blocking your path. The floor is dusty and covered in cracks. A sign on the wall indicates a door. The air is thick with tension. You must find the key before the power goes out.",
"room_prompt":"A narrow, dark corridor with flickering industrial lights and peeling wallpaper",
"door_description":"You see a heavy, iron door right in front of you. You can distinguish a Snake symbol above the keyhole",
"door_prompt":"iron door with a snake symbol",
"door_key_name":"Snake key",
"door_key_prompt":"a rusted key with a snake wrapped around it",
"containers":[
{
"container_name":"Crooked shelf",
"container_prompt":"a crooked shelf on a wall",
},
{
"container_name":"Medicine cabinet",
"container_prompt":"a glass medicine cabinet",
},
{
"container_name":"Carpenter's workbench",
"container_prompt":"an old workbench with tools scattered around",
},
{
"container_name":"Locker",
"container_prompt":"a single locker in the locker room",
},
],
"keys":[
{
"key_name":"Copper key",
"key_prompt":"a key made out of copper",
},
{
"key_name":"Sun crest",
"key_prompt":"a crest with a sun symbol",
},
]
}
where there are always 4 containers and 2 keys. Make the rooms with various themes and a wide range of containers and keys. This dataset will be used to train Nemotron Nano and it should only return valid json. 6
messages 55
tools This dataset contains Codex traces from ferrariedhgs's 1000-Rooms submission (space, dataset and fine-tuned model)
- Downloads last month
- 57