Model reference · open weights

nanowhale

nanowhale is an open-weight language model from HuggingFaceTB, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs HuggingFaceTB 1 variants 949 downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What nanowhale is

nanowhale-100m 🐳 A small ~110M parameter language model implementing the DeepSeek-V4 architecture, fine-tuned for chat/instruction following. Trained from scratch — no weights from DeepSeek-V4 were used. - Pretrained base model: HuggingFaceTB/nanowhale-100m-base - This model: SFT on HuggingFaceTB/smol-smoltalk - Training code: github.com/huggingface/nanowhale Architecture This model implements key DeepSeek-V4 innovations at a miniature scale: Training Stage 1: Pretraining - Dataset: HuggingFaceFW/fineweb-edu - Steps: 5,000 | Tokens: ~2.6B - Batch: 32 effective (8 × 4 GA) | Seq length: 2,048 - LR: 6e-4, cosine, 3% warmup - Precision: bf16 mixed Stage 2: SFT (this model) - Dataset: HuggingFaceTB/smol-smoltalk (460K conversations) - Steps: 3,000 | Tokens: ~72.7M - Batch: 32 effective (8 × 4 GA) | Seq length: 2,048 - LR: 2e-5, cosine, 5% warmup - Precision: fp32 Metrics Usage Limitations - Tiny model: 110M params with 129K vocabulary — most capacity goes to embeddings. Generations are often incoherent or factually wrong. - Undertrained: Only 5K pretrain + 3K SFT steps. Production models train for 100K+ steps on trillions of tokens. - Educational purpose: This model demonstrates the DeepSeek-V4 architecture at small scale. It is not suitable for any production use. - bf16 NaN: Use fp32 — the Hyper-Connections architecture produces values that overflow bf16 range at this scale. - Custom code: Requires trustremotecode=True. Hardware Trained on 1× NVIDIA H100 80GB. License Apache-2.0

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

MakerHuggingFaceTB
TypeLanguage models
Parameters (lead)110M
Context2k tokens
Variants1
Runs withtransformers
Based onHuggingFaceTB/nanowhale-100m-base
Released2026-04-24
Popularity949 downloads / month
Likes67
LicenceOpen weights

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
nanowhale-100m110MBF16~0.3 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys nanowhale for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (nanowhale below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nanowhale","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Languages

en

Trained / evaluated on

HuggingFaceFW/fineweb-edu HuggingFaceTB/smol-smoltalk

Tags

transformers safetensors deepseek_v4 text-generation deepseek moe causal-lm sft chat conversational custom_code en dataset:HuggingFaceFW/fineweb-edu dataset:HuggingFaceTB/smol-smoltalk

Licence

Open weights

Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want nanowhale on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms