/ Модель

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

Контекст
2 048 токенов
Лицензия
Apache 2.0
Архитектура
aurora2 · MoE
Библиотека
transformers
Опубликована
18 ноя 2026

Aurora2-400M-A20M

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

Компактная базовая языковая MoE-модель для генерации и продолжения текста, обученная AuroraAI-Research с нуля на 100 млрд токенов.

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

Бенчмарки

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

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

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

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

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

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

Aurora2-400M-A20M — базовая авторегрессионная языковая модель AuroraAI-Research с архитектурой decoder-only и разреженной смесью экспертов. В ней около 400 млн параметров, из которых примерно 19 млн активны при обработке каждого токена; на слой приходятся 32 маршрутизируемых эксперта и один общий. Модель обучена с нуля на 100 млрд токенов и не проходила дообучение для следования инструкциям или RLHF.

Модель предназначена для продолжения текста и экспериментов с компактными MoE-языковыми моделями. Она использует токенизатор byte-level BPE со словарём 16 384 токена и контекст длиной 2 048 токенов. В обучающую смесь входили веб-тексты, Wikipedia, математические и диалоговые данные; основным языком карточки указан английский. Модель доступна в формате Safetensors по лицензии Apache-2.0.

Поскольку это базовая, а не инструкционная модель, она не рассчитана на надёжное выполнение команд или диалог в формате ассистента без дополнительной настройки. Короткое контекстное окно и разреженная архитектура также ограничивают сценарии с длинными документами; качество для конкретных задач следует проверять отдельно.

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

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

Ограничения

Модель не проходила инструкционное дообучение и может быть ненадёжна в диалоге и при выполнении команд. Контекст ограничен 2 048 токенами; качество для отдельных задач отдельно не подтверждено.

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

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

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

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

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

Открыть на Hugging Face

Aurora2-400M-A20M

Aurora2-400M-A20M is a decoder-only language model with approximately 400M total parameters and 19M active parameters per token. It uses a top-1 Mixture-of-Experts (MoE) architecture with 32 routed experts and one shared expert per layer.

The model was pretrained from scratch on 100B tokens using a single GPU. It is a base model, not an instruction-tuned assistant: there was no supervised instruction-tuning or RLHF stage.

PropertyValue
Total parameters399,597,454
Active parameters per token19,050,382
Experts32 routed + 1 shared per layer
Layers12
Hidden size192
Context length2,048 tokens
Vocabulary16,384
Training tokens100B
Training precisionBF16 compute, FP32 master weights
HardwareSingle RTX Pro 6000, approximately 36 hours

Architecture

Aurora2 uses a relatively narrow attention stack paired with large, sparse feed-forward layers. Each token is routed to one of 32 experts, alongside the always-active shared expert.

Core configuration

ComponentConfiguration
Hidden size192
Layers12
Attention heads6 query / 2 KV
Attention typeGrouped-query attention (3:1)
Head dimension32
Positional encodingRoPE, base 10,000
NormalizationPre-RMSNorm, FP32 QK normalization
AttentionFlexAttention, causal and per-document masking
Routed experts32 per layer, SwiGLU, FFN dimension 1,776
Shared expert1 per layer, SwiGLU, FFN dimension 256
RoutingFP32 softmax, top-1, dropless
Output headTied token embeddings
Logit soft-capping30

The router scales each selected expert's output by its routing probability. There is no expert capacity factor or token dropping.

Router training includes a Switch-style load-balancing loss (coefficient 0.01) and router z-loss (coefficient 0.001).

Additional components

  • Hashed n-gram embeddings: Causal hashes of the last 2, 3 and 4 token IDs index three separate 16,384-bucket embedding tables. Their outputs are concatenated, projected to the hidden dimension and added to the token embeddings through a learned per-channel gate.
  • Embedding skip connections: Every block combines its input with the original embedding using learned coefficients, initialized to [1, 0].
  • Value residuals: Layers after the first mix their value tensors with the first layer's values, using learned coefficients initialized to [0.5, 0.5].
  • Per-head attention gates: Each attention head has a learned output gate derived from the first 12 channels of the normalized block input. It is initialized to produce a multiplier of 1.
  • Learned router bias: Each expert has a trainable bias added to its routing logits.

Tokenizer

Aurora2 uses a byte-level BPE tokenizer trained from scratch.

  • Vocabulary size: 16,384.
  • Every digit is an individual token ("123" becomes three tokens).
  • Special tokens:
    • <|bos|>: ID 0
    • <|eos|>: ID 1
    • <|pad|>: ID 2
  • The tokenizer automatically prepends <|bos|> to encoded text.

During training, documents were packed together, with each document starting with a BOS token. No EOS was inserted between documents. BOS tokens also served as document boundaries for attention masking.

Training data

Training data was streamed from the Hugging Face Hub, tokenized on the fly and packed into sequences of 2,048 tokens. The tokenizer was trained on approximately 1B characters from the same data mixture.

Only training splits were used. ClimbMix shard 6542 was reserved for validation; benchmark evaluation splits were not used for training.

