/ Модель

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

Контекст
3 072 токена
Параметры
139 млн
Лицензия
Своя лицензия
Архитектура
bananamind2_pro · dense
Базовая модель
BananaMind-2-Pro
Библиотека
transformers
Опубликована
8 ноя 2026

BananaMind-2.5-Pro

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

Компактная дистиллированная языковая модель BananaMind для продолжения текста, экспериментов и дообучения.

1 541скачиваний за 30 дней18лайковвеса обновлены8 ноя 2026

Бенчмарки

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

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

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

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

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

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

BananaMind-2.5-Pro — компактная авторегрессионная языковая модель с 138,9 млн параметров, разработанная BananaMind. Это декодерный Transformer на 24 слоях с grouped-query attention, SwiGLU, RMSNorm и контекстом 3 072 токена; модель сохраняет исходный токенизатор byte-level BPE на 32 768 токенов с обработкой цифр. Её веса получены дистилляцией SmolLM2-360M и дополнительным обучением на размеченных данных поверх BananaMind-2-Pro.

Модель предназначена для продолжения текста, локальных экспериментов с малыми языковыми моделями, оценки арифметических и общеобразовательных рассуждений, анализа чекпойнтов и последующего дообучения под специализированные задачи. Это базовая модель, а не чат-бот с настройкой на инструкции: для генерации следует использовать промпты в формате продолжения и загрузчик Transformers с trust_remote_code=True. Карточка приводит результаты на ARC, HellaSwag, PIQA и ArithMark-3, но эти оценки не гарантируют качество в иных сценариях.

Модель обучалась преимущественно на англоязычных образовательных и веб-текстах, математических материалах и учебном коде Python. Лицензия указана как other, поэтому перед использованием следует проверить условия в репозитории. Ограничения включают короткий контекст в 3 072 токена и отсутствие настройки для диалогового следования инструкциям.

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

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

Ограничения

Это базовая модель без настройки на инструкции, поэтому она не предназначена для использования как готовый диалоговый ассистент. Контекст ограничен 3 072 токенами; перед использованием следует проверить условия лицензии, указанной как other.

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

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

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

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

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

Открыть на Hugging Face

banner

BananaMind-2.5-Pro

BananaMind-2.5-Pro is a 138,971,520-parameter decoder-only language model derived from BananaMind-2-Pro through distillation from SmolLM2-360M, combined with supervised training labels. It achieves as 28.98 INT Index

The original BananaMind-2-Pro was trained from scratch by BananaMind on 99,999,449,088 tokens over 184,954 optimizer steps. BananaMind-2.5-Pro starts from that original checkpoint.

The model retains the original 3,072-token context window, 32,768-token digit-aware byte-level BPE tokenizer, and architecture: grouped-query attention, QK normalization, RoPE, SwiGLU, RMSNorm, tied input/output embeddings, and a KV cache. Distillation changes the learned weights; it does not add layers, increase the parameter count, or replace the tokenizer.

This is a base continuation model, not an instruction-tuned chatbot. Use continuation-style prompts and load it with trust_remote_code=True.

Release Status

FieldValue
Release typeDistilled base-model checkpoint
Student baseBananaMind/BananaMind-2-Pro, original final checkpoint
TeacherHuggingFaceTB/SmolLM2-360M, base version
Original pretraining checkpoint step184,953
Original pretraining optimizer steps184,954
Original pretraining tokens99,999,449,088
Distillation optimizer steps300
Sampled training examples processed9,600
Distillation forward tokens processed1,454,022
Training statusComplete
Evaluation statusComplete for ARC Easy, ARC Challenge, HellaSwag, PIQA, and ArithMark-3

Model Details

FieldValue
Parameters138,971,520
ArchitectureBananaMind2Pro decoder-only Transformer
Layers24
Hidden size640
Intermediate size1,920
Attention heads8
KV heads4
Head dimension80
Attention styleGrouped-query attention with QK norm
MLPSwiGLU
Position embeddingsRoPE
RoPE theta100,000
NormalizationRMSNorm
RMSNorm epsilon1e-6
Vocabulary size32,768
Context length3,072
EmbeddingsTied input/output embeddings
Generation cacheKV cache supported
Weight formatsafetensors
HF architectureBananaMind2ProForCausalLM
HF model typebananamind2_pro

Architecture Overview

The model maps tokens through a tied input embedding, 24 pre-normalized Transformer blocks, a final RMSNorm, and the tied language-model head. Each block contains causal grouped-query self-attention followed by a SwiGLU feed-forward network, with residual connections around both sublayers.

Eight query heads share four key/value heads, reducing KV-cache size while retaining multi-head query capacity. QK normalization stabilizes attention logits, and RoPE supplies position information without learned absolute-position embeddings. During autoregressive generation, each layer can reuse cached keys and values instead of recomputing the full prefix.

Evaluation

