CoolFace
Modelpublic

BananaMind/BananaMind-2-Pro-Preview

sourceHugging Faceotherupdated 1mo agoView on Hugging Face
23likes228downloads
Model Card

[image]

BananaMind-2-Pro-Preview

BananaMind-2-Pro-Preview is the first public checkpoint preview of BananaMind 2 Pro, a decoder-only base causal language model trained from scratch by BananaMind. This checkpoint was captured after 96,000 completed optimizer steps and 51,904,512,000 training tokens in an ongoing 100B-token pretraining run.

The model has 138,971,520 parameters, a 3,072-token context window, and a custom 32,768-token digit-aware byte-level BPE tokenizer. It uses grouped-query attention, QK normalization, RoPE, SwiGLU, RMSNorm, tied input/output embeddings, and a KV cache for generation.

This is a base model, not an instruction-tuned or chat model. Use continuation-style prompts and load the repository with trust_remote_code=True.

[image]

Preview Status

FieldValue
Release typeFirst public preview checkpoint
Checkpoint step95,999
Optimizer steps completed96,000
Tokens seen51,904,512,000
Full-run target100B tokens
Training phaseReasoning core
Training statusOngoing

Benchmark scores describe this exact 96K preview checkpoint. They should not be treated as final BananaMind 2 Pro results.

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

Evaluation

The BananaMind 2 Pro scores below were measured on the exported 96K checkpoint. ARC Easy, ARC Challenge, PIQA, and HellaSwag use acc_norm,none; ArithMark 3 uses length-normalized continuation accuracy; ArithMark 2 uses raw continuation accuracy. INT Index uses the Open SLM Leaderboard-style aggregate. Code Only is the Base Bench 1.1 code-completion category Elo, while Base Bench 1.1 reports overall fixed-item Elo.

ModelParametersARC EasyARC ChallengePIQAHellaSwagArithMark 3ArithMark 2INT IndexCode OnlyBase Bench 1.1
BananaMind-2-Pro-Preview 96K139M51.01%27.13%66.76%39.83%38.90%28.60%23.0412951106
GPT-X2-125M125M51.47%27.82%67.30%40.41%37.20%30.68%23.3610781062
GPT-X-125M125M50.76%26.62%64.96%36.57%35.60%30.24%19.949161013
SmolLM-135M135M56.31%29.01%68.28%42.70%36.80%28.84%25.7415851125
BananaMind-2-Medium49.6M43.81%25.34%61.86%32.43%36.20%28.20%15.3712691034
GPT-2124M39.35%22.35%62.08%31.26%35.70%26.48%N/A1052996
Pythia-160M160M39.81%24.23%61.75%30.05%N/AN/AN/AN/AN/A

The preview row is bold for emphasis; the strongest reported score in each metric is also bold. Base Bench comparison values for GPT-X2-125M, GPT-X-125M, SmolLM-135M, BananaMind-2-Medium, and GPT-2 are taken from the BananaMind Base Bench leaderboard. Metrics without a supplied or leaderboard result are marked N/A.

Code Only (Base Bench 1.1): 1295 Elo | 38/50 correct (76.00%) | 75.48% weighted accuracy

INT Index vs Training Compute

[image]

Comparison-model training compute is estimated as 6 x parameters x training tokens, matching the referenced GPT-X2 chart methodology. The Pro Preview point uses the supplied run estimate rather than recomputing it with the comparison approximation. GPT-2 and Pythia are excluded.

ModelTraining computeINT Index
BananaMind-2-Pro-Preview72,669.44 PFLOPs23.04
GPT-X2-125M56,286.75 PFLOPs23.36
GPT-X-125M11,210.56 PFLOPs19.94
SmolLM-135M484,254.03 PFLOPs25.74
BananaMind-2-Medium14,867.33 PFLOPs15.37

Base Bench Checkpoint Progression

[image]

The progression series is a consistent sweep over 24 exported checkpoints using CUDA, bfloat16, batch size 1, and the complete 350-item Base Bench 1.1 split. The 96K point in this sweep is 1105 Elo with 227/350 correct; the primary comparison and category tables use the separate CPU float32 result of 1106 Elo with the same 227/350 raw accuracy.