DatasetPurposeAverage token shareApprox. epochs
ClimbMixGeneral web text85.8%< 1
FineMath-4+Mathematical web text6.0%< 1
Wikipedia (English)Encyclopedic text3.0%< 1
SmolTalkChat and QA2.5%~2.5
OpenMathInstruct-2Mathematical QA1.5%~2
NuminaMath-CoTMathematical QA1.2%~3

Staged data mixture

The mixture was adjusted throughout training. Math and QA/chat sources received greater weight during the final decay phase, while ClimbMix remained the majority source.

Training stageClimbMixFineMathWikipediaSmolTalkOpenMathNumina
0–60B tokens89.3%5.4%2.7%1.25%0.75%0.6%
60–80B tokens85.8%6.0%3.0%2.5%1.5%1.2%
80–100B tokens75.3%7.8%3.9%6.25%3.75%3.0%

Instruction-style datasets were converted into plain-text formats, including Question: ... Answer: ..., Problem: ... Solution: ... and User: ... Assistant: .... These examples were part of pretraining; they do not constitute an instruction-tuning stage.

Training procedure

HyperparameterValue
Total training tokens100B
Sequences per step128
Sequence length2,048
Tokens per step262,144
Approximate optimizer steps381,000
Learning-rate scheduleWarmup-Stable-Decay (WSD)
Warmup1B tokens, linear
Stable phase1B–80B tokens
DecayCosine decay over the final 20B tokens
Peak learning rate1.5e-3
Router learning-rate multiplier0.5
OptimizerMuon + AdamW
Gradient clipping1.0
Random seed1337

Optimizer configuration

Muon was used for the attention projections and shared-expert matrices. It used momentum 0.95, five Newton-Schulz iterations and weight decay 0.1.

AdamW handled the token and n-gram embeddings, router parameters, normalization parameters, scalar/gating parameters and routed experts.

AdamW used betas (0.9, 0.95), epsilon 1e-8 and weight decay 0.1. Embeddings used weight decay 0.01, while norms, gates and scalar parameters had no weight decay.

Muon was deliberately not used on the routed experts because it negatively affected routing balance and training speed in experiments.

Evaluation

The following benchmark results were obtained for the 100B-token checkpoint.

Scores are shown as percentages. acc is standard accuracy, while acc_norm is normalized accuracy.

Benchmarkaccacc_norm
HellaSwag32.8238.36
ARC-Easy51.1848.11
ARC-Challenge22.9526.11
ARC37.0737.11
PIQA67.4166.92
ArithMark337.3037.40

Intelligence Index (acc_norm): 21.52

Quick start

The repository includes a native Transformers implementation with custom model code. You need trust_remote_code=True to load it.

Install the dependencies:

pip install -U transformers torch accelerate safetensors

Load the FP16 model:

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "AuroraAI-Research/Aurora2-400M-A20M"

tokenizer = AutoTokenizer.from_pretrained(repo)

model = AutoModelForCausalLM.from_pretrained(
    repo,
    subfolder="fp16",
    trust_remote_code=True,
    torch_dtype=torch.float16,
    device_map="auto",
).eval()

# <|bos|> (id 0) is prepended automatically
inputs = tokenizer("The Capital of France is", return_tensors="pt").to(model.device)

with torch.inference_mode():
    outputs = model.generate(
        **inputs,
        max_new_tokens=128,
        do_sample=True,
        temperature=0.5,
    )

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

The repository contains three precision variants:

DirectoryWeights
RootFP32
bf16/BF16
fp16/FP16

The tokenizer is stored in the repository root, so it does not need a subfolder argument.

Hardware note: The inference implementation uses BF16 activations on CUDA, even when the stored weights are FP16. A CUDA GPU with BF16 support is therefore recommended.

Inference notes

  • Use batch size 1 or unpadded batches. The inference implementation does not reproduce the training-time per-document attention mask.
  • Context length is 2,048 tokens.
  • Beam search is not supported.
  • Generation stops when the model produces BOS or EOS.
  • The model is intended for causal text generation, not instruction-following.

Intended use and limitations

Aurora2 is primarily intended for research into small language models, sparse Mixture-of-Experts architectures, routing strategies, optimization and training efficiency. It can also serve as a starting point for further fine-tuning.

A few limitations are worth keeping in mind:

  • Base model: It has not undergone instruction tuning or preference optimization. It is not designed to behave like a conversational assistant.
  • Limited active capacity: Only about 19M parameters are active per token. Its factual knowledge, reasoning and long-range coherence are limited compared with substantially larger models.
  • English-focused: Both the tokenizer and training mixture are primarily English-oriented.
  • Short context: The model was trained with a 2,048-token context length.
  • Training data: Web-scale datasets can contain inaccuracies, biases and offensive material. Outputs may reflect these issues.
  • Downstream use: The model should not be used for decisions with real-world consequences. Check the licenses of individual training datasets before downstream use.

Citation

@misc{aurora2_400m_a20m,
  title  = {Aurora2-400M-A20M: A Small Sparse Mixture-of-Experts Language Model},
  author = {AuroraAI-Research},
  year   = {2026},
  note   = {Pretrained on 100B tokens on a single GPU}
}

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

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

GPU в ailist

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

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

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

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

0 моделей