The BananaMind-2.5-Pro results below were measured on the exported distilled checkpoint using zero-shot evaluation on every example. ARC Easy, ARC Challenge, HellaSwag, and PIQA use the built-in tasks in lm-evaluation-harness 0.4.12, with acc_norm,none. ArithMark-3 uses the dataset repository's unmodified bencharithmark-3.py, with continuation likelihood normalized by token count.

BenchmarkBananaMind-2.5-ProBananaMind-2-ProGPT-X3-150MGPT-X2.5-135MBananaMind-2-MediumGPT-2
Parameters139M139M150M135M49.6M124M
ARC Easy62.79%53.58%59.64%51.81%43.81%39.35%
ARC Challenge31.96%27.82%31.31%29.18%25.34%22.35%
PIQA69.02%67.52%71.33%69.42%61.86%62.08%
HellaSwag44.60%42.78%46.16%40.57%32.43%31.26%
ArithMark-338.60%38.20%50.90%38.10%36.20%35.70%
ArithMark-231.1%32.08%68.52%N/A28.20%26.48%
INT Index28.9224.9633.0525.1715.37N/A
Code Elo14531407N/A12531034996
Base Bench 1.1 Elo11351124N/A11061034996

ArithMark-3's published split is named train, but none of its examples were used for distillation training. The official script separately encodes each context and its leading-space continuation, uses a maximum context of 1,024 tokens, and reports both raw and normalized accuracy. This checkpoint scores 39.30% raw and 38.70% token-normalized; INT uses the latter.

The INT Index chance-normalizes HellaSwag, the mean of ARC Easy and ARC Challenge, PIQA, and ArithMark-3. Combined ARC is calculated before normalization. ArithMark-2 is excluded:

N(score, chance) = 100 * (score - chance) / (100 - chance)
ARC = (ARC_Easy + ARC_Challenge) / 2
INT = [N(HellaSwag,25) + N(ARC,25) + N(PIQA,50) + 0.65*N(ArithMark3,25)] / 3.65

When a component is unavailable, its weight is removed from both numerator and denominator; at least two components are required. Scores below chance may be negative. All four components are available for this release.

Tokenizer

BananaMind-2.5-Pro retains the original custom 32,768-token byte-level BPE tokenizer trained on 75 GiB of representative FineWeb-Edu, DCLM, Cosmopedia-v2, FineMath-4+, and NPSet-2 Python educational data. It uses NFKC normalization and digit-aware pre-tokenization.

Digits are isolated before byte-level BPE, preventing complete numbers from being merged into large number tokens.

TokenID
019
120
221
322
423
524
625
726
827
928

Special token IDs:

TokenID
`<pad
`<bos
`<eos
`<unk

Training Data

BananaMind-2.5-Pro inherits BananaMind-2-Pro's pretraining and adds a separate distillation stage.

Original Pretraining Data

The inherited 100B-token pretraining curriculum combines educational web text, broad web text, synthetic textbook material, mathematics, and Python educational code.

DatasetTarget tokensAggregate share
FineWeb-Edu50.166B50.17%
DCLM26.125B26.13%
Cosmopedia-v213.525B13.53%
FineMath-4+7.875B7.88%
NPSet-2 Python Edu2.309B2.31%
Total100.000B100.00%

Original pretraining used a capacity-aware curriculum:

PhaseToken rangePurpose
Breadth foundation0B to 25BWeb-heavy language and knowledge foundation
Knowledge ramp25B to 40BGradual increase in synthetic, mathematics, and code data
Reasoning core40B to 75BSustained reasoning-oriented mixture
Synthesis ramp75B to 90BTransition toward the finishing distribution
Quality finish90B to 100BFinal quality-focused mixture

Training Setup

Original Pretraining

FieldValue
Sequence length3,072
Micro batch4
Gradient accumulation44
Effective batch176 sequences
Tokens per optimizer step540,672
Optimizer steps184,954
Scheduled training tokens99,999,449,088
OptimizerAdamW
Betas0.9, 0.95
Peak learning rate1.5e-3
Warmup steps2,000
LR scheduleWarmup-stable-decay with cosine decay
Decay ratio0.15
Weight decay0.1, then 0.01 after 40B tokens
Gradient clipping1.0
Z-loss coefficient1e-4 until 40B tokens, then off
CompilePyTorch compile enabled
Seed1337

The schedule used a 2,000-step linear warmup, a long stable learning-rate region, and a final cosine decay over the last 15% of training. Weight decay dropped from 0.1 to 0.01 after 40B tokens, and the auxiliary z-loss was disabled at the same boundary. The final optimizer update completed the planned 99,999,449,088-token schedule without rounding up to an extra sequence.

Distillation

The teacher and student have different tokenizers. Distillation therefore transfers probability distributions over textual answer choices, rather than attempting a direct match between vocabulary logits. The teacher assigns a character-normalized likelihood to each candidate answer; these scores are multiplied by 20 and converted to answer probabilities.

The student's target distribution is a 50/50 mixture of the teacher's answer probabilities and the correct training label. The loss is cross-entropy against that distribution, plus a 0.05-weighted correct-continuation token negative log-likelihood. Student answer scores also use the scale factor 20. All student parameters are trainable.

