/ Модель

Характеристики

Лицензия
Apache 2.0
Опубликована
12 окт 2026

LittleKedi-mini-base

Генерация текстаТекст → текст3 профессии

Компактная базовая MoE-языковая модель, обученная с нуля для продолжения англоязычного текста и экспериментов с архитектурой DeepSeek-V3-подобного типа.

73скачиваний за 30 дней0лайковвеса обновлены14 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

LittleKedi-mini-base — небольшая языковая модель семейства LittleKedi, разработанная с нуля и не связанная с DeepSeek. Это базовая модель до дообучения на инструкциях: она продолжает текст, но не предназначена для выполнения пользовательских инструкций. На момент описания обучение продолжается; опубликован чекпойнт после 1,5 млрд из запланированных 3,2 млрд токенов.

Модель использует архитектуру Mixture-of-Experts в стиле DeepSeek-V3 с Multi-head Latent Attention: 8 слоёв, скрытый размер 192, 9,4 млн параметров всего и около 4,8 млн активных на токен. Предобучение проводилось на смеси англоязычных образовательных текстов, математических материалов, кода и диалоговых данных; карточка сообщает о связном продолжении текста на английском. Модель подходит для образовательных экспериментов и исследований компактных разреженных архитектур.

Разработчик указывает, что модель слабо знает факты и может уверенно выдумывать ответы; её не следует применять в ответственных сценариях. Лицензия — Apache-2.0.

Сценарии применения

  • продолжение англоязычного текста
  • эксперименты с компактными MoE-моделями
  • исследование Multi-head Latent Attention
  • сравнение разреженных языковых архитектур

Ограничения

Это незавершённый промежуточный чекпойнт, который не следует использовать для следования инструкциям или ответственных задач. Модель слабо знает факты и может уверенно генерировать выдуманную информацию.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

LittleKedi-mini-base

Training in progress. This is a checkpoint at 1.50B of 3.2B tokens (47%). The weights and results below will be replaced as training continues, and the final model will be better than this checkpoint.

LittleKedi-mini-base is a small DeepSeek-V3-style Mixture-of-Experts language model trained from scratch. It has 9.4M parameters in total, of which 4.8M are active per token (3.18M excluding the embedding table). It was pretrained on a 1,500M-token mix (FineWeb-Edu, Cosmopedia (Stanford), Cosmopedia (OpenStax), Cosmopedia (WikiHow), Cosmopedia (Khan Academy), FineMath 4+, github-code-clean, SmolTalk).

Part of the LittleKedi family. Not affiliated with DeepSeek.

This is the base model, before any instruction tuning. It continues text; it doesn't follow instructions. It's an educational and research artifact: it writes fluent, on-topic English but knows few facts and confidently makes things up. Don't use it for anything that matters.

The LittleKedi family

LittleKedi is a family of small DeepSeek-V3-style Mixture-of-Experts language models trained from scratch. Every size comes in three variants that differ in how sparse they are: how many routed experts they have, and what share of their parameters a token actually passes through.

VariantRouted experts
standard (<size>)a few wide experts; the densest variant
sparse (<size>-sparse)many narrower, fine-grained experts, more of them active per token
wide-sparse (<size>-wide-sparse)more experts again; the largest total and smallest active share

More experts means more total capacity to store knowledge, but each expert sees fewer tokens (tokens × top-k ÷ experts per layer), so sparser variants need more training data before their experts are well trained. The variants of a size share a tokenizer and dataset, so they can be compared directly. Shapes change as the family scales; the table below is generated from the current presets.

This card is for mini, the standard mini model: 4.8M of its 9.4M parameters (51%) are active per token. Its siblings are mini-sparse and mini-wide-sparse.

