🧠 dpp-gpt V2.2 Pro (260M)
(🇺🇸 English / 🇷🇺 Русский ниже)
dpp-gpt V2.2 Pro is a 260M-parameter language model trained entirely from scratch on a single consumer GPU (RTX 4060). Pre-training, fine-tuning, RL and evaluation are all done by one person. It speaks Russian, English and French, can reason step by step with a [THINK] switch, call tools, write JSON from a description and do arithmetic with long numbers digit by digit.
This is the final model of the 2.2 Pro line: 2.2 Pro preview (SFT) + reinforcement learning (GRPO). On our own benchmark suite the average went from 17.8 % (preview) to 24.2 % (2.15 Pro: 8.3 %).
⚙️ Model details
| Parameters | 259M (242M unique, input and output embeddings are tied) |
| Layers / hidden / heads / KV heads | 20 / 1024 / 16 / 4 (GQA) |
| Context length | 8192 tokens |
| Vocabulary | 16,384 (own BPE) |
| Architecture | Llama-style (RMSNorm, RoPE, SwiGLU) |
| Files | GGUF (F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q3_K_M, Q2_K) · safetensors for 🤗 transformers (LlamaForCausalLM) · PyTorch .pth (weights only) |
| License | Apache 2.0 |
📊 Training
Pre-training and SFT
Same as the preview: 2.2 Base (≈31B tokens, continued pre-training of 2.1 Base), then ≈60M tokens of SFT data. Details are in the preview card.
Reinforcement learning (GRPO)
- 9 GRPO runs of 50–350 steps on top of the preview, each one starting from the best checkpoint so far. In the later runs one step is 16 prompts × 8 answers (plus a few answers at a higher temperature), with a group-relative advantage, a KL penalty to a reference model and a small SFT replay loss, so the model does not forget the SFT data.
- Almost every reward is checked by code, without a judge: arithmetic and equations (the same generators as the pre-training math, with new numbers), school word problems in 3 languages, Python functions (the code is executed against tests), JSON from a description, finding a number in a text, formatting instructions (2–5 constraints at once), tool calls in any of several formats and answering from an unexpected tool result, translation (similarity to a reference translation), multiple choice, short-answer instructions ("one word", "answer in English", "yes or no").
- A local Gemma 4 E4B judge adds a reward for essays, poems and factual answers. It never sees the code-checked tasks.
- Difficulty selection: task types that the model always or never solves are sampled less often, because they give no learning signal.
- The final model is a weight average of three RL checkpoints: 0.4 · GRPO8 step 100 + 0.3 · GRPO9 step 150 + 0.3 · GRPO5 step 200. Each single checkpoint gained in some areas and lost in others (for example, multiplication fell from 70 % to 55 % in later runs). The average kept most of the gains and was better than every single checkpoint (24.1–25.2 → 25.9 by the E4B judge).
🏁 Benchmarks
⚠️ These are our own benchmarks, not standard public ones. They were built for this family (ru/en/fr, our prompt formats), so the numbers may be somewhat inflated in dpp-gpt's favor and are not comparable with published scores of other models. Also, part of the RL tasks are made by the same generators as some benchmarks (math, word problems, instructions), with different numbers and wording, so RL could learn the format of these tasks better than the skill itself.
- Suite: 12 areas, 2450 questions in ru/en/fr, every question asked twice (with and without thinking), temperature 0.1. Code checks everything that can be checked; poems, essays, chat, open-ended code and knowledge are judged by Gemma 4 26B. Essays much shorter than requested are penalized.
- Math: 2200 generated arithmetic tasks (25 types: + − * /, brackets, equations, fractions, numbers up to 10^40). These are not word problems (those are the wordmath column). It uses the same generators as our pre-training math data (with new numbers), so it favors dpp-gpt the most. Base model: 47.6 %, preview: 36.8 % (SFT lowered it), 2.2 Pro: 51.3 %.
What each column checks (score 0–100 %; code = checked by a program, judge = Gemma 4 26B)
| Column | Questions | What is checked |
|---|---|---|
| instr | 300 | Following formatting constraints (language, word limit, title, bullet list, start/end words…): share of constraints met, code |
| reading | 200 | Find a number in a short text with distractors ("How many books does Vera have?"): exact number, code |
| wordmath | 300 | School word problems (prices, change, speed, ages…): final number, code |
| json | 150 | Write JSON from a description: valid / right keys / right values, ⅓ each, code |
| tools | 200 | Call the right tool with the right argument and answer from its result, or do not call a tool when it is not needed, code |
| knowledge | 400 | Short factual questions compared with a reference answer, judge |
| mcq | 400 | Multiple choice a/b/c/d (facts, logic, arithmetic): the letter, code |
| pysmall | 150 | "Write a function …": share of hidden unit tests passed (the code is executed), code |
| pyopen | 80 | Open-ended small programs; the judge sees the code and its run output, judge |
| poem | 60 | Poems on a topic (form, rhyme, coherence), judge |
| essay | 60 | Short essays (topic, structure, coherence); much shorter than requested is penalized, judge |
| chat | 150 | Everyday requests and advice: helpfulness and correctness, judge |
| math | 2200 | Arithmetic and equations (see above), code |
Looped answers get at most 0.3 on judged tasks. Avg = mean of the 13 columns.
dpp-gpt family (sorted by average)
| Model | Params | Avg | instr | reading | wordmath | json | tools | knowledge | mcq | pysmall | pyopen | poem | essay | chat | math |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.2 Pro | 260M | 24.2 | 30.5 | 25.2 | 12.3 | 53.3 | 59.7 | 3.5 | 24.8 | 22.3 | 4.4 | 19.2 | 6.9 | 1.6 | 51.3 |
| 2.2 Pro preview | 260M | 17.8 | 16.2 | 21.0 | 7.8 | 41.4 | 45.9 | 2.6 | 23.2 | 9.7 | 3.6 | 19.6 | 2.9 | 1.1 | 36.8 |
| 2.15 Pro | 260M | 8.3 | 14.4 | 11.5 | 2.3 | 34.7 | 0.0 | 1.9 | 13.9 | 5.2 | 0.5 | 8.6 | 1.2 | 0.1 | 13.4 |
| 2.1 Pro | 260M | 5.2 | 12.1 | 11.5 | 1.8 | 17.4 | 0.0 | 0.2 | 7.9 | 4.4 | 0.5 | 1.2 | 0.2 | 0.3 | 10.1 |
| 2.1 flash | 90M | 2.7 | 8.1 | 3.0 | 0.8 | 1.1 | 0.0 | 0.2 | 11.4 | 0.1 | 0.0 | 1.1 | 0.0 | 0.1 | 9.3 |
| 2.0 flash | 135M | 1.7 | 12.1 | 1.8 | 0.2 | 0.7 | 0.0 | 0.2 | 5.5 | 0.3 | 0.0 | 0.0 | 0.1 | 0.4 | 1.0 |
| 2.0 Pro | 280M | 1.1 | 8.2 | 0.5 | 0.3 | 1.6 | 0.0 | 0.2 | 2.8 | 0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 0.3 |
Other small models (same suite, same settings, sorted by average)
| Model | Params | Avg | instr | reading | wordmath | json | tools | knowledge | mcq | pysmall | pyopen | poem | essay | chat | math |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gemma 3 1B | 1B | 69.3 | 78.4 | 96.0 | 78.7 | 96.0 | 22.1 | 59.6 | 67.5 | 86.1 | 44.5 | 63.0 | 97.8 | 66.1 | 45.3 |
| SmolLM2 360M (en only) | 360M | 47.6 | 56.1 | 73.7 | 27.7 | 92.1 | 0.0 | 80.6 | 35.0 | 71.9 | 24.0 | 36.1 | 74.4 | 38.9 | 8.8 |
| Qwen2.5 0.5B | 500M | 46.7 | 36.3 | 85.0 | 61.7 | 85.3 | 73.9 | 28.4 | 51.5 | 63.1 | 27.7 | 27.0 | 27.3 | 16.3 | 24.2 |
| LFM2.5 350M | 350M | 44.9 | 61.7 | 63.0 | 62.0 | 87.2 | 8.2 | 37.0 | 51.2 | 60.7 | 19.0 | 33.7 | 63.7 | 21.8 | 14.1 |
| Gemma 3 270M | 270M | 36.9 | 28.9 | 70.5 | 37.7 | 74.4 | 14.9 | 26.2 | 25.2 | 62.0 | 13.5 | 38.7 | 57.6 | 18.7 | 11.2 |
| SmolLM2 135M (en only) | 135M | 26.9 | 33.5 | 52.6 | 6.9 | 45.0 | 0.0 | 44.6 | 20.8 | 43.2 | 10.0 | 23.9 | 51.1 | 17.3 | 0.8 |
| Falcon-H1-Tiny Multilingual | 100M | 24.4 | 19.7 | 52.0 | 35.3 | 69.4 | 0.0 | 13.1 | 25.8 | 45.6 | 9.6 | 6.7 | 17.7 | 7.1 | 15.0 |
Honest notes
- Models without native tool calling get ≈0 on tools. SmolLM2 answers in English only, while the suite is ru/en/fr.
- dpp-gpt is trained on ≈31B tokens by one person on one GPU (RTX 4060), the other models on trillions of tokens by large teams. 2.2 Pro is not better than them in general. It is ahead on arithmetic and tool calling; on average it is about the level of Falcon-H1-Tiny (100M) and still behind the rest.
- Thinking (
[THINK]) became more useful after RL, but on average answers without thinking are still a bit better (12 areas without math: 20.4 % with thinking vs 23.6 % without; preview: 14.9 vs 17.5).
Standard benchmarks (English only)
lm-evaluation-harness 0.4.13, the same settings for every model, 🤗 transformers, bf16. HellaSwag (acc_norm), ARC-Easy and PIQA (acc): 0-shot, by log-likelihood. GSM8K: 5-shot with the chat template, up to 1024 new tokens, flexible answer extraction. IFEval: with the chat template.
| Model | Params | HellaSwag | ARC-Easy | PIQA | GSM8K | IFEval (prompt strict / instr. loose) |
|---|---|---|---|---|---|---|
| dpp-gpt 2.2 Pro | 260M | 28.9 | 39.2 | 57.7 | 1.8 | 14.1 / 26.0 |
| Gemma 3 270M it | 270M | 39.3 | 55.3 | 65.6 | 8.6 | 25.5 / 38.0 |
| SmolLM2 135M Instruct | 135M | 42.9 | 54.0 | 66.7 | 1.7 | 22.7 / 37.8 |
| SmolLM2 360M Instruct | 360M | 56.7 | 56.6 | 71.6 | 8.9 | 32.4 / 46.9 |
| random guess | 25 | 25 | 50 | 0 |
The same benchmarks for the whole dpp-gpt family (GSM8K was not run for older versions, they are expected to be ≈0):
| Model | Params | HellaSwag | ARC-Easy | PIQA | IFEval (prompt strict / instr. loose) |
|---|---|---|---|---|---|
| 2.2 Pro | 260M | 28.9 | 39.2 | 57.7 | 14.1 / 26.0 |
| 2.2 Pro preview | 260M | 29.1 | 39.8 | 57.6 | 15.2 / 27.7 |
| 2.15 Pro | 260M | 28.2 | 32.4 | 56.0 | 12.4 / 24.1 |
| 2.1 Pro | 260M | 27.9 | 32.5 | 55.4 | 12.2 / 24.6 |
| 2.1 flash | 90M | 27.0 | 28.9 | 53.5 | 13.3 / 25.7 |
| 2.0 flash | 135M | 27.8 | 33.8 | 56.5 | 10.2 / 24.3 |
| 2.0 Pro | 280M | 27.5 | 32.7 | 55.8 | 10.9 / 23.0 |
RL (GRPO) did not move these benchmarks: here 2.2 Pro is within noise of the preview. Its gains are in arithmetic, tools, JSON and instructions in our formats (see our suite above).
On these English benchmarks 2.2 Pro is clearly behind all three models: above random guessing everywhere, but roughly half as far above it as Gemma 3 270M. The 2.2 Base model gets the same HellaSwag score (28.8), so this is not an SFT/RL side effect. It comes from pre-training: ≈31B tokens, about a third of them in English, and a lot of synthetic math, translations and code. Our own suite favors dpp-gpt (ru/fr, digit-by-digit arithmetic, tool calling), the standard benchmarks don't.
🚀 What it can do
- Arithmetic with long numbers digit by digit, simple equations, step-by-step solutions (2.2 Pro's best area).
- Tool calling and not calling a tool when it is not needed; answering from the tool's result. JSON from a description.
- Following simple formatting instructions much better than the preview.
- Takes its name and persona from the system prompt.
- Poems, simple code, dialogue in Russian, English and French; simple translations between them.
⚠️ Known weaknesses
- Multiplication of big numbers: 4-digit × 4-digit is right about 65 % of the time, 5–6 digits about 30 %. The typical error is a misaligned digit place when adding the partial products. 12345 * 12345 is usually wrong.
- Keeping a count across several messages ("I had 5 apples, ate 3… then I bought 3 more, how many now?") mostly fails, also when all steps are in one message.
- Often ignores instructions like "answer in one word" or "answer in English".
- Tool calling works only in the trained
<tool_call>format. Even there it sometimes invents a tool name (find_phoneinstead offind_contact) or picks the wrong tool, and it rarely uses a calculator tool for arithmetic: it tries to compute itself. Answers after a tool result use the data but can be clumsy. - Essays are weak (repetitions, loose logic); facts are often wrong; open-ended code is weak.
- After an unrelated conversation (e.g. "who are you", an essay) it can make mistakes even in simple arithmetic, so start a new chat for math.
- Like every model of this size, it hallucinates. Do not use it for anything important.
💡 Prompt format
ChatML. Thinking is controlled by a tag at the start of the user message: [THINK] makes the model reason before answering, [NOTHINK] makes it answer right away. A system prompt is optional.
Without thinking. The prompt ends after assistant, the model writes the answer and <|im_end|>:
<|im_start|>system
You are dpp-gpt, a helpful assistant.<|im_end|>
<|im_start|>user
[NOTHINK] {prompt}<|im_end|>
<|im_start|>assistant
{answer}<|im_end|>
With thinking. The prompt is the same except for the tag; the model first writes its reasoning inside <think>…</think>, then the answer:
<|im_start|>user
[THINK] {prompt}<|im_end|>
<|im_start|>assistant
<think>
{reasoning}
</think>
{answer}<|im_end|>
The chat template in the GGUF / tokenizer adds [NOTHINK] automatically. In LM Studio, type . right before your message (no space) to turn thinking on; enable_thinking=true also works.
Tool calling. The model was trained on this format; describe the tools in the system prompt and ask for calls wrapped in <tool_call>…</tool_call>. Other formats (for example bare JSON without the tags) usually do not work.
<|im_start|>system
You are dpp-gpt, a helpful assistant with access to tools.
Available tools:
- get_weather(city: string) — Current weather for a city.
- find_contact(name: string) — Find a contact by name. Returns email and phone.
To call a tool, write
<tool_call>{"name": "tool_name", "arguments": {...}}</tool_call>
The result comes back as a tool message; then answer the user.<|im_end|>
<|im_start|>user
[NOTHINK] What's the weather in Paris?<|im_end|>
<|im_start|>assistant
<tool_call>{"name": "get_weather", "arguments": {"city": "Paris"}}</tool_call><|im_end|>
<|im_start|>tool
{"city": "Paris", "temp_c": 14, "condition": "cloudy"}<|im_end|>
<|im_start|>assistant
{answer based on the tool result}<|im_end|>
Recommended: low temperature (0–0.3), repeat penalty 1.0 (off), Q8_0 or F16 for math.
🤗 transformers:
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("dikiyplayerpig/dpp-gpt-V2.2-Pro-260m")
model = AutoModelForCausalLM.from_pretrained("dikiyplayerpig/dpp-gpt-V2.2-Pro-260m")
ids = tok.apply_chat_template([{"role": "user", "content": "What is 56 + 27?"}], add_generation_prompt=True, return_tensors="pt")
print(tok.decode(model.generate(ids, max_new_tokens=300)[0][ids.shape[1]:]))
🗺️ What's next
- Smaller 2.2 models: flash (≈140M), flash-lite (≈60M), nano (≈20M) and nano-mini (≈5M), to see how fast a model of this family gets dumber as it shrinks. They get improved data (math, multiple choice, code), so the comparison will not be 100 % fair.
- 2.3: a larger vocabulary, more layers, longer context and new data.
- The SFT datasets will be published after the whole 2.2 family is finished.
🇷🇺 Описание на русском
dpp-gpt V2.2 Pro — языковая модель на 260M параметров, обученная полностью с нуля на одной домашней видеокарте (RTX 4060). Претрейн, файнтюн, RL и тесты делает один человек. Понимает русский, английский и французский, умеет рассуждать по шагам (переключатель [THINK]), вызывать инструменты, писать JSON по описанию и считать длинные числа по разрядам.
Это финальная модель линейки 2.2 Pro: 2.2 Pro preview (SFT) + обучение с подкреплением (GRPO). На нашем собственном наборе бенчмарков среднее выросло с 17.8 % (preview) до 24.2 % (у 2.15 Pro было 8.3 %).
⚙️ Детали модели
| Параметры | 259M (242M уникальных, эмбеддинги входа и выхода общие) |
| Слои / размерность / головы / KV-головы | 20 / 1024 / 16 / 4 (GQA) |
| Контекст | 8192 токена |
| Словарь | 16 384 (свой BPE) |
| Архитектура | как у Llama (RMSNorm, RoPE, SwiGLU) |
| Файлы | GGUF (F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q3_K_M, Q2_K) · safetensors для 🤗 transformers (LlamaForCausalLM) · PyTorch .pth (только веса) |
| Лицензия | Apache 2.0 |
📊 Обучение
Претрейн и SFT
Как у preview: 2.2 Base (≈31 млрд токенов, продолжение претрейна 2.1 Base), затем ≈60 млн токенов SFT. Подробности в карточке preview.
Обучение с подкреплением (GRPO)
- 9 прогонов GRPO по 50–350 шагов поверх preview, каждый от лучшего на тот момент чекпоинта. В поздних прогонах шаг состоит из 16 запросов × 8 ответов (плюс несколько ответов на повышенной температуре): преимущество относительно группы, штраф KL к эталонной модели и небольшой SFT-лосс на старых данных, чтобы модель не забывала SFT.
- Почти все награды проверяет код, без судьи: арифметика и уравнения (те же генераторы, что и математика претрейна, новые числа), школьные текстовые задачи на 3 языках, функции на Python (код запускается на тестах), JSON по описанию, поиск числа в тексте, инструкции к форме ответа (2–5 условий сразу), вызов инструментов в любом из нескольких форматов и ответ по неожиданному результату инструмента, перевод (сходство с эталонным переводом), выбор варианта, короткие ответы («одним словом», «ответь на английском», «да или нет»).
- Локальный судья Gemma 4 E4B добавляет награду за сочинения, стихи и ответы на вопросы о фактах. Задачи, которые проверяет код, он не видит.
- Подбор сложности: типы задач, которые модель решает всегда или никогда, выпадают реже, потому что на них нечему учиться.
- Финальная модель получена усреднением весов трёх RL-чекпоинтов: 0.4 · GRPO8 шаг 100 + 0.3 · GRPO9 шаг 150 + 0.3 · GRPO5 шаг 200. Каждый отдельный чекпоинт где-то выигрывал, а где-то терял (например, умножение в поздних прогонах упало с 70 % до 55 %). Среднее сохранило бо́льшую часть выигрыша и оказалось лучше каждого из них (24.1–25.2 → 25.9 по судье E4B).
🏁 Бенчмарки
⚠️ Это наши собственные бенчмарки, а не общепринятые. Они сделаны под эту линейку (ru/en/fr, наши форматы промптов), поэтому результаты могут быть несколько завышены в пользу dpp-gpt и не сравнимы с опубликованными результатами других моделей. Кроме того, часть задач RL сделана теми же генераторами, что и некоторые бенчмарки (математика, текстовые задачи, инструкции), с другими числами и формулировками, поэтому RL мог выучить формат этих задач лучше, чем сам навык.
- Набор: 12 областей, 2450 вопросов на ru/en/fr, каждый задаётся дважды (с мыслями и без), температура 0.1. Всё, что можно, проверяет код; стихи, сочинения, чат, открытый код и знания оценивает Gemma 4 26B. Сочинения сильно короче просимого получают штраф.
- Математика: 2200 сгенерированных арифметических задач (25 типов: + − * /, скобки, уравнения, дроби, числа до 10^40). Это не текстовые задачи, они в колонке wordmath. Построена на тех же генераторах, что и математика в претрейне (числа новые), поэтому больше всего подыгрывает dpp-gpt. Базовая модель: 47.6 %, preview: 36.8 % (SFT её просадил), 2.2 Pro: 51.3 %.
Что проверяет каждая колонка, и таблицы с результатами смотрите выше, в английской части.
Честно о цифрах
- Модели без вызова инструментов получают ≈0 в tools. SmolLM2 отвечает только по-английски, а набор на ru/en/fr.
- dpp-gpt обучена на ≈31 млрд токенов одним человеком на одной видеокарте (RTX 4060), остальные модели на триллионах токенов большими командами. 2.2 Pro не лучше них в целом: она впереди в арифметике и вызове инструментов, а в среднем примерно на уровне Falcon-H1-Tiny (100M) и пока позади остальных.
- Мысли (
[THINK]) после RL стали полезнее, но в среднем ответы без мыслей всё ещё немного лучше (12 областей без математики: 20.4 % с мыслями против 23.6 % без; у preview 14.9 против 17.5).
Общепринятые бенчмарки (только английский)
lm-evaluation-harness 0.4.13, одинаковые настройки для всех моделей, 🤗 transformers, bf16. HellaSwag (acc_norm), ARC-Easy и PIQA (acc): без примеров, по вероятностям вариантов. GSM8K: 5 примеров в подсказке, с шаблоном чата, до 1024 токенов ответа, мягкое извлечение числа. IFEval: с шаблоном чата. Таблицы в английской части.
На этих английских бенчмарках 2.2 Pro заметно уступает всем трём моделям: везде выше случайного угадывания, но примерно вдвое меньше, чем Gemma 3 270M. У 2.2 Base на HellaSwag столько же (28.8), так что дело не в SFT и RL, а в претрейне: ≈31 млрд токенов, английского около трети, и много синтетики (математика, переводы, код). Наш собственный набор подыгрывает dpp-gpt (русский и французский, счёт по разрядам, инструменты), общепринятые бенчмарки нет.
RL (GRPO) эти бенчмарки не сдвинул: здесь 2.2 Pro в пределах погрешности от preview. Её выигрыш в арифметике, инструментах, JSON и инструкциях наших форматов.
🚀 Что умеет
- Считать длинные числа по разрядам, решать простые уравнения по шагам. Это самая сильная сторона 2.2 Pro.
- Вызывать инструменты и не вызывать, когда не нужно; отвечать по результату инструмента. JSON по описанию.
- Выполнять простые инструкции к форме ответа (лимит слов, список, заголовок, язык) заметно лучше preview.
- Брать имя и роль из системного промпта.
- Стихи, простой код, диалог на русском, английском и французском; простые переводы между ними.
⚠️ Слабые места
- Умножение больших чисел: 4 цифры на 4 верно примерно в 65 % случаев, 5–6 цифр около 30 %. Типичная ошибка: сдвиг разряда при сложении частичных произведений. 12345 * 12345 обычно неверно.
- Счёт через несколько сообщений («было 5 яблок, съел 3… потом купил ещё 3, сколько теперь?») почти не получается, даже если все шаги в одном сообщении.
- Часто не слушается инструкций вроде «ответь одним словом» или «ответь на английском».
- Инструменты вызывает только в обученном формате
<tool_call>. Но и в нём иногда выдумывает имя инструмента (find_phoneвместоfind_contact) или выбирает не тот, а калькулятором для арифметики почти не пользуется: пытается посчитать сама. Ответы по результату инструмента опираются на данные, но бывают корявыми. - Сочинения слабые (повторы, логика плывёт); факты часто неверные; открытый код слабый.
- После постороннего диалога («кто ты», сочинение) может ошибаться даже в простой арифметике, поэтому для математики лучше начинать новый чат.
- Как любая модель такого размера, выдумывает. Не используйте для важного.
💡 Формат промпта
ChatML. Режим мыслей задаётся меткой в начале сообщения пользователя: с [THINK] модель сначала рассуждает, а потом отвечает, с [NOTHINK] отвечает сразу. Системный промпт по желанию.
Без мыслей. Промпт заканчивается после assistant, модель дописывает ответ и <|im_end|>:
<|im_start|>system
Ты — dpp-gpt, полезный ассистент.<|im_end|>
<|im_start|>user
[NOTHINK] {запрос}<|im_end|>
<|im_start|>assistant
{ответ}<|im_end|>
С мыслями. Промпт тот же, меняется только метка; модель сначала пишет рассуждение внутри <think>…</think>, потом ответ:
<|im_start|>user
[THINK] {запрос}<|im_end|>
<|im_start|>assistant
<think>
{рассуждение}
</think>
{ответ}<|im_end|>
Шаблон чата в GGUF и токенизаторе сам добавляет [NOTHINK]. В LM Studio поставьте . прямо перед сообщением (без пробела), чтобы включить мысли; также работает enable_thinking=true.
Вызов инструментов. Модель обучена на этом формате: инструменты описываются в системном промпте, вызов оборачивается в <tool_call>…</tool_call>. Пример полного диалога в английской части. Другие форматы (например, голый JSON без тегов) обычно не срабатывают.
Рекомендуется: низкая температура (0–0.3), repeat penalty 1.0 (выключен), для математики Q8_0 или F16. Пример для 🤗 transformers в английской части.
🗺️ Дальше
- Младшие модели 2.2: flash (≈140M), flash-lite (≈60M), nano (≈20M) и nano-mini (≈5M). Посмотрим, насколько быстро модель этой линейки глупеет при уменьшении. Они получат улучшенные данные (математика, тесты с выбором ответа, код), поэтому сравнение будет не на 100 % честным.
- 2.3: больший словарь, больше слоёв, длиннее контекст и новые данные.
- SFT-датасеты будут опубликованы, когда будет готова вся линейка 2.2.