FieldValue
Student initializationOriginal BananaMind-2-Pro final checkpoint
TeacherHuggingFaceTB/SmolLM2-360M, base version
Teacher revisionf8027fd0eaeea54caa13c31d31b9fdc459c38b49
OptimizerAdamW
Question micro batch4
Gradient accumulation8
Effective question batch32
Peak learning rate1e-5
Warmup10 optimizer steps
LR scheduleCosine decay to 20% of peak
Betas0.9, 0.95
Weight decay0.01
Gradient clipping1.0
Parameter and optimizer precisionFloat32
Training autocastBfloat16
HardwareNVIDIA GeForce RTX 5070 Ti
Seed20261105
Checkpoint selectionHighest reserved-validation INT, checked every 50 steps

Task sampling follows the coefficients in the chance-normalized INT objective, including PIQA's chance-normalization factor and half of the combined ARC coefficient for each ARC task. The saved checkpoint contains the resulting full weights, with tied embeddings preserved. No teacher or training-time loss is required for inference.

Energy and Carbon Estimate

These figures are inherited from the BananaMind-2-Pro model card and describe original pretraining only. They do not include teacher inference, distillation, or the additional evaluations for BananaMind-2.5-Pro. No new energy or carbon measurement was made for this release.

The following is an engineering estimate for the complete pretraining run, not a wall-meter measurement. Runtime is extrapolated from the observed 52,438-token/s run average. GPU and CPU package power were measured during training; motherboard, memory, storage, PSU loss, electricity use, and emissions are estimates.

ItemBasisValue
Derived training time99.999449B tokens / 52,438 tokens/s529.72 hours (22.07 days)
GPU powerMeasured 12-second nvidia-smi average at 99–100% utilization262 W
CPU package powerTwo Intel RAPL samples of 42 W and 38 W40 W
Motherboard, memory, storage, and fansEstimated combined power50 W
DC system loadEstimated352 W
PSU efficiencyAssumed90%
Wall powerEstimated391 W
Electricity useEstimated207.1 kWh
Austrian grid intensity usedRecent daily estimate140 gCO2e/kWh
Complete-run emissionsEstimated29.0 kg CO2e

Using the cited 2024 and 2025 Austrian flow-traced annual means of 125.5 and 169.4 gCO2e/kWh gives an estimated range of 26.0–35.1 kg CO2e. The grid figures come from Electricity Maps. This estimate excludes embodied hardware emissions, tokenizer training, evaluation, external networking, and remote storage.

Usage

Install the runtime dependencies:

pip install -U torch transformers safetensors

Run this example from the model directory, or set model_path to its location. It can also be a Hugging Face repository ID when the model is hosted there.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "."  # Directory containing BananaMind-2.5-Pro's config and weights.

tokenizer = AutoTokenizer.from_pretrained(
    model_path,
    trust_remote_code=True,
)

device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = (
    torch.bfloat16
    if device == "cuda" and torch.cuda.is_bf16_supported()
    else torch.float32
)

model = AutoModelForCausalLM.from_pretrained(
    model_path,
    trust_remote_code=True,
    dtype=dtype,
).to(device).eval()

inputs = tokenizer("The capital of France is", return_tensors="pt").to(device)

with torch.inference_mode():
    output = model.generate(
        **inputs,
        max_new_tokens=80,
        do_sample=True,
        temperature=0.7,
        top_p=0.9,
        repetition_penalty=1.1,
        pad_token_id=tokenizer.pad_token_id,
        eos_token_id=tokenizer.eos_token_id,
        use_cache=True,
    )

print(tokenizer.decode(output[0], skip_special_tokens=True))

Use do_sample=False for greedy generation. The benchmark scores above are measured by continuation likelihood, not by sampled or greedy text generation. Float32 was used for the published evaluation; changing dtype or batch shape can change individual predictions.

The internal architecture remains BananaMind2ProForCausalLM, with model type bananamind2_pro. These names are retained for checkpoint compatibility even though the release name is BananaMind-2.5-Pro.

Intended Use

BananaMind-2.5-Pro is intended for local text continuation, small-language-model research, distillation experiments, tokenizer research, arithmetic and commonsense evaluation, checkpoint analysis, and task-specific fine-tuning.

It is particularly suited to studying how a compact pretrained model adapts to teacher answer distributions and task training data while retaining its original architecture and tokenizer.

License

This repository is released under the BananaMind Community License 1.0. Commercial products or services exceeding either threshold in Section 1 require a separate commercial license from Banaxi-Tech.

The distillation teacher, HuggingFaceTB/SmolLM2-360M, is published under Apache 2.0. BananaMind-2.5-Pro retains the BananaMind student architecture and checkpoint license; teacher attribution and the exact teacher revision are recorded above.

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

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

GPU в ailist

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

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

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

Класс архитектуры
BananaMind2ProForCausalLM
Ревизия весов
8fc9376

0 моделей