/ Модель

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

Лицензия
Apache 2.0
Библиотека
transformers
Опубликована
26 окт 2026

Villanova2-2B-Base

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

Плотная базовая языковая модель VillanovaAI на 2,4 млрд параметров для продолжения текста и дообучения на пяти европейских языках.

16скачиваний за 30 дней7лайковвеса обновлены15 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Villanova2-2B-Base — базовая языковая модель, разработанная VillanovaAI и обученная с нуля на английском, итальянском, немецком, испанском и французском текстах. Это плотный декодерный Transformer с архитектурой в стиле Qwen3 и 2,411 млрд параметров; модель предназначена прежде всего для продолжения предшествующего текста, дообучения и адаптации под конкретные области или задачи. Карточка указывает контекстное окно 131 072 токена и токенизатор BPE на 131 072 токена, рассчитанный на пять языков проекта и код.

Модель подходит для продолжения документов и few-shot генерации текста, а также как основа для SFT и настройки предпочтений с целью создания ассистентов и специализированных моделей. Это базовая, не настроенная на инструкции модель: её не следует напрямую использовать как чат-ассистента. Карточка также предостерегает от применения для критически важных решений и отмечает ненадёжность арифметики и многошаговой математики. Веса распространяются по лицензии Apache-2.0.

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

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

Ограничения

Модель не настроена на выполнение инструкций и не предназначена для прямого использования как чат-ассистент. Карточка предупреждает о ненадёжности арифметики и многошаговой математики и не рекомендует модель для критически важных решений.

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

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

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

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

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

Открыть на Hugging Face

[!WARNING] DISCLAIMER: This is a base model, not instruction-tuned. It is intended as a foundation for downstream fine-tuning and alignment.


PropertyValue
Model typeDense decoder-only Transformer, Qwen3-style backbone
Total parameters2,411,190,272 (2.411B)
Non-embedding parameters2,076,301,312 (2.076B)
Vocabulary131,072-token BPE tokenizer · 130,816 embedding rows, tied input/output
Context window131,072 tokens
Opennessopen weight & data: model weights under Apache 2.0; training data documented source by source, each dataset under its own terms
LanguagesEnglish, Italian, German, Spanish, French (partial support beyond these)
LicenseApache 2.0

Quick start

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "VillanovaAI/Villanova2-2B-Base"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

prompt = "L'Italia è una penisola che"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

output = model.generate(
    **inputs,
    max_new_tokens=128,
    do_sample=True,
    temperature=0.7,
    top_p=0.9,
)
print(tokenizer.decode(output[0, inputs.input_ids.shape[1]:], skip_special_tokens=True))

Prompting a base model means continuing it, not asking. Few-shot prompts, prefixes and document continuations work; "Can you explain…?" does not. For chat, use the instruction-tuned variant Villanova2-2B.


Intended use

Good fitNot a good fit without extra work
Continued pre-training and domain adaptationDirect deployment as a chat assistant
SFT / preference tuning into assistants and task modelsSafety-critical or high-stakes decisions
Few-shot text completion in EN · IT · DE · ES · FRReliable arithmetic or multi-step math
Research on small, multilingual, long-context modelsLanguages outside the five core ones, where quality is not guaranteed

The family

Both base models share the same 4.7T-token pre-training curriculum, the same tokenizer and the same training recipe; they differ in scale, topology and hardware budget.

Villanova-2B-Base-2603, from the inaugural generation, was a strong first step; Villanova2-2B-Base is a substantial step forward.

Villanova-2B-Base-2603Villanova2-2B-Base
Training tokens4.4T4.7T
Context window32,768131,072
TokenizerSalamandra, 256kVillanova, 131k
39-benchmark avg (5-shot)52.2861.56
RULER @ 4k73.383.0
RULER @ 16k52.870.0
RULER @ 32k47.060.1

The results published in the 2603 model card might differ because it comes from a different, smaller 18-task suite and is not directly comparable; Villanova-2B-Base-2603 is re-evaluated on the 39-task suite used for this model.


Architecture

Architectural featureValue
BackboneQwen3-style dense decoder
Layers22
Hidden dimension2,560
AttentionGQA, 20 Q heads / 4 KV groups (5:1 compression)
Head dimension128
FFN activationSwiGLU
FFN intermediate dimension10,240 (4× expansion)
RoPEFull, applied to all head dimensions
Embedding rows130,816 (tokenizer vocabulary: 131,072)
Tied embeddingsYes
Total parameters2,411,190,272
Active parameters per token2,411,190,272

Pre-training

One run, four stages, no restarts

The learning rate is cooled to zero once, over the whole run: the cooldown is the context extension, with no restart and no fresh optimizer for long context. Adam's first and second moments are carried across every stage boundary.