ModelVariantVocabTotalActiveActive non-emb.Active %Routed experts
tinystandard8K2.0M1.5M0.5M78%8 × 64, top-2
tiny-sparsesparse8K2.6M1.6M0.5M60%32 × 32, top-4
tiny-wide-sparsewide-sparse8K3.8M1.6M0.5M42%64 × 32, top-4
mini ← this modelstandard8K9.4M4.8M3.2M51%12 × 128, top-3
mini-sparsesparse8K19.8M4.8M3.2M24%64 × 64, top-6
mini-wide-sparsewide-sparse8K36.4M4.9M3.3M13%128 × 64, top-6
smallstandard8K12.2M6.3M4.2M52%16 × 128, top-4
small-sparsesparse8K24.1M6.4M4.3M27%80 × 64, top-8
small-wide-sparsewide-sparse8K43.9M6.5M4.4M15%160 × 64, top-8
moderatestandard16K49.8M18.8M12.5M38%24 × 192, top-4
moderate-sparsesparse16K105.8M19.1M12.8M18%120 × 96, top-8
moderate-wide-sparsewide-sparse16K199.0M19.4M13.1M10%240 × 96, top-8
mediumstandard16K85.9M30.8M22.4M36%24 × 256, top-4
medium-sparsesparse16K185.3M31.2M22.8M17%120 × 128, top-8
medium-wide-sparsewide-sparse16K350.9M31.6M23.2M9%240 × 128, top-8
basestandard32K258.7M105.4M80.2M41%32 × 256, top-6
base-sparsesparse32K542.8M106.3M81.2M20%160 × 128, top-12
base-wide-sparsewide-sparse32K1015.9M107.6M82.4M11%320 × 128, top-12

"Active" counts everything a token passes through: embeddings, attention, the dense layer, shared experts and its top-k routed experts. "Active non-embedding" leaves out the embedding table (tied with the output head), which costs memory but almost no compute; it's the fair number for comparing compute between models.

Architecture

ComponentThis model
Parameters9.40M total, 4.75M active per token (51%), 3.18M active non-embedding
Layers / hidden size8 / 192 (layer 0 has a dense SwiGLU FFN of 512; layers 1–7 are MoE)
AttentionMulti-head Latent Attention (MLA): 6 heads, KV latent 48, decoupled RoPE dim 16, head dims 24+16 (q/k) and 24 (v). The KV cache stores only the 48-dim latent plus a 16-dim RoPE key per token
MoEDeepSeekMoE: 12 routed experts (SwiGLU, 128 hidden), top-3, plus 1 shared expert; sigmoid gating; group-limited routing (3 groups, top-2)
Load balancingAuxiliary-loss-free bias balancing (update speed 0.001) plus a small sequence-wise loss (α = 0.0001). Over the second half of training the median batch put 1.09× the mean load on the busiest expert (1.14× in the worst layer), and 0.00% of expert assignments were dropped for capacity.
Expert dispatchTraining: fixed capacity (capacity factor 2.0; overflow assignments are dropped). Inference is always dropless
EmbeddingsInput embedding and output head tied
Context1,024 tokens

Training

