Story30MB
A 14.53M-parameter (~27.73 MiB FP16) natural-prompt story generator trained from scratch on 2x Tesla T4 GPUs.
Architecture
- Parameters: 14,531,712 (weight-tied embeddings;
head.weightomitted on disk and re-tied totok.weighton load) - Design: 9 Layers,
d_model=384,mlp_dim=832, GQA (12Q / 4KV,head_dim=32), fusedQKV+Gate/Up,RMSNorm,SwiGLU,RoPE - Tokenizer: 6,144-token Raw-First BPE (
story_bpe_6144.json),block_size=384 - Prompt Format:
Prompt: <natural english prompt>\nStory:\n
Strict Unseen Zero-Shot Audit
- Strict Exact Unseen Name Copy: 12.5% (1/8)
- Unseen Setting / Plot Adherence: 44.4% (4/9)
Quick Usage
pip install torch tokenizers huggingface_hub
python generate.py
- Downloads last month
- -