StageTokens (cumulative)Seq. lengthGlobal batchLearning rate
Stable pre-training0 → 4.0T4,0963,0725.00 × 10⁻⁴ (constant)
Annealing4.0T → 4.6T4,0963,0725.00 → 1.25 × 10⁻⁴
Long context · 32k4.6T → 4.65T32,7683841.25 → 0.63 × 10⁻⁴
Long context · 128k4.65T → 4.7T131,072960.63 → 0 × 10⁻⁴
Total4.7T

The batch stays at 3,072 sequences: tokens per optimizer step are constant at 12.58M (3,072 × 4,096 = 384 × 32,768 = 96 × 131,072), about 373,500 steps in total.

The annealing cooldown is linear against a virtual 800B-token horizon ending at 4.8T, so training stops early at 4.6T with 25% of the pre-training learning rate left for the long-context tiers.

Compute

  • 48 NVIDIA B200 GPUs, ~423 hours each: ~20,300 GPU-hours, about 17.6 days wall-clock.
  • ≈ 6.8 × 10²² training FLOPs (6ND estimate).
  • 4.7T tokens on a 2.411B model: ~1,950 tokens per parameter.

Data

All sources are converted to text and filtered before mixing: boilerplate removal, repetition and length heuristics, classifier scores where available, near- and exact deduplication, then tokenization with the Villanova tokenizer.

Stable phase · 4.0T tokens

Source familySourcesRole
English educational webFineWeb-Edu, DCLM-EduBackbone of the mixture
PDF documentsFinePDFsLong-form, structured text
Multilingual webFineWeb-2, FineWeb2-HQStable share for the four non-English languages
EncyclopedicFineWikiWorld knowledge
MathematicsFineMath, Nemotron-CC-MathQuantitative reasoning
CodeStack-EduCode and technical text
ScienceCommon PileScientific literature
SyntheticNemotron-CC, Nemotron-PretrainingQA, code and reasoning data
Parallel textParallel FineWeb-EduTranslate-aligned segments for IT/ES/DE/FR

The mixture is dominated by English educational web and by the four major non-English languages. Each of Italian, Spanish, German and French draws on three complementary sources (FineWeb-2, FineWeb2-HQ and FinePDFs), so their share stays stable across the whole 4T-token phase.

Annealing · 600B tokens

Curated material replaces most of the long-tail web. New entries: FinePDFs-Edu (educational PDFs in the four languages), Dolma3 (code and mathematics), Dolmino-Mix (FLAN-style instruction text), Common Pile StackExchange (technical Q&A), GitHub issues and Kaggle notebooks (code-adjacent text) and the top mathematical tiers (FineMath-4+, InfiWebMath-4+). FineWeb-Edu, DCLM-Edu, FinePDFs, FineWeb2-HQ and FineWiki are up-weighted, with the web sources restricted to their highest-quality tiers.

Long context · 100B tokens

Two 50B-token tiers. The 32k tier mixes the annealing mixture with long DCLM-Edu documents and 12k+ parallel FineWeb-Edu segments; the 128k tier adds pre-1929 books, long scientific PDFs from Dolma 3 and a 128k+ educational slice. Short documents preserve what the previous stages learned.


Tokenizer

Villanova2 ships a 131,072-token BPE tokenizer built from scratch around the five project languages and code, instead of inheriting a 256k vocabulary spread across 35+ European languages.

ParameterValue
AlgorithmByte-Pair Encoding (BPE)
Pre-tokenizationLlama-3 rules
Vocabulary131,072 tokens (model embedding: 130,816 rows)
Max token length128
Minimum frequency8
Training corpus~127 GB · 49 languages · 14 programming languages
Language mixEnglish ~44% · five core languages ~83% · Python ~2.2%
Training112 CPUs, 2 TB RAM, ~2 hours

The design follows Llama-3 pre-tokenization: English clitics stay separate, digits are grouped in blocks of at most three (so large numbers are never opaque tokens), and indentation and line breaks survive. Against the previous Salamandra tokenizer, it improves fertility by 12% on the core languages and code and by more than 150% on non-Latin scripts, with half the vocabulary.


Evaluation

The protocol is 39 benchmarks, five languages and six reasoning domains, scored 0-shot and 5-shot. Every number is an unweighted flat average over the 39 tasks, using normalized accuracy where available. Per-language aggregates cover all 14 English tasks (GSM8K included), 7 Italian, and 6 each for German, Spanish and French. In the comparison tables, bold marks the best score in each column and underline the best among the open weight & data EU models.

  • English (14): ARC-Challenge, ARC-Easy, Belebele (eng), CommonsenseQA, Global MMLU (en), Global PIQA (en), GSM8K, HellaSwag, MMLU, OpenBookQA, PIQA, SciQ, WinoGrande, XNLI (en).
  • Italian (7): ARC-IT, Belebele (ita), EVALITA MP-MC, Global MMLU (it), Global PIQA (it), HellaSwag-IT, XCOPA-IT.
  • German (6): ARC-DE, Belebele (deu), Global MMLU (de), Global PIQA (de), HellaSwag-DE, XNLI (de).
  • Spanish (6): ARC-ES, Belebele (spa), Global MMLU (es), Global PIQA (es), HellaSwag-ES, XNLI (es).
  • French (6): ARC-FR, Belebele (fra), Global MMLU (fr), Global PIQA (fr), HellaSwag-FR, XNLI (fr).

