AndrewRqy commited on
Commit ·
95df4b5
1
Parent(s): f60684e
README: add Idea + Tech write-up, link section, llama-champion + sharing-is-caring YAML tags
Browse files9 unmodified lines101112131414151617181920212223242513 unmodified lines39404142434445464748495051525354555657589 unmodified lineslicense: mitshort_description: Five oracles, five trials — branching pixel-art game.tags: # Track - thousand-token-wood - off-brand # Badge claims - well-tuned - off-brand - field-notes - sharing-is-caring - llama-champion - tiny-titan # Descriptive - branching-narrative - game - pixel-art13 unmodified lines
> A pixel-art branching fairy-tale. You inscribe five short oracles before the journey begins; an apprentice has to make every one of them save his life across five trials in a tree that converges on one of five distinct endings.
## The idea
You play the mentor. You write five short oracles into a parchment — any words at all: advice, gibberish, emoji, names, typos, whatever. After that you don't get to explain anything. Your apprentice walks five trials, and at each one he draws ONE oracle at random. Whatever it says, a fine-tuned Qwen2.5-14B has to take it seriously enough to save his life — three humor modes (wild imagination / accidental trip / last-minute revelation), a 15-node branching tree that converges on one of five distinct endings, and six themes × two languages (English + 简体中文). The core joke: the player can write nonsense, but the world has to take it seriously.
## The tech
- **Frontend**: a single-file Gradio Blocks app (~5000 lines), wrapped in a custom Docker image. ~2000 lines of bespoke CSS make sure nothing on the page looks like default Gradio — Press Start 2P + VT323 fonts, NES-style sharp corners, hand-laid pixel-art panels.- **Backend**: Qwen2.5-14B served via vLLM on a Modal-hosted L40S, with a custom-trained humor LoRA (rank 16, 23k examples, ~6.5h on H100, ~$22 of compute). The Gradio app talks to it via the OpenAI SDK.- **Tiny Titan variant**: same 23k corpus trained into a Qwen2.5-1.5B LoRA — eligible for the ≤4B prize.- **Llama Champion path**: the merged 14B exported to GGUF (Q4_K_M, 8.4 GB) and served via `llama-cpp-python`'s OpenAI-compatible server. `./run.sh --local-llama` swaps cloud for fully-local inference.- **All art generated locally** via Klein-4B on a Modal H100, then chroma-keyed offline. ~105 pixel-art sprites. No FLUX, no commercial generators.
## Quick links
- **Track**: Thousand Token Wood- **Stack**: Docker + Gradio + Modal-hosted vLLM + Qwen2.5-14B + custom humor LoRA- **Languages**: English + 简体中文README.md+20-1