/ Модель

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

Контекст
32 768 токенов
Параметры
494 млн
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-Coder-0.5B-Instruct
Библиотека
transformers
Опубликована
26 окт 2026

Temper-2-Ion

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

Компактная диалоговая модель для генерации и исправления кода на Rust по запросам на русском и английском языках.

1 787скачиваний за 30 дней0лайковвеса обновлены7 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Temper-2-Ion — компактная диалоговая модель на 494 млн параметров, разработанная maylore-ai для генерации кода на Rust. Она дообучена на базе Qwen/Qwen2.5-Coder-0.5B-Instruct и дополнительно обучена с подкреплением на задачах, где вознаграждались решения, проходящие все тесты. Модель принимает запросы на русском и английском языках, использует архитектуру Qwen2 с плотной causal language model и контекстом до 32 768 токенов.

Модель предназначена для написания и исправления Rust-кода в диалоге, в том числе на слабом оборудовании. В опубликованных тестах она показала pass@1 48,1% на HumanEval-RS и 45,5% на MBPP-RS; результаты относятся к описанным в карточке настройкам оценки. Репозиторий содержит веса в формате safetensors. Лицензия — Apache-2.0.

Из-за небольшого размера модель может ошибаться на незнакомых задачах, неверно объяснять сгенерированный код и путать слова в ответах. Она обучалась на диалоговых запросах без fill-in-the-middle, поэтому не подходит как непосредственная замена модели для автодополнения кода внутри редактора.

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

  • генерация решения задачи на Rust по описанию
  • исправление ошибок в Rust-коде
  • создание небольшого фрагмента Rust-кода по краткому запросу
  • ответы на вопросы о сгенерированном Rust-коде

Ограничения

Модель небольшая и может ошибаться на незнакомых задачах, неверно объяснять собственный код и путать слова. Она не обучалась fill-in-the-middle и не подходит для автодополнения кода внутри редактора.

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

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

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

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

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

Открыть на Hugging Face

Temper-2-Ion

Temper 2 Ion is a 0.5B parameter model for Rust code and the successor to Temper-1-0.5B. It understands requests in Russian and English and is aimed at running on weak hardware. On HumanEval-Rust it solves 32% more tasks on the first attempt than Temper-1-0.5B.

Website: maylore.com/temper-2-ion

Results

HumanEval-RS and MBPP-RS show pass@1 / pass@10, %. pass@1 is the share of tasks solved on the first attempt, pass@10 the share solved in at least one of 10 attempts.

modelHumanEval-RSMBPP-RSTemper Bench v2 (greedy pass@1)
Temper-2-Ion48.1 / 57.645.5 / 53.812.7
Temper-1-0.5B36.3 / 46.339.3 / 46.97.3
ThoxEdge-RustCoder-0.5B28.7 / 44.833.2 / 43.12.7
Qwen2.5-Coder-0.5B-Instruct23.8 / 39.928.4 / 40.22.0
Qwen3.5-0.8B10.1 / 22.114.5 / 25.51.3
Qwen2.5-Coder-1.5B-Instruct39.0 / 56.138.3 / 52.17.3
Temper-1-1.5B54.1 / 68.848.6 / 59.216.7
Qwen2.5-Coder-3B-Instruct (reference)56.5 / 71.944.8 / 60.014.7

Bold marks the best result among models up to 0.8B. All models were measured on the same server. HumanEval-RS (156 tasks) and MBPP-RS (354 tasks) come from MultiPL-E at revision 28441b6. The task goes to the model as a chat message with answers up to 1000 tokens, temperature 0.2, top_p 0.95 and 50 answers per task. vLLM took the remaining sampling parameters, top_k and repetition_penalty among them, from the generation_config.json of each model. pass@k comes from the unbiased estimator in the Codex paper. The first closed code block of the answer is compiled with the tests, which is why the numbers differ from leaderboards that score code completion. mbpp_67_bell_number has no correct answer in Rust and counts as failed for every model. No system message was passed, each model used the default of its own chat template. Qwen2.5-Coder models are the Instruct versions, Qwen3.5-0.8B ran without thinking mode.

Temper Bench v2 is our own set of 150 Rust tasks at three difficulty levels, scored greedy pass@1.

Training

The base is Qwen2.5-Coder-0.5B-Instruct. First the model was fine-tuned on Rust code examples, each of which passed the compiler and tests. Besides carefully worded tasks the set contains short requests of a few words, the way people usually type in a chat. The data also included dialogs about the model itself, so it knows its name and answers questions about itself. The fine-tuned model was merged by weights with the original Instruct to keep its grasp of the task statement.

Reinforcement learning on tasks with tests came next. Only a solution passing all tests earned a reward. This stage took less than four hours on a single RTX 3060.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "maylore-ai/Temper-2-Ion"
tokenizer = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, dtype="auto", device_map="auto")

messages = [{"role": "user", "content": "Write a Rust function that returns the n-th Fibonacci number."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=1000)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Without a system message the chat template adds the Temper system prompt. The default generation config samples with temperature 0.2, top_p 0.8, top_k 20 and repetition_penalty 1.05. The results above used temperature 0.2 and top_p 0.95 with top_k 20 and repetition_penalty 1.05 from this config.

The recommended temperature is 0.2.

A GGUF version for llama.cpp, LM Studio and Ollama is in maylore-ai/Temper-2-Ion-GGUF.

Limitations

Strong benchmark results and a livelier grasp of everyday language do not change the fact that the model has only 0.5B parameters, so serious work is beyond it. It often explains its own code incorrectly. On unfamiliar tasks the model makes mistakes, and its replies can mix up words.

Temper-1-1.5B and Qwen2.5-Coder-3B solve more tasks on HumanEval-RS and Temper Bench v2. The model was trained on chat requests without fill-in-the-middle, so it does not work as a drop-in model for inline completion in an editor.

License

Apache 2.0, same as Qwen2.5-Coder-0.5B-Instruct. Derivative works, including fine-tunes, merges and quantizations, must keep the attributions in NOTICE (Apache 2.0, section 4(d)).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей