/ Модель

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

Контекст
2 048 токенов
Параметры
2,9 млн
Лицензия
CC BY 4.0
Архитектура
nero_xs · dense
Библиотека
mlx
Опубликована
31 авг 2026

Nero-XS

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

Nero XS — экспериментальная рекуррентная языковая модель на 2,996 млн параметров для генерации продолжения текста и исследований малых моделей.

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

Бенчмарки

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

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

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

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

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

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

Nero XS — компактная авторегрессионная языковая модель с рекуррентной архитектурой XSA, разработанная автором репозитория j0no12 и обученная с нуля с помощью MLX на Apple Silicon. Она содержит около 2,996 млн параметров, 10 физических блоков, четыре из которых применяются повторно, и имеет контекстное окно 2048 токенов. Модель предназначена для генерации продолжения текста и исследовательских экспериментов с малыми языковыми моделями; она не настроена для диалога и не является готовым чат-ассистентом.

Обучение включало базовый этап на корпусе на основе DCLM и продолжение предобучения на FinePhrase с примерами FAQ, математики, таблиц и обучающих материалов. В zero-shot оценках модель показала результаты выше случайного уровня на HellaSwag, ARC-Easy и ARC-Challenge, однако эти результаты не свидетельствуют о широкой языковой компетентности. Карточка содержит реализацию для MLX; веса опубликованы в формате safetensors и NPZ, а модель не совместима напрямую с Transformers AutoModelForCausalLM.

Модель лучше рассматривать как экспериментальную исследовательскую разработку: малый размер ограничивает фактические знания, связность и длинную генерацию, а обучение проходило на последовательностях длиной 256 токенов. Токенизатор размером 2K неэффективен для некоторых текстов, генерация пересчитывает весь префикс без KV-кэша, а данные FinePhrase синтетические. Лицензия — Creative Commons Attribution 4.0 (CC-BY-4.0).

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

  • генерация короткого продолжения текста
  • эксперименты с малыми языковыми моделями на Apple Silicon
  • сравнение рекуррентной архитектуры XSA с базовыми моделями
  • zero-shot оценка на задачах рассуждения и понимания текста

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Nero XS

A 2,996,480-parameter recurrent XSA language model trained from scratch with MLX on Apple Silicon.

Quick start (MLX)

pip install "mlx>=0.32" "transformers>=5" huggingface_hub numpy
from huggingface_hub import snapshot_download
import sys

model_dir = snapshot_download("j0no12/Nero-XS")
sys.path.insert(0, model_dir)

from modeling_nero_xs_mlx import load_model, generate

model, tokenizer = load_model(model_dir)
text = generate(
    model,
    tokenizer,
    prompt="The future of small language models is",
    max_new_tokens=64,
    temperature=0.8,
    top_p=0.95,
    repetition_penalty=1.1,
    seed=7,
)
print(text)

Nero XS uses the custom MLX architecture class NeroXSAForCausalLM. It is not a drop-in Transformers AutoModelForCausalLM checkpoint. The complete standalone inference implementation is included in modeling_nero_xs_mlx.py.

Results

All scores are zero-shot normalized accuracy on the full evaluation split.

BenchmarkExamplesNero XS
HellaSwag10,04227.38%
ARC-Easy2,37630.98%
ARC-Challenge1,17220.73%
PIQA1,83853.86%
ArithMark-31,00032.10%
Unweighted mean—33.01%

HellaSwag, ARC, and PIQA were evaluated with lm-eval 0.4.12 using exact continuation likelihood, zero few-shot examples, acc_norm, and the full task splits. ArithMark-3 used the official independent-tokenization continuation protocol and acc_norm. Raw result files are included under evals/.

Takeaway: Nero XS is meaningfully above random baselines on several tasks despite storing fewer than three million parameters. It remains an extremely small research model, and its benchmark differences should be interpreted with the reported sample sizes rather than as broad language competence.

Architecture

ComponentConfiguration
Architecture classNeroXSAForCausalLM
Stored parameters2,996,480
Physical / effective blocks10 / 14
Recurrent layout1 prelude + 4 middle blocks × 2 passes + 5 coda
Residual width128
Attention4 heads × 32 dimensions, full-rank Q/K/V/O
Attention modificationXSA value-subtraction after causal attention
MLPGated dense MLP, width 540
Vocabulary2,048-token byte-level BPE
EmbeddingsTied input/output table
Position signalFixed sinusoidal coordinates, base 20,000
NormalizationLearned centered unit normalization

XSA removes from each attended head output its projection onto the current-token value vector. The four middle physical blocks are applied twice, providing fourteen effective block transformations without storing a second set of recurrent weights.

Training story

1. DCLM base stage

  • Exact stage budget: 4,999,999,488 tokens.
  • Sequence length 256, batch size 16, seed 7.
  • AdamW: peak learning rate 0.012, 10M-token warmup, cosine decay to 0.0012, weight decay 0.1, betas (0.9, 0.95), epsilon 1e-8.
  • Source-disjoint train/dev/test token streams produced from the local DCLM preparation pipeline.