Overall: the strongest European model strictly below 3B

ModelOpennessOriginParams5-shot0-shotENITDEESFR
Ministral-3-3B-Base-2512weightEU3.4B69.2663.9473.6768.6165.9467.3764.95
Mistral-7B-v0.3weightEU7.2B65.0558.2670.5263.0160.9962.9060.85
DeepSeek-V2-Liteweightnon-EU15.7B / 2.4B61.7355.0868.2259.5256.4159.5956.66
Villanova2-2B-Baseweight & dataEU2.4B61.5656.1663.9161.4759.4261.1558.73
OLMo-3-7Bweight & datanon-EU7.3B61.1354.3771.7353.8754.4056.9755.74
salamandra-7bweight & dataEU7.8B58.1353.1059.7958.8456.0758.2255.40
Villanova-2B-Base-2603weight & dataEU2.4B52.2846.9955.0952.4350.4751.2448.38
Minerva-7B-baseweight & dataEU7.4B50.3047.3659.5855.9937.1843.0942.32
EuroLLM-1.7Bweight & dataEU1.7B44.7043.5447.0344.4944.1943.5441.23
salamandra-2bweight & dataEU2.3B43.8342.7647.5442.6642.2241.7040.30

Openness: weight = open weights only; weight & data = open weights plus documented training data. EN · IT · DE · ES · FR are the per-language 5-shot averages.

In-context learning is worth +5.40 points for Villanova2-2B-Base (56.16 → 61.56).

Per-language profile

Language5-shotΔ vs English
English63.91n/a
Italian61.47−2.44
Spanish61.15−2.76
German59.42−4.49
French58.73−5.18

The five languages sit within 5.2 points of each other: English first, then Italian, Spanish, German and French.

Italian is the strongest non-English language at 61.47, only 2.44 points below English and the axis where the project's data investment is most visible: 44.44% on EVALITA MP-MC.

Long context: a window of 131,072, a measured curve

Model4k8k16k32k64k128kECE
Llama-3.1-8B93.191.290.384.780.966.416,384
Qwen3-8B-Base93.092.791.286.7——32,768
Qwen3-4B-Base92.591.786.481.3——16,384
Mistral-7B-v0.392.187.8————8,192
OLMo-3-7B91.685.277.670.7——4,096
EuroLLM-22B91.085.280.773.2——4,096
Qwen3.5-9B-Base89.987.786.987.6——32,768
Villanova2-15B-A3B-Base92.190.186.679.671.058.516,384
Villanova2-2B-Base83.076.570.060.153.437.3< 4k
Villanova-2B-Base-260373.363.652.847.0———

Effective context length (ECE) is the longest length at which the mean RULER score stays at or above the RULER pass mark, the 4K score of the Llama-2-7B reference model (85.6 here). By that strict definition, Villanova2-2B-Base does not have an effective 4k context: its 4k score is 83.0. What the curve does show is a monotone, smooth decay rather than a cliff: single-needle retrieval is solved at 4k–8k (98–100%), multi-key retrieval and code-word extraction are where the capacity runs out, and at 4k/8k/16k the model is 9.7 / 12.9 / 17.2 points above the previous generation. Treat 4k–8k as the reliable zone, 16k–32k as usable with care, and 128k as an available-but-lossy window.

Fine-tuning

  • Start from this checkpoint for continued pre-training, domain adaptation, or SFT.
  • Full fine-tuning of 2.4B parameters is feasible on a single 8×GPU node with BF16 and activation checkpointing; LoRA/QLoRA is enough for style and task adaptation.
  • Use the Villanova tokenizer, not a foreign one: replacing it invalidates the embedding budget and the fertility gains.
  • Recommended SFT sequence length: 4k–8k. If you need longer, fine-tune at the target length rather than extrapolating from 4k.
  • The model was trained in MXFP8; BF16 fine-tuning is numerically safe and is the recommended default.

License, citation, acknowledgements

License. Apache 2.0.

Citation. If you use Villanova2-2B-Base, please cite our work

@techreport{villanova2_2026,
  title       = {Villanova2 --- Technical Report},
  author      = {{Villanova.AI}},
  institution = {Villanova.AI},
  year        = {2026},
  note        = {Coming soon}
}

Acknowledgements. This work is part of the Villanova project, financed by IPCEI-CIS, Prog. n. SA. 102519 — CUP B29J24000850005.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Ревизия весов
c8548d0

0 моделей