/ Модель

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

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

KLM-1.5

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

KLM 1.5 — компактная базовая англоязычная языковая модель для продолжения текста и дообучения под конкретные задачи.

1 122скачиваний за 30 дней31лайквеса обновлены1 ноя 2026

Бенчмарки

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

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

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

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

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

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

KLM 1.5 — базовая языковая модель, разработанная MinimaLabs и обученная с нуля на 100 млрд токенов. Она предназначена для продолжения английского текста и последующего дообучения под конкретные задачи; модель не обучена следовать инструкциям или вести диалог. В карточке указано 99 млн параметров, тогда как метаданные Hugging Face указывают 72,9 млн; архитектура включает 24 слоя, чередующие Gated DeltaNet-2 и полное внимание в пропорции 3:1, а также память точных n-грамм. Контекст составляет 2 048 токенов.

Модель показала результаты на бенчмарках ARC, HellaSwag, PIQA и ArithMark-3; по приведённым данным она занимает первое место среди моделей до 100 млн параметров в Open SLM leaderboard. Запускается через Transformers на CPU или GPU. Модель работает только с английским текстом, обладает ограниченными знаниями, часто ошибается в фактах и не имеет защитного выравнивания. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

KLM 1.5

KLM 1.5

KLM 1.5 is a 99M-parameter base language model. It is a new pretrain compared to KLM 1.1 which continued training KeyLM-75M whereas KLM 1.5 has a new architecture and was trained from scratch on 100B tokens.

What's new

  • Hybrid layers. KLM 1.5 mixes Gated DeltaNet-2 and full attention layers at a 3:1 ratio. The Gated DeltaNet-2 layers carry a fixed-size recurrent memory through the sequence instead of attending to every earlier token.
  • Block Attention Residuals (Kimi Team, 2026). Each layer reads a learned mix of the embeddings and the outputs of every earlier layer, instead of adding everything into one running residual sum.
  • Exact n-gram memory. The 125,000 most frequent bigrams and 38,000 most frequent trigrams in the training data each have their own learned vector, which is looked up exactly and fed into the model next to the token embeddings. The memory holds 5.4M parameters.
  • A small tokenizer. The vocabulary has 4,100 tokens and splits every number into single digits. Since the embeddings are tied, they only cost 2.1M parameters, which leaves almost all of the model for the layers.

Benchmarks

All scores are zero-shot with length-normalized accuracy.

  • ARC, HellaSwag and PIQA were scored using lm-eval 0.4.12.
  • ArithMark-3 was scored using the official ArithMark-3.0 script.
  • Peer scores are taken from the Open SLM leaderboard as of 2026-10-22.

On that leaderboard, KLM 1.5's Intelligence Index is 30.26 which puts it first among models under 100M parameters and second under 150M.

Each chart's axis starts at random-guess accuracy, which is 25% for most benchmarks and 50% for PIQA, so the height of a bar shows how far a model scores above chance.

Benchmark scores

ModelParamsARC-EasyARC-ChallengeHellaSwagPIQAArithMark-3
KLM 1.599.0M59.68%32.68%43.74%68.55%48.20%
KLM 1.188.1M44.36%25.17%33.65%64.80%35.80%
GPT-X3-150M149M59.64%31.31%46.16%71.33%50.90%
SmolLM2-135M135M58.63%29.69%43.22%68.44%39.20%
LFM-2.5-230M-Base230M59.72%34.98%39.29%63.38%36.60%
void.190.1M47.31%28.16%38.68%67.46%44.80%

Training

KLM 1.5 was trained on 2,048-token sequences with 128 sequences per step, in three stages.

  1. Superposition warm-up for 70,000 steps, using Token-Superposition Training. Each input position is the average of 7 consecutive tokens, and the model learns to predict the next 7 tokens as an unordered group. This lets the warm-up cover 128B tokens of ClimbMix for the compute of about 18B.
  2. Stable training on 80B tokens of next-token prediction at a constant learning rate.
  3. Decay on 20B tokens of a mix with more math and Q&A, while the learning rate falls to zero along a 1−√t curve.

The weight matrices were trained with MuonEq-R at a learning rate of 0.01, and the embeddings, norms and gates with AdamW at 3e-3, in bf16. Each 2,048-token sequence packs several documents, and the model never looks across a document boundary since attention is masked there, and the recurrent state and n-gram history are reset.

The data mix shifted between the stable and decay stages as follows.

DataSourcesStableDecay
Web textClimbMix, TxT360-v2, UltraX56%26%
Q&ATxT360-v2 Q&A, Dolmino Q&A and flashcards13%23%
TextbooksCosmopedia v2, Cosmopedia WikiHow12%14%
MathOpenMathInstruct-2, UltraData-Math, Math-Reasoning, Dolmino TinyMATH11%20%
Science webDolmino3%8%
CommonsenseDCLM-baseline filtered for physical commonsense, ATOMIC 2020, ANLI, GLUCOSE, CREAK, SciQ, QASC3%8%
Reasoning rewritesPretrain-Behaviors2%1%

Architecture

FieldValue
Parameters98,975,308, of which 5,411,832 are the n-gram memory
Layers24, Gated DeltaNet-2 and attention at 3:1
Hidden size512
Gated DeltaNet-24 heads × 128
Attention8 query heads, 4 KV heads, head size 64, RoPE, QK-norm, output gate
Feed-forwardSwiGLU, hidden size 1,408
Context length2,048 tokens
Vocabulary4,100 tokens, tied embeddings

Intended use

KLM 1.5 is a base model. It continues text but has not been trained to follow instructions or chat, so it is meant to be fine-tuned for your own use case. The tokenizer already has <|im_start|>, <|im_end|>, <think> and </think> as single tokens, so they are ready to use in chat and reasoning fine-tunes.

Usage

The model code is plain PyTorch, so KLM 1.5 runs on a CPU as well as on any GPU without extra packages beyond Transformers.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "MinimaLabs/KLM-1.5"
device = "cuda" if torch.cuda.is_available() else "cpu"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True).to(device)

inputs = tokenizer("The three primary colors are", return_tensors="pt").to(device)
outputs = model.generate(**inputs, max_new_tokens=40, do_sample=True, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Limitations

  • The model's knowledge is thin, and the facts it states are often wrong.
  • It only works in English and has a 2,048-token context window.
  • It has no safety alignment, so add your own filtering before putting it in front of users.

License

KLM 1.5 is released under the Apache-2.0 license, which you can find in LICENSE.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
KLMForCausalLM
Ревизия весов
b2bbc22

0 моделей