Commit ·
96c60a6
1
Parent(s): e0b9516
SUBMISSION.md: canonical submission write-up for the judges
Browse filesCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- SUBMISSION.md +90 -0
SUBMISSION.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Thousand Token Wood
|
| 2 |
+
|
| 3 |
+
*Submission for the Build Small Hackathon, Thousand Token Wood track. June 2026.*
|
| 4 |
+
|
| 5 |
+
Five woodland creatures run a living market. Each one thinks on a different lab's
|
| 6 |
+
small model, and nobody scripts the drama: they trade, gossip, hoard, form grudges,
|
| 7 |
+
and panic on their own. You play the Patron, a shadow financier who profits from the
|
| 8 |
+
chaos. And the central discovery of the build is that the wood fights back.
|
| 9 |
+
|
| 10 |
+
- **Play it:** https://huggingface.co/spaces/build-small-hackathon/thousand-token-wood-sim
|
| 11 |
+
- **Demo video (100s):** https://youtu.be/ugFyFumUCgs
|
| 12 |
+
- **Social post:** https://x.com/RealLesterLeong/status/2064904967391961483
|
| 13 |
+
|
| 14 |
+
## The council: five minds, four labs, 29.5B parameters
|
| 15 |
+
|
| 16 |
+
The honest version of "small models can run an economy" is not one model wearing five
|
| 17 |
+
hats. It is five distinct minds with five distinct temperaments arguing a market into
|
| 18 |
+
being:
|
| 19 |
+
|
| 20 |
+
| Creature | Model | Lab |
|
| 21 |
+
|---|---|---|
|
| 22 |
+
| Oona the owl | gpt-oss-20b | OpenAI |
|
| 23 |
+
| Fenn the fox | Nemotron-Mini-4B | NVIDIA |
|
| 24 |
+
| Bramble the squirrel | MiniCPM3-4B | OpenBMB |
|
| 25 |
+
| Mossback the tortoise and Pip the mouse | ttw-trader-0.5b | fine-tuned (ours) |
|
| 26 |
+
|
| 27 |
+
*The council. Distinct-engine budget 29.5B, under the 32B cap. Every thought and raw
|
| 28 |
+
JSON completion is exposed in the UI, so you can check that none of it is scripted.*
|
| 29 |
+
|
| 30 |
+
The 0.5B is a LoRA fine-tune I distilled from a 3B teacher with the mistakes stripped
|
| 31 |
+
out of the training set. The student trades cleaner than its teacher: zero self-buys
|
| 32 |
+
and 100% valid offers, against the teacher's 2.2% self-buy rate. Small, done
|
| 33 |
+
carefully, beat bigger.
|
| 34 |
+
|
| 35 |
+
## The game: insider trading as a decaying resource
|
| 36 |
+
|
| 37 |
+
You are not a benevolent god. You short a good, whisper a tip to set up its fall,
|
| 38 |
+
spring a Wood Legend (a famous market panic reskinned as woodland folklore), and
|
| 39 |
+
collect when the price craters. A live exposure meter shows your expected payoff
|
| 40 |
+
before you commit.
|
| 41 |
+
|
| 42 |
+
The first time, it works: the crash pays 55 pebbles, exactly as authored. But the
|
| 43 |
+
creatures you burn remember. They sour on you, hoard against your next crash, and
|
| 44 |
+
testify to Magistrate Heron. Run the identical gambit again and the meter forecasts
|
| 45 |
+
16 pebbles, and it pays exactly 16. Then the verdicts land: the owl is exiled, your
|
| 46 |
+
pebbles are frozen. A trick you repeat is a trick that dies.
|
| 47 |
+
|
| 48 |
+
That mechanic is the build's thesis about agents, not just its plot: emergent behavior
|
| 49 |
+
from one model population evaporates when you change the cast, you cannot steer a
|
| 50 |
+
heterogeneous council by shocking its inputs, and a repeated manipulation gets priced
|
| 51 |
+
in by the agents on the other side. The full journey, including the two failed builds
|
| 52 |
+
that taught me the most, is in the field notes below.
|
| 53 |
+
|
| 54 |
+
## Why small is load-bearing
|
| 55 |
+
|
| 56 |
+
A living economy needs many agents thinking many times per turn, plus a narrator.
|
| 57 |
+
Frontier models are too slow and too costly for that loop. Four small engines, each on
|
| 58 |
+
its own GPU with per-engine batching and scale-to-zero, make a real-time council
|
| 59 |
+
feasible: the entire project, including fine-tuning, four engine deployments, trace
|
| 60 |
+
publication, and three recorded story arcs, used about a quarter of the starter Modal
|
| 61 |
+
credits.
|
| 62 |
+
|
| 63 |
+
## Built with
|
| 64 |
+
|
| 65 |
+
- **Gradio** Space (custom storybook UI, cinematic title card, instant attract-mode
|
| 66 |
+
replay so the Space is never blank while engines wake)
|
| 67 |
+
- **Modal** end to end: four vLLM engines as separate apps, LoRA training, evals
|
| 68 |
+
- **Models:** gpt-oss-20b, Nemotron-Mini-4B, MiniCPM3-4B, and a published 0.5B
|
| 69 |
+
fine-tune ([AdmiralTaco/ttw-trader-0.5b](https://huggingface.co/AdmiralTaco/ttw-trader-0.5b))
|
| 70 |
+
|
| 71 |
+
## Bonus quests
|
| 72 |
+
|
| 73 |
+
- **Well-Tuned:** the app serves the published fine-tune above, with before/after
|
| 74 |
+
reliability evals in the field notes.
|
| 75 |
+
- **Sharing is Caring:** [open agent traces](https://huggingface.co/datasets/build-small-hackathon/thousand-token-wood-traces),
|
| 76 |
+
every row tagged with the lab and model that produced it, so you can compare how
|
| 77 |
+
four labs' small models read the same market state.
|
| 78 |
+
- **Off-Brand:** custom illustrated town square, lab-colored attribution, operator
|
| 79 |
+
console chrome, and a pure-CSS cinematic open.
|
| 80 |
+
- **Field Notes,** in four parts:
|
| 81 |
+
1. [Emergent market drama](https://huggingface.co/blog/build-small-hackathon/thousand-token-wood-sim)
|
| 82 |
+
2. [The five-lab council](https://huggingface.co/blog/build-small-hackathon/thousand-token-wood-sim-v2)
|
| 83 |
+
3. [The crash that vanished](https://huggingface.co/blog/build-small-hackathon/thousand-token-wood-sim-v3)
|
| 84 |
+
4. [The wood fights back](https://huggingface.co/blog/build-small-hackathon/thousand-token-wood-sim-v4)
|
| 85 |
+
|
| 86 |
+
I build market models professionally, and this little wood taught me real lessons
|
| 87 |
+
about agent economies at a scale where the only thing at risk was a pile of pebbles.
|
| 88 |
+
If it makes you smile, a like on the Space is the community vote.
|
| 89 |
+
|
| 90 |
+
Small models, big adventures.
|