Base Bench Category Results

CategoryEloCorrectAccuracyWeighted accuracy
Language completion157050/50100.00%100.00%
Commonsense116039/5078.00%76.34%
World knowledge114239/5078.00%74.29%
Context tracking89719/5038.00%36.31%
Quantitative96719/5038.00%38.80%
Logical reasoning102623/5046.00%40.13%
Code Only (code completion)129538/5076.00%75.48%
Overall1106227/35064.86%61.44%

Evaluation results can vary with harness version, tokenizer handling, dtype, and scoring configuration. The published values are self-reported checkpoint evaluations.

Tokenizer

BananaMind-2-Pro-Preview uses a 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 so complete numbers are not merged into large number tokens.

TokenID
019
120
221
322
423
524
625
726
827
928

Special token IDs:

TokenID
`<pad>`0
`<bos>`1
`<eos>`2
`<unk>`3

Training Data

The ongoing 100B-token curriculum combines educational web text, broad web text, synthetic textbook material, mathematics, and Python educational code. The table describes the full-run target allocation; this preview was exported after 51.904512B tokens.

DatasetFull-run targetAggregate 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%

The run uses 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

FieldValue
Sequence length3,072
Micro batch4
Gradient accumulation44
Effective batch176 sequences
Tokens per optimizer step540,672
Preview optimizer steps96,000
Planned 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

Energy and Carbon Estimate

The following is an engineering estimate for training through this 96K preview checkpoint, not a wall-meter measurement. Runtime is derived from 51,904,512,000 tokens at the observed run-average throughput of 52,438 tokens/s. Only GPU and CPU package power were measured; all other component power, PSU loss, electricity-use, and emissions figures are estimates.

ItemBasisValue
Derived training time51.904512B tokens / 52,438 tokens/s274.95 hours (11.46 days)
GPU powerMeasured: 12-second nvidia-smi average at 99-100% utilization262 W
CPU package powerMeasured: two Intel RAPL samples of 42 W and 38 W40 W
MSI B760 motherboard, chipset, and VRM lossesEstimated25 W
2x16 GiB Kingston DDR5-5600 memoryEstimated combined power8 W
Kingston NV3 NVMe SSDEstimated3 W
Seagate 2 TB hard driveEstimated idle/spinning4 W
Fans, controllers, and miscellaneous devicesEstimated10 W
Other components totalEstimated50 W
DC system loadEstimated352 W
PSU efficiencyAssumed90%
Wall powerEstimated391 W
Electricity useEstimated108 kWh
Austrian grid intensity usedRecent daily estimate140 gCO2e/kWh
Training emissions through 96KEstimated15.1 kg CO2e

The grid factor is a recent Austrian daily consumption-based estimate from Electricity Maps. Applying its reported 2024 and 2025 flow-traced annual means of 125.5 and 169.4 gCO2e/kWh to the same energy estimate gives 13.5-18.2 kg CO2e. This estimate excludes embodied hardware emissions, the display, and external networking or storage infrastructure.

Usage

Install the runtime dependencies:

bash
pip install -U torch transformers safetensors

Load the model with custom architecture code enabled:

python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "BananaMind/BananaMind-2-Pro-Preview"

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

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

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

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

with torch.no_grad():
    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.eos_token_id,
        eos_token_id=tokenizer.eos_token_id,
        use_cache=True,
    )

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

For deterministic continuation scoring, use do_sample=False. For free-form sampling, a temperature of 0.6 to 0.8, top_p=0.9, and repetition_penalty=1.1 are reasonable starting points.

Intended Use

BananaMind-2-Pro-Preview is intended for base-model research, local experimentation, text continuation, tokenizer research, arithmetic evaluation, checkpoint analysis, and small-language-model comparisons.

It is not instruction-tuned and does not use a chat template. It has not received dedicated safety alignment and may produce incorrect, biased, repetitive, or otherwise undesirable text. Do not rely on its output for high-stakes decisions.

License

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