/ Модель

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

Контекст
131 072 токена
Параметры
2,2 млрд
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
MiniCPM5-2B-Midtrain
Библиотека
transformers
Опубликована
21 сен 2026

MiniCPM5-2B-ja-cpt-v1

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

Экспериментальная 2,2-миллиардная модель на базе MiniCPM5-2B-Midtrain, продолжительно предобученная преимущественно на японских текстах для дополнения текста и дальнейшего дообучения.

513скачиваний за 30 дней0лайковвеса обновлены21 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MiniCPM5-2B-ja-cpt-v1 — экспериментальная языковая модель автора nazunaex, полученная продолжением предобучения openbmb/MiniCPM5-2B-Midtrain на корпусе примерно из 500 млн токенов, преимущественно на японском языке. Это плотная авторегрессионная модель архитектуры LlamaForCausalLM примерно на 2,2 млрд параметров; карточка указывает контекст до 131 072 токенов. Веса опубликованы в формате safetensors, библиотека для работы — Transformers.

Модель предназначена для продолжения и дополнения японского текста, а также как основа для дальнейшего дообучения. В корпусе целевая доля японского текста составляла 70%; также использовались английский и китайский тексты, код и математика. На локальных проверках JGLUE модель превзошла базовую по трём оценённым заданиям, однако это не доказывает общего улучшения японских способностей. Обучение не включало SFT, обучение предпочтениям или RL, поэтому качество следования инструкциям и диалоговые сценарии не оценены.

Английская и китайская проверка ограничена тестами HellaSwag и C-Eval; сохранение навыков программирования и математики отдельно не проверялось. Качество на последовательностях длиннее 4096 токенов не оценивалось, несмотря на заявленное контекстное окно. Модель может выдавать ошибки и отражать предубеждения обучающих данных. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

MiniCPM5-2B-ja-cpt-v1

English | 日本語

This experimental model was developed by continually pretraining MiniCPM5-2B-Midtrain on approximately 500M tokens of predominantly Japanese text using a single NVIDIA RTX 5090. The target share of Japanese data was 70%; the corpus also includes English, Chinese, code, and mathematics.

The model can be used for Japanese text completion or as a starting point for further fine-tuning. This training run did not include supervised fine-tuning (SFT), preference training, or reinforcement learning (RL). Instruction-following performance for conversational use has not been evaluated.

Model Details

ItemDetails
Base modelopenbmb/MiniCPM5-2B-Midtrain
Base model revision0a45344e530534b7090df798421e57fc2d0e19f2
ArchitectureLlamaForCausalLM, 2B class
Training methodFull-parameter continued pretraining
Weight formatBF16, Safetensors, full model weights
TokenizerUses the base model's vocabulary without expansion
Configured maximum sequence length131,072 tokens (inherited from the base model; long-context performance after CPT has not been evaluated)

Training Data

The corpus selected for training contains 500,035,676 tokens. This count includes document text and end-of-document EOS tokens, but excludes padding and held-out data. Due to packing and the handling of remainders, this should be distinguished from the number of tokens actually used for optimizer updates.

The table below shows the target mixture by token count.

CategoryDataset / SubsetShare
Japanese educational-quality textfineweb-2-edu-japanese, sample_10BT50%
Japanese Wikipediawikipedia, 20231101.ja10%
Japanese high-quality web textFineWeb2-HQ, jpn_Jpan10%
EnglishUltra-FineWeb, English L215%
ChineseUltra-FineWeb, Chinese L25%
CodeUltraData-Code, L2 / L35%
MathematicsUltraData-Math, L2 / L35%

Code L2 and L3 account for 3% and 2% of the total corpus, respectively. Within the code portion, the language mixture is Python 50%, JavaScript 20%, C++ 15%, and Java 15%. For mathematics, L2-preview accounts for 3% of the total corpus, L3-Textbook-Exercise-Synthetic for 1%, and L3-QA-Synthetic for 1%.

Preprocessing included text normalization, quality filtering, and exact and near-duplicate removal. Text was tokenized with the base tokenizer without adding BOS, with EOS appended at document boundaries, then split into chunks of up to 4,096 tokens and packed for training.

Training Configuration

ItemSetting
Starting pointOriginal Midtrain weights
Training durationConfigured for 1 epoch; 3,817 optimizer steps
Micro batch size / gradient accumulation8 / 4 (effective batch size: 32)
Peak learning rate5e-5
Learning rate schedule22 warmup steps, cosine decay, final learning rate 5e-6
Optimizer8-bit AdamW, betas (0.9, 0.95), epsilon 1e-8
Weight decay / gradient clipping0.1 / 1.0
PrecisionBF16
Memory and compute optimizationsFlashAttention 2, Liger cuTile, gradient checkpointing, selective checkpointing
Seed20260915
FrameworksAxolotl 0.19.0, Transformers 5.16.1
HardwareNVIDIA RTX 5090

