Story20MB - Final Release (v3 Exact Character Copy)

A 9.84M-parameter (~18.78 MiB FP16) natural-prompt story generator trained from scratch on 2x Tesla T4 GPUs.

Architecture

  • Parameters: 9,835,840 (weight-tied embeddings; head.weight omitted on disk and re-tied to tok.weight on load)
  • Design: 8 Layers, d_model=320, mlp_dim=768, GQA (10Q / 2KV, head_dim=32), fused QKV + 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

Unseen Zero-Shot Prompt Audit

  • Unseen Character Name Copy Accuracy: 75.0% (6/8)
  • Unseen Setting / Plot Adherence: 66.7% (6/9)

Quick Usage

pip install torch tokenizers huggingface_hub
python generate.py
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support