Hugging Face releases nanowhale, a 110M DeepSeek-V4-style model

In short

110M parameters, about 14,500 times fewer than DeepSeek-V4-Pro; 1 H100 GPU used for training; ~2.6B tokens of pre-training text; 12.90 perplexity of the chat model, Hugging Face's own measure

Why build such a small DeepSeek-style model?

The big open models of 2026 are hard to study from the inside. DeepSeek-V4-Pro, whose card lists 1.6 trillion parameters, 49 billion of them active per token, and pre-training on more than 32 trillion tokens, needs a data centre to train and a rack of GPUs to run.

nanowhale shrinks the same blueprint until it fits on one card. The training code is public, with configuration files, a pre-training script and a fine-tuning script, so a student or researcher can rerun the whole thing, change one part and see what happens (our reading of what the repository offers; Hugging Face published no blog post explaining its aims). The modelling file says it was "ported from" DeepSeek-V4-Pro's own inference code and rewritten in plain PyTorch, so it runs without DeepSeek's custom GPU kernels.

What is inside

The card lists four DeepSeek-V4 ideas rebuilt at small scale. In plain words (our explanations):

One quirk follows from the miniature scale: DeepSeek's vocabulary is so large that the word table alone takes about 37% of the model, the GitHub README says, leaving little room for the part that does the thinking.

How it was trained

Training came in two stages, both on one Nvidia H100 with 80 GB of memory, according to the cards.

How well it works

All numbers are Hugging Face's own; its README says perplexity was measured on held-out English text and does not say what that text was. No one else has published a test of the model that we found.

Perplexity is roughly how many choices the model is torn between when it guesses the next token, so lower is better (our explanation). Token accuracy is how often its top guess is the right next token. They are training-health checks; the card reports no reasoning or knowledge tests.

This is a demonstration model. Its own card calls it "undertrained" and says its answers are often incoherent or wrong. It also needs 32-bit numbers: in the more common 16-bit format (bf16) the hyper-connections produce values too big to store, and the model breaks.

Is nanowhale open source?

Both models' weights can be downloaded from Hugging Face without an access form, under the Apache 2.0 licence. In plain words (our reading), that lets anyone use, change, fine-tune and redistribute the model, also commercially, as long as the licence and copyright notices go with it. The training code on GitHub is marked MIT in its README, an even shorter permissive licence. DeepSeek-V4 itself is released under MIT, its card says.

Loading it takes one extra step: the architecture is not yet part of the standard Transformers library, so the model needs trust_remote_code=True, which runs the modelling file shipped with the weights.

The upload history shows how fast it followed DeepSeek:

22 Apr 2026: DeepSeek's V4-Pro and V4-Flash repositories appear on Hugging Face. 24 Apr 2026: The two nanowhale repositories are created, still empty. 30 Apr 2026: The base and chat weights and their model cards are uploaded. 4 May 2026: The cards are corrected to point to the HuggingFaceTB copies and get their metadata.

Not quite matching

Sources

Sources

Related stories

More from Open Models

All stories from Open Models