Loss on this same validation set decreased from 2.4676 at the start of training to 2.3148 at the end. These values come from the validation set used to monitor training, not from an independent final test set.

Evaluation

Japanese

The base model and this model were compared on the validation split of JGLUE v1.2. All scores are percentages; higher is better.

TaskEvaluation examplesMetricFew-shotMiniCPM5-2B-MidtrainThis model
JCommonsenseQA1,119Accuracy352.9057.46
JNLI2,434Accuracy353.0059.16
JSQuAD4,442Exact match260.4562.02
  • Evaluation date: 2026-09-21 (this model). Base model scores come from an earlier evaluation using the same questions and prompts.
  • Evaluation implementation: lm-eval 0.4.11, using its Japanese task prompts and scoring logic, with data loading adapted to a fixed revision of JGLUE.
  • JGLUE revision: c96c6af54200a404f31a3a4cd0b289786aa78809.
  • JCommonsenseQA and JNLI use candidate likelihoods for classification. JSQuAD uses greedy generation with up to 128 new tokens and is scored by exact match with whitespace normalization. The JSQuAD score is not token F1.
  • No chat template or additional BOS token was used. Evaluation seed: 20260915; HF backend / BF16 / FlashAttention 2; maximum sequence length: 8,192.

These are local evaluation results, not official leaderboard submissions. The model outperformed the base model on the three tasks evaluated, but this does not establish improvements across all aspects of Japanese language ability. Reproducibility across multiple training seeds and robustness to prompt changes have not been evaluated.

English and Chinese

The base model and this model were also compared on HellaSwag (English) and C-Eval (Chinese). Scores are percentages; differences are this model minus the base model, in percentage points (pp).

TaskEvaluation examplesMetricFew-shotMiniCPM5-2B-MidtrainThis modelDifference (pp)95% interval for difference (pp)
HellaSwag10,042acc_norm062.9063.30+0.41[-0.01, +0.86]
C-Eval1,346Accuracy564.1263.52-0.59[-2.15, +1.04]
  • Evaluation date: 2026-09-21 for both models, using lm-eval 0.4.11 and identical questions, prompts, and few-shot examples.
  • HellaSwag: full validation split, task hellaswag, length-normalized candidate likelihood accuracy (acc_norm). Dataset: Rowan/hellaswag, revision 218ec52e09a7e7462a5400043bb9a69a41d06b76.
  • C-Eval: full validation (val) split across all 52 subjects, task group ceval-valid, accuracy weighted by the number of questions per subject. The first five dev examples for each subject serve as few-shot demonstrations. Dataset: ceval/ceval-exam, revision 617524a00b307ff6f9933702f724131fe12ca7ce.
  • Both benchmarks use likelihood-based scoring, without a chat template or additional BOS token. Evaluation seed: 20260915; HF backend / BF16 / FlashAttention 2; batch size: 4; maximum sequence length: 8,192. No prompt truncation was needed.
  • The intervals use 2,000 paired bootstrap resamples of questions. C-Eval resampling is performed within each subject, preserving subject sizes. Differences are calculated before rounding the displayed scores.

The point estimate increased slightly on HellaSwag and decreased slightly on C-Eval. Both intervals include zero, so these evaluations do not establish a clear improvement or decline. The results are consistent with broadly maintained performance on these two benchmarks, but do not demonstrate equivalence or retention across all English and Chinese capabilities. These are local results, not official leaderboard submissions. Overlap between the benchmarks and the CPT corpus has not been checked.

Usage

The following example performs text completion in an environment with CUDA and BF16 support. It requires transformers, torch, and accelerate. Transformers 5.16.1 was used for training and evaluation.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "nazunaex/MiniCPM5-2B-ja-cpt-v1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)
model.eval()

inputs = tokenizer(
    "日本語の言語モデルを評価する際には、",
    return_tensors="pt",
    add_special_tokens=False,
).to(model.device)

with torch.inference_mode():
    outputs = model.generate(
        **inputs,
        max_new_tokens=128,
        do_sample=False,
        use_cache=True,
        pad_token_id=tokenizer.pad_token_id,
        eos_token_id=tokenizer.eos_token_id,
    )

completion = outputs[0, inputs["input_ids"].shape[1]:]
print(tokenizer.decode(completion, skip_special_tokens=True))

Evaluation Scope and Limitations

  • English and Chinese evaluation is limited to HellaSwag and C-Eval, respectively. Retention of coding and mathematics capabilities has not been evaluated separately after this CPT run.
  • Performance on sequences longer than 4,096 tokens has not been evaluated.
  • The model may generate incorrect information or text that reflects biases in its training data.
  • Suitability for instruction-following and conversational applications needs to be assessed through further training and use-case-specific evaluation.

License and Acknowledgments

Apache-2.0

The base model is released under Apache-2.0. For the licenses and provenance of the training data, refer to the dataset cards linked above.

I thank OpenBMB for releasing the base model, and the developers of the datasets and training and evaluation tools used in this work.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
35cae0c

0 моделей