Card: document games config (28 multi-turn samples)
Browse files
README.md
CHANGED
|
@@ -17,15 +17,22 @@ configs:
|
|
| 17 |
data_files:
|
| 18 |
- split: train
|
| 19 |
path: distillation-150.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
# distillation-150
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
## Format
|
| 31 |
|
|
@@ -69,6 +76,47 @@ everything from the problem statement:
|
|
| 69 |
- Every variable, function, and DOM id mentioned is defined in the code that follows.
|
| 70 |
- 350-550 words, plain ASCII.
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
## Composition
|
| 73 |
|
| 74 |
| Slice | Count | Language | Delivery |
|
|
|
|
| 17 |
data_files:
|
| 18 |
- split: train
|
| 19 |
path: distillation-150.parquet
|
| 20 |
+
- config_name: games
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: games-28.parquet
|
| 24 |
---
|
| 25 |
|
| 26 |
# distillation-150
|
| 27 |
|
| 28 |
+
Two SFT / distillation sample sets for small language models:
|
| 29 |
+
|
| 30 |
+
- `default` — 150 single-turn (user → assistant) reasoning-focused coding samples.
|
| 31 |
+
- `games` — 28 multi-turn (user ↔ assistant × 2) browser-game samples.
|
| 32 |
+
|
| 33 |
+
Every assistant reply starts with a `<think>` block that derives the solution from first
|
| 34 |
+
principles (zero-knowledge style, no template phases), followed by a concise explanation
|
| 35 |
+
and a complete, runnable program.
|
| 36 |
|
| 37 |
## Format
|
| 38 |
|
|
|
|
| 76 |
- Every variable, function, and DOM id mentioned is defined in the code that follows.
|
| 77 |
- 350-550 words, plain ASCII.
|
| 78 |
|
| 79 |
+
## Games: 28 multi-turn game samples
|
| 80 |
+
|
| 81 |
+
The repo also ships `games-28.parquet` under the `games` config. Each row is a four-message
|
| 82 |
+
conversation (user, assistant, user, assistant) that builds a playable browser game and then
|
| 83 |
+
extends or repairs it:
|
| 84 |
+
|
| 85 |
+
```python
|
| 86 |
+
ds = load_dataset("bunnycore/distillation-150", "games", split="train")
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
user -> build brief for a single-file HTML/CSS/JS game
|
| 91 |
+
assistant -> think block + explanation + complete game file
|
| 92 |
+
user -> one feature request or bug report
|
| 93 |
+
assistant -> think block + explanation + complete updated game file
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
| Slice | Games |
|
| 97 |
+
|---|---|
|
| 98 |
+
| Retro action | snake, tetris, pong, breakout, space-invaders, asteroids |
|
| 99 |
+
| Arcade | flappy-bird, doodle-jump, frogger, pac-man-lite, bomberman-lite |
|
| 100 |
+
| Board | chess, checkers, connect-four-ai, tic-tac-toe-ai |
|
| 101 |
+
| Puzzle/logic | sudoku, 2048, minesweeper, memory-match, lights-out, sokoban |
|
| 102 |
+
| Misc | blackjack, simon, whack-a-mole, tower-defense-lite |
|
| 103 |
+
| 3D / simulation | maze-escape-3d (ray caster), solar-system-3d (software projection), stack-3d (orthographic projection) |
|
| 104 |
+
|
| 105 |
+
All games are vanilla, single-file, dependency-free, and expose a small `window.__game` debug
|
| 106 |
+
API (`state()`, `start()`, `reset()`, `tick(ms)`, plus game actions) so the core rules can be
|
| 107 |
+
exercised without a browser driver. Every game was loaded in Chromium with zero console
|
| 108 |
+
errors and smoke-tested through the debug API (input, ticks, scoring, lives, persistence).
|
| 109 |
+
Think blocks follow the same zero-knowledge style as the default config.
|
| 110 |
+
|
| 111 |
+
## Loading the games config
|
| 112 |
+
|
| 113 |
+
```python
|
| 114 |
+
from datasets import load_dataset
|
| 115 |
+
ds = load_dataset("bunnycore/distillation-150", "games", split="train")
|
| 116 |
+
print(ds) # DatasetDict({train: 28})
|
| 117 |
+
print(ds[0]["messages"][1]["content"][:200])
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
## Composition
|
| 121 |
|
| 122 |
| Slice | Count | Language | Delivery |
|