/ Модель

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

Лицензия
CC BY-NC-SA 4.0
Библиотека
transformers
Опубликована
11 ноя 2026

Lara-4-Mini-Base

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

Lara Mini Base — быстрая мультиязычная базовая MoE-модель для продолжения текста и дальнейшего дообучения, с контекстом до 128 тыс. токенов.

231скачиваний за 30 дней39лайковвеса обновлены23 ноя 2026

Бенчмарки

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

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

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

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

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

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

Lara Mini Base — мультиязычная базовая языковая модель компании Translated SRL, обученная с нуля для продолжения текста. Она предназначена для генерации и дополнения текста, а также может служить основой для дальнейшего дообучения под прикладные задачи.

Модель использует decoder-only архитектуру mixture-of-experts: 7,2 млрд параметров всего и 0,6 млрд активных на токен. В 34 слоях сочетаются Gated DeltaNet, скользящее окно внимания и глобальное внимание; контекст расширен до 128 тыс. токенов. Обучение включало 6 трлн токенов, в том числе тексты на 44 языках помимо английского, а также данные по коду и математике. В README заявлены высокая скорость генерации и результаты бенчмарков, превосходящие сравнивавшиеся открытые базовые модели с числом активных параметров до 2 млрд.

Модель не настроена на выполнение инструкций и диалог, не имеет настройки безопасности и может выдавать ошибочную, предвзятую или оскорбительную информацию. Поведение за пределами 131 072 токенов не проверено. Лицензия CC-BY-NC-SA-4.0 допускает использование на условиях лицензии, включая ограничения на коммерческое применение.

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

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

Ограничения

Модель не следует инструкциям и не предназначена для диалога; у неё нет настройки безопасности, поэтому ответы могут быть ошибочными, предвзятыми или оскорбительными. Поведение при контексте длиннее 131 072 токенов не проверено.

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

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

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

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

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

Открыть на Hugging Face

Lara Mini Base

Read more in our blog post.

Lara Mini base is a multilingual mixture-of-experts base model by Translated, with 7.2B total and 0.6B active parameters per token, pretrained from scratch on 6T tokens and extended to a context of 128k tokens.

Overall and domain averages of Lara Mini base and of the best other open base models with up to 2B active parameters Overall and domain averages of Lara Mini base and of the four best other models with up to 2B active parameters on each average.

  • Multilingual by design. About a third of the training data (2.18T tokens) is in 44 languages besides English (counting Simplified and Traditional Chinese separately), including all 24 official languages of the European Union.
  • Strong for its size. Among the 36 open base models with up to 2B active parameters that we evaluated, it has the highest average over English, multilingual, math and code benchmarks (57.0), ahead of models trained on 4 to 6 times as many tokens.
  • Fast. It needs the compute per token of a 0.6B dense model. For a single user on one A100 GPU, it generates about 1,100 characters per second, at least 1.8 times as fast as every model in our comparison with a higher average.
  • Long context with a small state. Only 7 of its 34 layers use global attention; the others are Gated DeltaNet and sliding-window attention layers, whose state does not grow with the input.

This is a base model: it continues text. It is not tuned to follow instructions or to chat, and it has no safety tuning.

Model details

Architecture of Lara Mini base

DeveloperTranslated SRL, the copyright holder and licensor
Model typeDecoder-only mixture of experts base model; hybrid of Gated DeltaNet, sliding-window and global attention
Parameters7.2B total, 0.6B active per token (embeddings included)
Layers34: 14 Gated DeltaNet (GDN), 13 sliding-window attention (window 512, RoPE), 7 global attention (no positional encoding)
Layer patternGDN, sliding, GDN, global, then (sliding, GDN, sliding, GDN, global) × 6
Hidden size1,024
Attention16 query heads, 4 key-value heads, head dimension 128, QK-norm
Gated DeltaNet8 key heads, 16 value heads, head dimension 128, short convolution of width 4
Mixture of expertsIn every layer: 128 routed experts (top-4, fp32 router) and 1 shared expert, all SwiGLU with hidden size 512
Vocabulary151,936 tokens; input and output embeddings tied
Context length4,096 tokens in the first three stages; 131,072 after the long-context stage
Precisionbf16
Training data6T tokens of public data: English and multilingual text, code, math and SFT-like data, then 100B tokens in the long-context stage
LanguagesEnglish and 44 others (Simplified and Traditional Chinese counted separately), which together cover all 24 official EU languages (see below)
LicenseCC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
Intended useResearch, and a starting point for fine-tuning and post-training; a base model, not tuned to follow instructions or for safety
LimitationsSee Limitations

