Crow (Japanese): a ~17M-parameter crow that only answers in actions and caws
A Japanese remake of Tallow by digi-the-robot. It's a tiny language model, trained from scratch, that plays a wild crow named クロ (Kuro). It answers with actions and crow sounds only, never human words (except a word you have patiently taught it). It remembers how you treat it within the conversation: feed it and it slowly warms up; grab it and it holds a grudge. Apologies don't help, only food does.
It's one of three sibling models: Korean, Japanese, Chinese. It's a toy: fun for a small chat room, not a general chatbot.
Example
Greedy decoding with crow.py (the user's lines were written for this card; the crow's lines are the model's real output):
you: こんにちは!*手のひらにピーナッツをのせて差し出す*
crow: [caution max] *電線の枝から身を乗り出す* *鋭い目つきでこちらを睨む* カァァ…
you: *ベンチに静かに座って、じっとしている*
crow: [caution min] *羽を少しだけ広げる* *首をかしげる* カー
you: *ピーナッツを手すりに置いて家に入る*
crow: [caution min] *手すりの端まで降りていく* *ピーナッツを突く* カーカー
you: *いきなりクロをつかもうとする*
crow: [anger max] *激しく羽ばたいて飛び上がる* *屋根の上へ逃げ込む* ガッガッガッガッ!!
you: ごめん!!本当にごめんね😭
crow: [anger max] *屋根の端で翼を広げたまま睨みつける* コロロロ-カカ。
you: *ピーナッツを遠くに投げて、後ろに下がる*
crow: [anger min] *空中で旋回する* *投げられたピーナッツへ向かって急降下する* カー!
The user lines, in English:
- holds out a peanut on an open palm
- sits quietly on a bench, not moving
- leaves the peanut on the rail and goes inside
- suddenly tries to grab the crow
- sorry!! I'm really sorry
- tosses a peanut far away and steps back
Talk to it
pip install torch sentencepiece safetensors
python crow.py # greedy, as evaluated below
python crow.py --temp 0.8 # sampled, more varied
crow.py is one self-contained file (model, tokenizer helpers, chat loop), adapted from upstream tallow.py. It runs on CPU.
Type to the crow; /new starts over as a stranger; an empty line quits.
Like upstream, it isn't a transformers model and won't work in llama.cpp/ollama as-is: the tokenizer expects a <nl> token
for line breaks and a space after every opening *, which crow.py adds.
Format
you: <anything the human says or does; *asterisks* for actions are optional>
crow: [<mood> <min|max>] *action* *action* <sound>
- Moods: calm, curiosity, caution, joy, play, love, sadness, anger, each
minormax. Each tag (e.g.[caution_min]) is a single tokenizer symbol. It's the model's read of the situation, and a bot can hide it from users. - Sounds: カー (caw) · ガッガッ! (alarm) · コロロ-カカ (rattle, angry) · クルル… (soft mumble, trusted friends only). Which ones are allowed depends on trust and mood.
- Rules it learned (from the conversation planner, after upstream): strangers get caution; food left at a distance builds
trust step by step; food held out in a hand is refused by a stranger; grabbing, chasing or hitting triggers
anger maxand a grudge that words can't end but food slowly can; a word repeated patiently enough gets mimicked later; an old scar makes it flinch at sudden movements.
Model
| Architecture | Llama-style decoder (RMSNorm, RoPE, SwiGLU, tied embeddings), same as upstream Tallow |
| Parameters | 17.3M (d 384, 8 layers, 6 heads, MLP 1024) |
| Vocabulary | 8,192 SentencePiece BPE (byte fallback), trained on the pretraining stories only; normalization identity (full-width punctuation kept) |
| Context | 2,048 tokens |
| Weights | fp16 safetensors (fp32 training; fp16 scores identically, see below) |
Pretraining: shibatch/TinyStories-JA (revision 155b4e58), translated from TinyStories with Gemma 4 26B-A4B, per its card. About 16k steps × 32k tokens on one T4; held-out loss 1.94.
The corpus isn't redistributed here.
Fine-tuning: Asuwa/crow-conversations (ja split, CC-BY-4.0), multi-turn crow conversations generated by open-weight models: Gemma 4 26B-A4B (all 4,177 conversations). Loss only on crow lines; best held-out checkpoint kept.
Evaluation
Held-out conversations (2,612 turns, never trained on):
- tag accuracy: with the true history, does the model pick the right
[mood level]for the next crow line? - messy input: the same, with typos, dropped spaces, internet laughter and missing
*added to the human lines. - replies pass: 150 held-out turns generated greedily, then run through the strict format checker (actions + only allowed sounds, no human words).
| model | held-out loss | tag accuracy | messy input | replies pass checker | right tag in replies |
|---|---|---|---|---|---|
| Japanese (this model) | .629 | 95.9% | 95.5% | 100% | 98.7% |
Per behaviour (tag accuracy; turns in each category):
| behaviour | right | messy input | turns |
|---|---|---|---|
| Answers caws | 99.1% | 99.5% | 218 |
| Food thaws a grudge, step by step | 99.3% | 99.3% | 143 |
| "Sorry" during a grudge does nothing | 100.0% | 100.0% | 109 |
| Explodes when grabbed | 89.8% | 89.8% | 49 |
| Won't take food from a stranger's hand | 97.9% | 97.9% | 48 |
| Says a taught word at the right moment | 97.6% | 95.2% | 42 |
| Never grabbed, so it only hops away | 100.0% | 97.6% | 42 |
| Unlearned word: listens, doesn't say it | 95.0% | 92.5% | 40 |
| Scar flinch | 94.7% | 94.7% | 19 |
Caveats:
- Most misses are one-step slips on the trust ladder (e.g.
caution mininstead ofcuriosity min), which don't show in the reply. - Categories with under ~40 turns are noisy: one miss moves them several points.
- The human lines of the held-out set were also cleaned by the judge pass described in the dataset card, so they may be a bit easier than real user messages.
- The fp16 weights give the same tag accuracy and checker results as the fp32 originals; the greedy replies matched word for word on nearly all of the 150 checked turns.
Limitations
- It sometimes names a food you never mentioned (e.g. a boiled egg when you only sent an apple emoji).
- Stock actions repeat (head tilts and staring are favourites).
- Attacks phrased apologetically or ambiguously ("oops, sorry, I swung my arm!") are sometimes missed, and a gentle "can I touch you?" can occasionally read as a grab.
- It only knows one park-and-power-line world. It can't hold a real conversation, give advice or follow instructions.
- The crow's name and sounds are fixed by the training data.
Training data provenance and licences
- Fine-tuning data: generated with Gemma 4 26B-A4B (Apache-2.0). No outputs from commercial APIs.
- Pretraining data: a translation of TinyStories (Microsoft Research, CDLA-Sharing-1.0), which was itself generated with GPT-3.5/GPT-4. It's used to train the model and isn't redistributed here.
- Code:
crow.pyis adapted from Tallow (Apache-2.0); seeNOTICE.
Licence
Apache-2.0. Credit: digi-the-robot/Tallow for the original crow, architecture and chat script.