/ Модель

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

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

Temper-2-Sapient

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

Temper-2-Sapient — дообученная языковая модель для генерации и решения задач на Rust по запросам на русском и английском языках.

172скачиваний за 30 дней4лайкавеса обновлены15 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Temper-2-Sapient — языковая модель Maylore AI для генерации и решения задач на Rust. Она дообучена на синтетических заданиях от Qwen/Qwen2.5-Coder-7B-Instruct и использует плотную архитектуру Qwen2 с 7,1 млрд параметров. Модель принимает запросы на русском и английском языках; контекст — до 32 768 токенов.

Модель предназначена для написания и исправления кода на Rust, в том числе для работы с временами жизни, трейдами, потоками, асинхронностью, макросами, обработкой ошибок, форматами данных, файлами, сетями и базами данных. В карточке приведены результаты на бенчмарках HumanEval-RS, MBPP-RS и наборе Temper Bench v2; они отражают оценку в заданных условиях и не гарантируют качество на произвольных задачах.

Модель обучалась на запросах к чату без режима fill-in-the-middle, поэтому не подходит как прямая замена модели для автодополнения кода в редакторе. В README также отмечена более слабая, чем ожидалось, работа в живом диалоге. Лицензия — Apache 2.0.

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

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

Ограничения

Модель не предназначена для автодополнения кода в редакторе, поскольку обучалась на чат-запросах без fill-in-the-middle; в живом диалоге она может работать слабее ожидаемого. Результаты бенчмарков получены в конкретных условиях и не гарантируют качество на других задачах.

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

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

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

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

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

Открыть на Hugging Face

Temper-2-Sapient

Temper 2 Sapient is the largest model of the Temper 2 line for Rust code, a 7B model based on Qwen2.5-Coder-7B-Instruct. Among the open models up to 14B parameters in the table below it is the strongest on every benchmark, and on MBPP-RS it keeps pace with Gemma 4 26B-A4B. Like the smaller Temper-2-Ion, Temper-2-Axon and Temper-2-Nodel, it understands requests in Russian and English.

Website: maylore.com/temper-2-sapient

Results

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

modelHumanEval-RSMBPP-RSTemper Bench v2 (greedy pass@1)
Qwen3.6-35B-A3B89.2 / 95.378.1 / 83.363.3
Gemma 4 26B-A4B86.8 / 90.675.0 / 78.374.7
Temper-2-Sapient83.3 / 87.273.7 / 77.752.0
Qwen2.5-Coder-14B-Instruct78.1 / 85.858.5 / 69.240.0
Qwen3.5-9B76.0 / 90.265.6 / 79.229.3
Temper-2-Nodel73.2 / 82.664.8 / 71.137.3
Qwen2.5-Coder-7B-Instruct72.4 / 82.660.5 / 70.026.0
Seed-Coder-8B-Instruct71.1 / 77.668.1 / 77.341.3
Qwen3-8B68.6 / 74.864.1 / 70.030.7
Temper-2-Axon64.2 / 73.854.7 / 61.721.3

Models are sorted by HumanEval-RS pass@1. Qwen3.6-35B-A3B and Gemma 4 26B-A4B are larger models given for reference. HumanEval-RS (156 tasks) and MBPP-RS (354 tasks) from MultiPL-E at revision 28441b6 go 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. Because the first closed code block of the answer is compiled with the tests, 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. Every model ran without a system message, using the default of its own chat template, with Qwen2.5-Coder and Seed-Coder models in their Instruct versions and Qwen3, Qwen3.5, Qwen3.6 and Gemma 4 models without thinking mode. All models were measured under the same conditions. The scripts are open in maylore-ai/rust-evals.

Temper Bench v2 is an in-house set of 150 Rust tasks at three difficulty levels, scored greedy pass@1.

Training

The model was fine-tuned from Qwen2.5-Coder-7B-Instruct, released under the Apache 2.0 license, on synthetic Rust tasks in which every solution passed the compiler and tests. The tasks cover lifetimes, traits and associated types, threads and channels, async/await, macros, error handling, parsing text and formats, and work with files, networks and databases. Before training the tasks were checked against HumanEval-RS, MBPP-RS and Temper Bench v2 by text and by meaning, and similar ones were removed.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "maylore-ai/Temper-2-Sapient"
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 and top_p 0.95, the same settings as in the results above.

The recommended temperature is 0.2.

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

Limitations

Gemma 4 26B-A4B solves 22.7 points more Temper Bench v2 tasks. In live conversation the model turned out weaker than expected. Having been trained on chat requests without fill-in-the-middle, it does not work as a drop-in model for inline completion in an editor.

License

Apache 2.0, same as Qwen2.5-Coder-7B-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
Ревизия весов
95db7e5

0 моделей