2. FinePhrase continued pre-training

  • Exact stage budget: 4,999,999,488 tokens.
  • Balanced equally across FinePhrase faq, math, table, and tutorial configurations during corpus preparation.
  • Used only rollout_results[0].text; the source text field was ignored.
  • Peak learning rate 0.0012, no warmup, cosine decay to 0.00012.
  • Preserved the base model and complete AdamW optimizer state; reset only the dataset sampler and stage token counter.

Total recorded training exposure across both stages is 9,999,998,976 tokens.

Data lineage

StageSourcePrepared training streamProvenance
BaseDCLM-derived local corpus814,270,415 unique prepared tokens, sampled repeatedly to the stage budgetSource JSONL SHA-256 ed0ac03f1c4383ee3607271e5ae6a150f4bbc8dd5fcd598038eaee72134d09d8
CPTHuggingFaceFW/finephrase revision 78cf4a5ed0099214979c094c963e699c19163838495,064,920 unique prepared train tokens, sampled repeatedly to the stage budget125M accepted tokens targeted per configuration; source-ID-disjoint split

The FinePhrase preparation accepted 886,182 documents across the four configurations before assigning source-disjoint train/dev/test splits. Dataset sampling beyond each prepared stream's unique size means the training-token total is exposure, not unique-token count.

Evaluation details

ItemValue
Released checkpointFinePhrase stage checkpoint_004999999488
lm-eval version0.4.12
Few-shot examples0
Multiple-choice metricacc_norm
Evaluation maximum context2,048 tokens (lm-eval); 1,024 for ArithMark-3
Batch size16 (lm-eval); 32 examples for ArithMark-3
Random seedslm-eval defaults recorded in the raw result file

The released checkpoint was chosen by the highest unweighted mean across the five reported public tasks among the already evaluated training checkpoints. This is a benchmark-informed release selection, so the table is descriptive rather than an untouched final estimate.

Reproducibility

ItemValue
FrameworkMLX 0.32.0
Python during training3.14.6
HardwareApple M5 Max
Training seed7
Validation seed20260904
DCLM manifest SHA-25678a68559354521c2929678395a26740487e53a0648d8590123e2e655a2c562db
FinePhrase manifest SHA-256706c05ca84c0d6974c21f127b56076af8b56dd61748613885e4a084af8f75b0c
Tokenizer SHA-2565da5a6a51f165486e3e3ed9371bab510374d3d478ff105528e87fd8cfecd2705
Released NPZ SHA-256d49851109e6b087aabe6f484fe2dbb4f2e4ffa90276d9d11cc10938dd9234c7d
Released safetensors SHA-256fc67d9640b74a75eaadcad29edb40232692e066ced2cc5b511f276379e5fcfd3

model.npz and model.safetensors contain the same 103 FP32 tensors. The standalone release implementation was checked against the training implementation with exact logit equality (max_abs_diff = 0.0) on a fixed input.

Limitations

  • Fewer than three million parameters sharply limits factual recall, instruction following, coherence, and long-form generation.
  • Training used 256-token sequences. Longer contexts are accepted by the deterministic coordinate implementation but are not established training-distribution behavior.
  • The 2K tokenizer favors parameter efficiency over tokenization efficiency and has limited dedicated multi-digit coverage.
  • Generation uses full-prefix recomputation and has no KV cache.
  • FinePhrase content is synthetic and can transfer teacher errors or style.
  • No independent human evaluation, safety evaluation, or comprehensive benchmark-contamination audit is published.
  • Public benchmarks influenced checkpoint selection; do not treat these five scores as an untouched test set.
  • This base model is not instruction-tuned and should not be expected to answer prompts like a chat assistant.

Files

FileDescription
model.safetensorsFP32 weights in safetensors format
model.npzOriginal MLX checkpoint weights
modeling_nero_xs_mlx.pyStandalone architecture, loading, and generation code
config.jsonExact released architecture configuration
tokenizer.json, tokenizer_config.json2K byte-level BPE tokenizer
tokenizer_manifest.jsonTokenizer construction provenance
training_state.jsonFinal checkpoint state and manifest identifiers
evals/Raw full benchmark outputs

Citation

@misc{neroxs2026,
  author       = {j0no12},
  title        = {Nero XS: A 2.996M-Parameter Recurrent XSA Language Model},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/j0no12/Nero-XS}},
  note         = {Trained from scratch with MLX on Apple Silicon}
}

License

The original Nero XS model weights and repository material are released under CC-BY-4.0. Attribution is required. The DCLM source is recorded as CC-BY-4.0, while FinePhrase is ODC-BY; those upstream dataset terms and attribution requirements remain applicable to their respective source material.

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

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

GPU в ailist

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

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

MLX-модели работают только на Apple Silicon.

Класс архитектуры
NeroXSAForCausalLM
Ревизия весов
d98472d

0 моделей