Data1,500M tokens (~160 tokens per parameter, ~316 per active parameter), the first 36% of a 4,200M-token dataset, sources interleaved throughout (mix below)
TokenizerByte-level BPE, 8,192 tokens (~3.70 bytes/token on this mix); digits split individually; chat special tokens built in
Steps22,889 × 65,536 tokens (batch 16 × 1024 × 4 accumulation)
OptimizerMuon (momentum 0.95, Nesterov, 5 Newton-Schulz steps; each expert's matrix orthogonalized separately) for hidden matrices, AdamW (β = 0.9, 0.95) for embeddings, norms and the router; weight decay 0.1, gradient clipping 1.0
Learning rate2e-3 peak; WSD: 200 warm-up steps, constant, then linear decay to 0 over the last 20% of steps (schedule set for 48,828 steps)
Precisionbf16 autocast, torch.compile
Compute~2.9e16 FLOPs (6 × active non-embedding parameters × tokens)
HardwareOne AMD Radeon 890M integrated GPU (Ryzen AI 300 laptop), ROCm on Windows: about 44.8 hours at a median ~9.3K tokens/s
SourceWhat it isTokensShare
FineWeb-Edu sample/10BTeducational web pages2,734M65%
Cosmopedia (Stanford)synthetic textbooks340M8%
Cosmopedia (OpenStax)synthetic textbooks120M3%
Cosmopedia (WikiHow)synthetic how-to articles130M3%
Cosmopedia (Khan Academy)synthetic lessons23M1%
FineMath 4+maths web pages424M10%
github-code-cleansource code172M4%
SmolTalkchat conversations256M6%

Evaluation

MetricValue
Validation loss (nats/token, held-out mix)3.106
Perplexity22.3
Bits per byte1.226
Experts never chosen on the validation sample0

Validation loss over training: 5.13 (16M tok) → 3.31 (229M tok) → 3.21 (442M tok) → 3.16 (655M tok) → 3.14 (852M tok) → 3.12 (1,065M tok) → 3.11 (1,278M tok) → 3.11 (1,491M tok)

Zero-shot benchmarks (evals.py)

Taskacc_normaccItemsChance
SciQ57.3% ± 1.6%62.5%1,00025%
ARC-Easy33.8% ± 1.0%34.7%2,37625%
HellaSwag27.4% ± 0.4%26.4%10,04225%

Each answer choice is scored by the log-probability of its text after the prompt, using lm-evaluation-harness prompts (SciQ includes its supporting passage). acc_norm divides by the answer's length in characters; acc doesn't. Splits: SciQ test, ARC-Easy test, HellaSwag validation.

MMLU (mmlu_eval.py)

FormatAccuracyQuestions scoredAverage few-shot examples
letter24.9%14,037 (skipped 5)4.5
cloze25.6%14,037 (skipped 5)0.0
CategorySubjectsQuestionsLetterCloze
STEM193,15326.9%24.0%
Humanities134,70523.4%25.5%
Social Sciences123,07724.2%26.6%
Other133,10225.7%26.5%

Biology & medicine (cloze): 26.7% on 2,089 questions, +1.7 points against 25% chance (about 1.8 standard errors, not yet significant). This pools the 10 life-science and health subjects; it isn't an official MMLU category.

In the letter format the model compares " A"–" D", with same-subject examples added while they fit the context. In the cloze format each answer's text is scored by log-probability per byte; at this size the cloze results are the meaningful ones. Chance is 25%.

Compared with its siblings and other small models

This modelPythia-70MGPT-2Supra-50M
Parameters (total)9.4M70.4M124.4M51.8M
Active non-embedding parameters3.2M18.9M85.1M35.4M
Training tokens1,500M300B (the Pile)undisclosed (WebText)20B (FineWeb-Edu)
SciQ (acc_norm)57.3%55.2%53.2%77.2%
ARC-Easy (acc_norm)33.8%35.0%42.0%52.2%
HellaSwag (acc_norm)27.4%–29.5%31.8%
MMLU (cloze)25.6%–––
MMLU biology & medicine (cloze)26.7%–––
Validation loss (held-out mix)3.106–––

LittleKedi columns are measured with this repo's evals.py and mmlu_eval.py on the checkpoints named. Validation losses are only comparable between models that share a tokenizer and validation set. The other columns are published figures: Pythia-70M from EleutherAI's evaluations as quoted on the Wisp-15M card, GPT-2 and Supra-50M from the Supra-50M-Base card. Their prompts may differ from ours, so treat gaps of a few points as noise.

What it can and can't do

To be written when training completes.

Usage

PyTorch (needs the littlekedi package from the training code):

import json, torch
from safetensors.torch import load_file
from littlekedi import LittleKediModel, ModelConfig
from littlekedi.tokenizer import BPETokenizer

model = LittleKediModel(ModelConfig.from_dict(json.load(open("config.json")))).eval()
model.load_state_dict(load_file("model.safetensors"))
tok = BPETokenizer.from_file("tokenizer.json")
ids = torch.tensor([[tok.eot_id] + tok.encode("Photosynthesis is")])
print(tok.decode(model.generate(ids, 60, temperature=0.7, top_p=0.9, repetition_penalty=1.15)[0].tolist()))

Or interactively: python sample.py --ckpt <checkpoint>.pt. Base models are released as PyTorch weights only; GGUF builds come with the instruct models.

Files

FileContents
model.safetensorsPyTorch weights (embedding tied with the output head), littlekedi parameter names
config.jsonModelConfig for littlekedi
tokenizer.jsonByte-level BPE tokenizer (Hugging Face tokenizers format)
little_kedi.jpgThe LittleKedi logo

Acknowledgements

  • The architecture follows DeepSeek-V3 (DeepSeek-AI, 2024): MLA, DeepSeekMoE and auxiliary-loss-free balancing.
  • Muon (Keller Jordan et al., 2024) with Moonlight's update scaling (Liu et al., 2025).
  • Pretraining data: FineWeb-Edu (ODC-BY 1.0).
  • Pretraining data: Cosmopedia (Apache 2.0).
  • Pretraining data: FineMath 4+ (ODC-BY 1.0).
  • Pretraining data: github-code-clean (Apache 2.0, with each file under its own open-source license).
  • Pretraining data: SmolTalk (Apache 2.0 for its new subsets, with the datasets it includes under their own licenses).

Card generated 2026-10-14 by prepare_release.py from mini-1500M.pt (step 22888).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
808afcc

0 моделей