Downloads · 30 days
10
0% of all-time downloads
MrSnazMan/nanochat-10k
nanochat-10k is a text generation model from MrSnazMan. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
nanochat-10k is an early-stage, undertrained language model built using the nanochat framework created by Andrej Karpathy. It is intended for educational purposes, showcasing how transformer-based language models are…
Downloads · 30 days
10
0% of all-time downloads
All-time downloads
3.2K
Public
Repo size
5.3 GB
Likes
0
Public
Click a slice to open those files.
.bin2.7 GB · 100%
From the Hugging Face model README
nanochat-10k is an early-stage, undertrained language model built using the nanochat framework created by Andrej Karpathy.
It is intended for educational purposes, showcasing how transformer-based language models are trained and how their behavior evolves during early training.
⚠️ This model is not optimized for performance or real-world use.
This model was trained using the nanochat framework developed by Andrej Karpathy.
Credit goes to him for the underlying training methodology, architecture design, and tooling that made this experiment possible.
| Parameter | Value |
|---|---|
| Layers | 20 |
| Attention Heads | 10 |
| KV Heads | 10 |
| Embedding Size | 1280 |
| Head Dimension | 128 |
| Context Length | 2048 tokens |
| Vocabulary Size | 32,768 |
| Window Pattern | L |
| Parameter | Value |
|---|---|
| Optimizer | Likely AdamW (not explicitly recorded) |
| Embedding LR | 0.3 |
| Unembedding LR | 0.008 |
| Matrix LR | 0.02 |
| Scalar LR | 0.5 |
| Weight Decay | 0.28 |
| Warmup Steps | 100 |
| Warmdown Ratio | 0.85 |
| Final LR Fraction | 0.05 |
No formal benchmarks have been conducted.
| Metric | Value |
|---|---|
| Validation BPB | 0.8325 |
| Best Val BPB | 0.7318 |
| Train Loss (smoothed) | 2.6494 |
Prompt:
Explain recursion simply:
Output:
Recursion is when something calls itself but it can be confusing and sometimes it keeps going because it is repeating the same idea again and again.
This model should not be used for:
from transformers import pipeline
generator = pipeline("text-generation", model="your-username/nanochat-10k")
print(generator("Explain recursion simply:", max_length=50))
This model is part of an educational exploration of transformer architectures using a minimal implementation (nanochat) by Andrej Karpathy.
It is shared to document training progress and provide insight into early-stage model behavior.