/ Модель

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

Контекст
2 048 токенов
Параметры
129 млн
Лицензия
Apache 2.0
Архитектура
boris2 · dense
Базовая модель
Boris-2
Библиотека
transformers
Опубликована
12 ноя 2026

Boris-2-Instruct

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

Небольшая англоязычная чат-модель OpenCerebral для генерации ответов на инструкции и коротких диалогов.

766скачиваний за 30 дней7лайковвеса обновлены18 ноя 2026

Бенчмарки

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

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

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

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

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

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

Boris-2-Instruct — англоязычная чат-модель OpenCerebral на 128,5 млн параметров, дообученная на один проход на 460 тысячах диалогов из smol-smoltalk. Она предназначена для генерации текста в ответ на инструкции и ведения коротких диалогов. Архитектура — плотная авторегрессионная языковая модель Boris-2; контекст составляет 2048 токенов и включает всю переписку. Модель использует шаблон диалога в стиле ChatML и доступна в формате Safetensors для Transformers.

Модель может давать связные ответы и в тестах показала близкие к SmolLM2-135M-Instruct результаты по следованию инструкциям и знаниям, однако это небольшой экспериментальный по масштабу чекпойнт: он часто ошибается в фактах и арифметике, теряет контекст длинного разговора и может приписывать себе отсутствующие возможности. Отдельной настройки безопасности сверх данных smol-smoltalk нет; модель не следует использовать для медицинских, юридических или финансовых рекомендаций. Лицензия — Apache 2.0.

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

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

Ограничения

Часто ошибается в фактах и арифметике, может терять нить длинного разговора; контекст ограничен 2048 токенами. Не предназначена для надёжных медицинских, юридических или финансовых ответов и не имеет отдельной настройки безопасности.

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

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

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

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

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

Открыть на Hugging Face

Boris-2-Instruct

Boris-2-Instruct is the chat version of Boris-2, a 144M-parameter language model from OpenCerebral trained from scratch on a single NVIDIA V100. It is Boris-2 fully fine-tuned for one epoch on smol-smoltalk (460k conversations).

Chat format

ChatML-style turns, written as plain text (no tokens were added to the vocabulary):

<|im_start|>user
What is the water cycle?<|im_end|>
<|im_start|>assistant

The template is in tokenizer_config.json, so apply_chat_template works. <|im_end|> is ordinary text spanning several tokens, not an end-of-sequence token, so pass it as a stop string (below) or the model will keep writing new turns.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "opencerebral/Boris-2-Instruct"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)

msgs = [{"role": "user", "content": "Give me three tips for studying for a test."}]
x = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
y = model.generate(**x, max_new_tokens=300, stop_strings=["<|im_end|>"], tokenizer=tok)
print(tok.decode(y[0, x["input_ids"].shape[1]:]).removesuffix("<|im_end|>"))

The default generation settings sample (temperature 0.7, top-p 0.9, repetition penalty 1.1). Plain PyTorch custom code, no extra dependencies, no KV cache, so long replies are slow.

Results

Zero-shot, float32 weights, same scorer for both columns. ArithMark-3 uses the leaderboard's own bencharithmark-3.py (unmodified, default settings).

BenchmarkMetricBoris-2Boris-2-Instruct
HellaSwagacc_norm50.2748.86
ARC-Easyacc_norm59.8157.74
ARC-Challengeacc_norm31.9131.40
PIQAacc_norm72.7471.22
ArithMark-3acc_norm45.1043.70
Open SLM Index34.0831.93

As usual for chat fine-tuning, the base-model benchmarks drop a little (about 2 Index points). For leaderboard comparisons of the pretrained model, use Boris-2.

Chat and knowledge benchmarks

Both models run through lm-evaluation-harness 0.4.12 with identical settings: float32, zero-shot. IFEval uses each model's chat template, greedy decoding, a stop at <|im_end|> and a cap of 256 new tokens (the task default is 1280; the cap is the same for both models). The other tasks are loglikelihood multiple choice without a chat template.

BenchmarkMetricBoris-2-InstructSmolLM2-135M-Instruct
IFEvalprompt-level strict19.4119.59
IFEvalprompt-level loose22.1820.89
IFEvalinstruction-level strict29.8632.73
IFEvalinstruction-level loose33.2134.65
TruthfulQA MC1acc25.3423.99
TruthfulQA MC2acc41.0541.78
MMLU (cloze)acc28.4127.72
WinoGrandeacc52.0951.07
OpenBookQAacc_norm34.6033.20
SciQacc_norm83.6076.70
CommonsenseQAacc23.1019.66

Boris-2-Instruct leads on 6 of the 8 knowledge and commonsense tasks; instruction following (IFEval) is roughly even, with SmolLM2-135M-Instruct ahead on the strict instruction-level score. These are single runs; differences under about 1.5 points (2 to 4 on IFEval) are within benchmark noise. smol-smoltalk includes IFEval-style constraint data (smol-constraints), which its authors decontaminated against IFEval; we did not run our own check.

Training

FieldValue
Base modelBoris-2 (200.04B tokens)
Datasmol-smoltalk train split: 460,341 conversations, 403M tokens (303M trained on)
Lossassistant replies and their closing `<
Packingconversations packed into 2048-token rows as separate documents (attention, Canon and the n-gram lookup reset at each one)
Epochs / steps1 / 4,227
Batch64 rows of 2048 tokens
OptimizerAdamW, lr 1e-4, betas (0.9, 0.95), no weight decay, grad clip 1.0
Schedulelinear warmup over 140 steps, cosine to zero
Precisionfloat16 mixed precision, float32 residual stream
Hardware1x NVIDIA V100 32GB, about 2.5 hours

Loss on 800 held-out smol-smoltalk test conversations: 1.426 before fine-tuning, 1.041 after.

The model architecture is unchanged from Boris-2 (31 layers, hidden size 512, Canon layers, exact n-gram table, 32,768-token vocabulary, 2048-token context); see the Boris-2 card for details and the pretraining data.

Limitations

A 144M-parameter model. It sounds fluent but often gets facts and arithmetic wrong (for example, it answers 17 + 25 = 22), may claim abilities it does not have, and loses track of long conversations. Its 2048-token context includes the whole conversation. It has no safety tuning beyond what smol-smoltalk contains. Do not rely on it for factual, medical, legal or financial answers.

Copyright & License

Copyright 2026 OpenCerebral

This project and all associated files (the "Work") are licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

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

0 моделей