Languages. English, Arabic, Azerbaijani, Bengali, Bosnian, Bulgarian, Catalan, Chinese (Simplified and Traditional), Croatian, Czech, Danish, Dutch, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Irish, Italian, Japanese, Korean, Latvian, Lithuanian, Malay, Maltese, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian and Vietnamese.

Training

Data. All training data come from publicly available datasets (some of them released under access agreements), which we deduplicated and filtered into a pool of 13.8T tokens. Training read 6T tokens from this pool, 97% of them unique. The anneal stage skips the training sequences that contain documents matching items of our evaluation benchmarks.

DomainMain sourcesTokensShare
EnglishNemotron-CC and its synthetic data, FineWeb-Edu, FinePDFs, FineWiki2.49T41.4%
MultilingualFineWeb-2, FineWeb2-HQ, HPLT 3.0, CulturaX, FinePDFs, FineWiki, synthetic question-answer data2.18T36.4%
CodeNemotron-CC code pages, The Stack v3 (permissive files), Nemotron synthetic code0.77T12.8%
MathFineMath, MegaMath, Nemotron-CC-Math0.35T5.9%
SFT-likeNemotron pretraining collections (question-answer, math and code examples)0.21T3.5%

We release no training data with this model.

Stages. Pretraining has three stages (main, transition and anneal) over 6T tokens at a sequence length of 4,096. Each stage moves toward higher-quality, question-answer, code and math data, while multilingual text stays at about a third. A fourth stage of 100B tokens, in sequences of 32,768 and then 131,072 tokens, extends the context to 128k.

Recipe. Muon for the weight matrices and AdamW for the other parameters, peak learning rate 8e-4, global batch of about 8.4M tokens, constant learning rate for 90% of training and then a decay to zero.

Evaluation

We evaluated Lara Mini base and 56 open base models ourselves, all with the same prompts, settings and answer extraction (lm-evaluation-harness, few-shot or zero-shot, no chat template).

  • English: NLI, PAWS, Belebele, COPA, PIQA, HellaSwag, WinoGrande, ARC-Challenge, MMLU, MMLU-Pro
  • Multilingual: XNLI, PAWS-X, Belebele, XCOPA, Global PIQA, T-HellaSwag, INCLUDE, Global MMLU, averaged over the languages of Lara Mini base
  • Math: GSM8K, MATH, MGSM
  • Code: MBPP, MBPP+, CRUXEval-I, CRUXEval-O

Overall is the mean of the four domain averages. Models are grouped by active parameters.

ModelActiveTotalTokensEnglishMultilingualMathCodeOverall
Lara Mini base0.6B7.2B6T66.456.759.945.157.0
granite-4.0-h-tiny1.0B6.9B22.5T66.251.849.448.453.9
Qwen3-1.7B1.7B1.7B36T63.850.354.646.653.8
Falcon-H1-1.5B-Deep1.6B1.6B3T65.345.255.247.253.2
Hunyuan-1.8B1.8B1.8B--62.744.352.049.752.2
LFM2.5-8B-A1B1.7B8.5B38T†65.748.652.336.650.8
Trinity-Nano1.0B6.1B10T68.447.445.042.050.7
Qwen3.5-2B1.9B1.9B--63.350.045.636.748.9
Gemma-4-E2B2.0B5.1B--63.353.318.032.841.9
Larger models
Apertus-v1.5-8B8.0B8.0B19T69.059.250.644.355.8
Gemma-4-E4B4.0B7.9B--70.161.144.446.055.4
Ministral-3-3B3.4B3.4B1-3T†67.755.449.942.353.8
Llama-3.1-8B8.0B8.0B15T69.655.236.643.651.2

Tokens: pretraining tokens reported by each developer (--: not reported; †: distilled from a larger model during pretraining, wholly or in part). For Lara Mini base, the 6T of the first three stages; the long-context stage adds 100B. Gemma-4 models are listed at their effective sizes.

