/ Модель

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

Контекст
2 048 токенов
Параметры
5,1 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Библиотека
transformers
Опубликована
27 сен 2026

Wisp-5M

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

Wisp-5M — компактная базовая языковая модель архитектуры LLaMA для учебных и исследовательских экспериментов, запуска на устройствах с ограниченными ресурсами и дальнейшего дообучения.

269скачиваний за 30 дней1лайквеса обновлены27 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Wisp-5M — небольшая базовая языковая модель семейства Wisp, разработанная DedeProGames и обученная с нуля. Это плотный авторегрессионный декодер архитектуры LLaMA на 5,1 млн параметров; модель загружается через Transformers как LlamaForCausalLM без пользовательского кода. Обучение проводилось на 3 млрд токенов английского веб-текста, кода и математических данных.

Модель предназначена для экспериментов с малыми языковыми моделями, обучения и демонстраций, запуска на устройствах с ограниченными ресурсами, использования как черновой модели в speculative decoding и как основы для дальнейшего дообучения. Контекст составляет 2048 токенов; используется токенизатор byte-level BPE на 8192 токена. Это базовая, не настроенная на выполнение инструкций модель.

Из-за малого размера у Wisp-5M ограничены знания и способность рассуждать: текст может выглядеть связным, но содержать ошибки или быть несвязным. Модель ориентирована преимущественно на английский язык, не проходила выравнивание или настройку безопасности и может воспроизводить предвзятости обучающих данных. Лицензия — Apache-2.0.

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

  • учебные эксперименты с малыми языковыми моделями
  • генерация английского текста в экспериментах на устройствах с ограниченными ресурсами
  • черновая генерация для speculative decoding
  • дообучение базовой модели под специализированные задачи
  • исследование влияния размера модели на качество генерации

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Wisp-5M

Wisp-5M is a tiny decoder-only language model from the Wisp family, trained from scratch on 3.00B tokens of English web text, code and math. It uses a plain LLaMA architecture, so it loads with transformers (LlamaForCausalLM) with no custom code.

It is a base model (not instruction-tuned). Its size makes it useful for research, education, speculative decoding drafts, on-device experiments and as a starting point for fine-tuning. Don't expect factual accuracy.

loss curve

The Wisp family

ModelParamsNon-embeddingHiddenLayersHeadsKV headsFFNTokens
Wisp-5M5.1M3.5M1929625123B
Wisp-15M15.5M12.9M320121028643B
Wisp-60M (planned)60.6M56.4M51220821408—

All models share the same tokenizer and saw the same data in the same order: one fixed global shuffle of 2048-token windows. That makes the family directly comparable across sizes.

Architecture

  • LLaMA-style decoder: pre-norm RMSNorm, rotary position embeddings (θ = 10,000), SwiGLU MLP, grouped-query attention, no biases, tied input/output embeddings
  • Deep-and-thin shapes (following MobileLLM), which work better than wide-and-shallow at this scale
  • Context length: 2048 tokens
  • Tokenizer: Wisp byte-level BPE, 8,192 tokens, trained on the same data mix; digits are split individually (better for arithmetic); <|endoftext|> is used as BOS/EOS and document separator. Compression is ~3.8 characters/token on English web text and ~3.0 on code.

Training

Tokens3.00B (11,444 steps × 262,144 tokens)
Sequence length2048
OptimizerMuon (hidden matrices, Moonlight RMS-matched update) + AdamW (embeddings, norms)
Peak LR / weight decay0.01 / 0.1
ScheduleWarmup-Stable-Decay: 1% warmup, linear decay to 0 over the last 20%
Precisionmixed precision (bf16/fp16 autocast, fp32 master weights), torch.compile
Hardware1× NVIDIA Tesla T4 (Hugging Face Jobs), 340 min
  • Compute cost: ~US$2.28 on Hugging Face Jobs

Data mix

An 8B-token pool was pretokenized with the mix below and shuffled once as 2048-token windows. Each model trained on the first 3.00B tokens of that shuffle, which keeps the same proportions.

SourceSubset / filterShareTokens in pool
FineWeb-Edusample-100BT45%3.6B
DCLM-Baselineglobal-shard_0135%2.8B
The Stack v340 popular languages, no vendor files, <=64KB12%0.96B
FineMathfinemath-4plus8%0.64B

Evaluation

Held-out cross-entropy (nats/token, lower is better) on documents never seen in training:

FineWeb-EduDCLMStack v3FineMathAverage
3.2283.4561.7682.5752.757

The average is unweighted across the four sources. Code is much more predictable than prose, so it sits below the training loss, which follows the 45/35/12/8 training mix. Weighted by that mix, the held-out loss is 3.080.

Zero-shot benchmarks

lm-evaluation-harness, zero-shot; acc_norm for HellaSwag/ARC/PIQA/OpenBookQA/SciQ, acc for WinoGrande/LAMBADA. Pythia-70M (70M params, 300B tokens of the Pile) is shown as a reference from EleutherAI's published evaluations.

TaskWisp-5MPythia-70MRandom
HellaSwag27.1—25.0
ARC-Easy32.735.025.0
ARC-Challenge22.722.125.0
PIQA54.259.150.0
WinoGrande48.652.850.0
OpenBookQA24.6—25.0
SciQ60.255.225.0
LAMBADA16.818.50.0
LAMBADA ppl266.9142.4—

Greedy samples right after training:

  • 'The meaning of life is the same as the meaning of life. The meaning of life is the same as the meaning of life.\nThe meaning of life is the same as the meaning of life. It means that we know what we are doing and how we can do'
  • 'Once upon a time, the world was not as much of an issue. The world had to be more than just a single day and a week.\nThe world was very different from what we have today. We are all in our own homes. It is a great'
  • 'def is_prime(n): 10\n# 2. The number of digits in the first digit is 3, and the last digit is 4.\n# 3. The number of digits in the second digit is 5, and the last digit'
  • 'The derivative of x^2 is the product of its value. The derivative of y^2 is the product of its value.\n\n## 1. What are the derivatives?\n\n### 3. How do you find the derivative of x^2?\n\n### '

Usage

from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "DedeProGames/Wisp-5M"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)

inputs = tok("The water cycle is", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=60, do_sample=True, temperature=0.8, top_p=0.95,
                     repetition_penalty=1.1)
print(tok.decode(out[0], skip_special_tokens=True))

The tokenizer prepends <|endoftext|> as BOS, which matches how documents were laid out during training.

Limitations

A model this small has very limited knowledge and reasoning. It will produce fluent-looking but often wrong or incoherent text, and it can reproduce biases present in web data. It is English-centric and was not aligned or safety-tuned. Don't use it for anything where correctness matters.

License

Apache-2.0 for the model weights. Training data licenses: FineWeb-Edu, FineMath and The Stack v3 are ODC-By; DCLM-Baseline is CC-BY-4.0. Code in The Stack v3 comes with its original licenses.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
9a61752

0 моделей