nanowhale
nanowhale is a tiny language model project open-sourced by Hugging Face, trained from scratch using the DeepSeek-V4 architecture with approximately 110 million parameters. The repository contains all the code, configurations, and tokenizer needed for pretraining and fine-tuning. The model implements the full feature set of DeepSeek-V4 at a tiny scale, including Multi-head Latent Attention (MLA), Mixture of Experts (MoE), Hyper-Connections, and Multi-Token Prediction (MTP). It is suitable for research, learning, or experimenting with small-scale implementations of the DeepSeek architecture.