Speed. We measured the generation speed of 45 of these models on one A100 GPU, in bf16 without quantization. Speed is in characters per second, so that models with tokenizers of different density compare fairly. Every model with a higher Overall average than Lara Mini base generates text at least 1.8 times more slowly.

Overall average against generation speed for one user Overall average against generation speed for a single user (characters per second, log scale) for Lara Mini base and 45 open base models; the line is the Pareto frontier.

Long context. RULER (13 English tasks), ONERULER (4 retrieval tasks in 26 languages) and HELMET (4 categories), with tasks whose score does not depend on the text a base model generates after its answer.

ModelActiveRULER 32kRULER 128kONERULER 32kONERULER 128kHELMET 32kHELMET 128k
Lara Mini base0.6B76.663.790.180.963.054.7
Trinity-Nano1.0B71.061.873.962.154.951.8
granite-4.0-h-tiny1.0B29.526.419.514.141.036.3
Falcon-H1-1.5B-Deep1.6B59.738.760.538.845.534.4
Qwen3.5-2B1.9B83.773.887.777.464.056.8
Gemma-4-E2B2.0B79.271.089.384.766.058.6

Usage

Lara Mini is supported natively in Transformers from v5.24.0 (see the documentation):

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

path = "translated/Lara-4-Mini-Base"
tokenizer = AutoTokenizer.from_pretrained(path)
model = AutoModelForCausalLM.from_pretrained(path, dtype=torch.bfloat16, device_map="cuda")

inputs = tokenizer("La Divina Commedia è un poema scritto da", return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=32, do_sample=False)
print(tokenizer.decode(out[0], skip_special_tokens=True))
  • Requires transformers>=5.24.
  • For fast Gated DeltaNet kernels on GPU, install flash-linear-attention (0.6.0 or later; 0.4.2 does not work with the native implementation) and optionally causal-conv1d, or load with use_kernels=True to take them from the Hub. Without them, a plain PyTorch path is used, which is exact but slow on long inputs.
  • The model was trained without a BOS token: do not prepend one. The tokenizer already does not add it.
  • To fine-tune, load with output_router_logits=True. The loss then includes the router load-balancing loss (router_aux_loss_coef, 0.001 as in pretraining), which keeps the experts balanced.

Alternative: the modeling code in this repository

For older Transformers versions, this repository also ships its own modeling code (modeling_lara_mini.py). Load it with trust_remote_code=True:

tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(path, trust_remote_code=True, dtype=torch.bfloat16, device_map="cuda")
  • Requires transformers>=5.14 (tested up to 5.24.0). It gives the same outputs as the native implementation.
  • It uses flash-linear-attention for the Gated DeltaNet layers when it is installed.
  • It supports training on packed sequences, with sample boundaries given by cu_seq_lens_q or by position_ids that restart at 0.
  • LoRA adapters trained with this code target the fused Gated DeltaNet projection linear_attn.in_proj, which the native implementation splits into in_proj_qkv, in_proj_z, in_proj_b and in_proj_a. Such adapters load only partially in the native implementation, without a warning; see the documentation to convert them.

Limitations

  • A base model: it continues text. It does not follow instructions or hold a conversation, and it has no safety tuning. It can produce text that is wrong, biased or offensive.
  • Behavior beyond 131,072 tokens is untested.

Third-party terms that may apply

Part of the training data is synthetic text that NVIDIA generated with third-party models. The cards of these datasets state that a model trained on them "may be subject to redistribution and use requirements" in the licenses of the models that generated the data:

License

Lara Mini base is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY-NC-SA 4.0); see LICENSE. You may share and adapt it for non-commercial purposes, giving appropriate credit, and must distribute adaptations under the same license. The code and the tokenizer are under the Apache License 2.0 (see NOTICE and LICENSE-APACHE-2.0).

For commercial use or other uses not covered by this license, we are open to licensing Lara Mini base under more permissive terms. If you are interested, please contact us at research@translated.com.

Citation

@techreport{translated2026laraminibase,
  title       = {Lara Mini Base: Language Diversity as a Resource, Not a Trade-off},
  author      = {{Translated, Lara Team}},
  institution = {Translated},
  year        = {2026},
  month       = nov,
  type        = {Technical Report},
  url         = {https://arxiv.org/abs/2611.16956}
}

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

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

GPU в ailist

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

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

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

Ревизия весов
48c4622

0 моделей