Pronghorn-5M-v2-Fawn

A 5.49-million-parameter decoder-only language model trained from scratch on a story-focused text mixture.

Pronghorn-5M-v2-Fawn is a compact causal language model built to learn the structure and patterns of written English from short-form stories and children's fiction. It is an experimental small language model rather than a general-purpose assistant. Its intended use is lightweight text and story generation, as well as educational and research experimentation with small-scale language-model training.

Fawn is part of the Pronghorn-5M-v2 model family. The name identifies this training variant; it does not indicate a different parameter count or architecture from other variants in the family.

Model specifications


Property Value


Model family Pronghorn-5M-v2

Variant Fawn

Architecture Decoder-only Transformer

Trainable parameters 5,489,856 (~5.49M)

Vocabulary size 4,000

Tokenizer Custom Byte-Level BPE

Maximum context length 256 tokens

Model dimension 192

Transformer layers 8

Attention heads 6

Head dimension 32

SwiGLU intermediate dimension 768

Normalization Pre-norm RMSNorm

Positional encoding RoPE (split-half implementation)

Attention implementation PyTorch scaled dot-product attention, causal

Embeddings Tied token embedding and language-model output weights

Architecture notes

Pronghorn-5M-v2-Fawn uses a compact decoder-only Transformer with pre-normalized residual blocks. The model dimension is 192, distributed across 6 attention heads of 32 dimensions each, with 8 Transformer layers.

The feed-forward sublayer uses a SwiGLU activation with an intermediate dimension of 768. Rotary positional embeddings (RoPE) provide position information, and causal scaled dot-product attention prevents tokens from attending to future positions. The token embedding matrix is tied to the output projection, reducing the number of independent parameters.

The implementation uses RMSNorm, residual connections, and PyTorch's scaled_dot_product_attention with causal masking. The model was initialized with a standard deviation of 0.02; residual output projections used depth-scaled initialization.

Training data

Fawn was trained on a 50/50 mixture of two story-oriented datasets:

The processed dataset is published separately:

AlmostNobody/taleweave-74m-4k

The training stream contains approximately 74 million tokens. Fawn completed two passes over this stream, resulting in approximately 147,980,288 training-token exposures (~148M). These are exposure counts, not 148 million unique tokens.

The tokenizer is a custom Byte-Level BPE tokenizer with a vocabulary of 4,000 tokens and the following special tokens:

  • <|endoftext|>
  • <|pad|>
  • <|unk|>

Training configuration

Setting Value


Optimizer AdamW Betas (0.9, 0.95) Peak learning rate 1e-3 Minimum learning rate 1e-4 Learning-rate schedule Linear warmup followed by cosine decay Warmup 300 steps Weight decay 0.1 for 2D+ parameters; 0 for 1D parameters Gradient clipping 1.0 Batch size 64 sequences Sequence length 256 tokens Tokens per optimizer step 16,384 Epochs 2 Steps per epoch 4,516 Total optimizer steps 9,032 Training hardware NVIDIA Tesla T4 (Google Colab) Training duration Approximately 1.1 hours

Training examples were formed from non-overlapping 256-token chunks. The reported token exposure count is calculated from optimizer steps multiplied by tokens per step.

Precision note: the run was performed on a Tesla T4. The exact effective arithmetic mode should be confirmed from the saved training log or runtime configuration before making a definitive FP16/BF16 claim. This card therefore does not label the run as BF16.

Training results

The final recorded validation cross-entropy loss was 2.362079, corresponding to a validation perplexity of 10.612996.

Validation loss decreased throughout the recorded checkpoints, from 3.5329 at 8.19M token exposures to 2.3621 at approximately 147.98M exposures.

Validation loss

Validation loss over training token exposures

Validation perplexity

Validation perplexity over training token
exposures

Recorded validation checkpoints

 Step   Token exposures   Validation loss      Perplexity

  500             8.19M            3.5329          34.222
1,500            24.58M            2.8620          17.496
3,500            57.34M            2.6151          13.669
4,516            74.02M            2.5464          12.761
5,000            81.92M            2.5174          12.396
7,500           122.88M            2.3938          10.955
8,000           131.07M            2.3792          10.797
8,500           139.26M            2.3689          10.685
9,000           147.46M            2.3626          10.618
9,032           147.98M      **2.362079**   **10.612996**

These values are the recorded validation checkpoints, not a claim that every training step was evaluated. The plots connect the recorded checkpoints to make the trend easier to inspect.

Interpreting the results

The validation curve shows steady improvement across the run, with the largest gains occurring earlier and smaller gains toward the end. This indicates that the model continued to improve on the held-out validation stream during the recorded training period.

The results should be interpreted in the context of a 5.49M-parameter model, a 4K-token vocabulary, and a 256-token context window. Fawn can produce simple readable text, but its story generation remains limited: grammar and local language patterns are more reliable than long-range coherence, detailed plot development, or sophisticated storytelling.

No standardized benchmark score is reported here. A comparative evaluation is intended after the companion Pronghorn-5M-v2 training run is complete.

Intended use

  • Small-scale English text generation.
  • Short, simple story generation.
  • Educational exploration of decoder-only Transformer training.
  • Research and experimentation with compact language models.

Limitations

  • Small capacity: at approximately 5.49M parameters, the model has limited representational capacity compared with modern general-purpose language models.
  • Short context: the context window is 256 tokens, limiting how much preceding text it can use.
  • Narrow training domain: the training mixture focuses on short stories and children's fiction; performance outside this domain is not established.
  • Generation quality: outputs may contain repetition, weak transitions, inconsistent details, or grammatical errors.
  • No instruction tuning: this is a base causal language model, not a chat assistant. It has not been tuned to follow instructions or maintain dialogue.
  • No safety alignment: outputs are not safety-filtered and should not be treated as advice or authoritative information.
  • Evaluation scope: the reported metrics are validation loss and perplexity on the project's held-out validation data. They are not directly comparable to scores from unrelated datasets or tokenizers.

Experimental context

Pronghorn-5M-v2 is being used in a small data-scaling experiment. The goal is to compare variants with the same model architecture and parameter count but different training-token budgets. Fawn is the approximately 148M-token-exposure run. A larger-exposure companion run and a later comparative evaluation are planned.

The experiment is intended as a controlled learning exercise, not a claim that increasing token exposure alone guarantees better generated text.

Repository contents

The model repository should include the model weights, tokenizer, model configuration, the Python model implementation required to load the custom architecture, and this README. See the upload checklist below before publishing.

Citation

If you use this model, please cite or link to this Hugging Face repository:

AlmostNobody/Pronghorn-5M-v2-Fawn

Acknowledgements

This model was trained using the TinyStories and Children-Stories-Collection datasets. Please refer to their original dataset pages and licenses for source-dataset terms. The processed training mixture is published as AlmostNobody/taleweave-74m-4k.

Downloads last month
110
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train AlmostNobody/Pronghorn-5M-v2-Fawn