You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Villanova.AI

Villanova2-15B-A3B-Base

15.5B total parameters · 3.9B active · 4.7T tokens · 131,072-token context · five European languages · open weight & data

A sparse mixture-of-experts foundation model, trained from scratch on English, Italian, German, Spanish and French. Built in EU, for EU.

15.496B total, 3.936B active 4.7T tokens 131k context 5 languages open weight & data Apache 2.0

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


Property Value
Model type Sparse mixture-of-experts decoder, Qwen3-Next hybrid backbone
Total parameters 15,496,409,024 (15.496B)
Active parameters per token 3,935,858,624 (3.936B)
Non-embedding parameters 14.827B total / 3.266B active
Vocabulary 131,072-token BPE tokenizer · 130,816 embedding rows, untied input/output
Context window 131,072 tokens
Openness open weight & data: model weights under Apache 2.0; training data documented source by source, each dataset under its own terms
Languages English, Italian, German, Spanish, French (partial support beyond these)
License Apache 2.0

Quick start

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "VillanovaAI/Villanova2-15B-A3B-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-15B-A3B.


Intended use

Good fit Not a good fit without extra work
Continued pre-training and domain adaptation Direct deployment as a chat assistant
SFT / preference tuning into assistants and task models Safety-critical or high-stakes decisions
Few-shot text completion in EN · IT · DE · ES · FR Reliable arithmetic or multi-step math
Research on small, multilingual, long-context models Languages 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-15B-A3B-Base is a different league of model.

Villanova-2B-Base-2603 Villanova2-15B-A3B-Base
Parameters 2.4B dense 15.496B MoE, 3.936B active
Training tokens 4.4T 4.7T
Context window 32,768 131,072
Tokenizer Salamandra, 256k Villanova, 131k
39-benchmark avg (5-shot) 52.28 73.21
RULER @ 4k 73.3 92.1
RULER @ 16k 52.8 86.6
RULER @ 32k 47.0 79.6

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 feature Value
Backbone Qwen3-Next hybrid Gated DeltaNet / gated-attention decoder
Layers 28 (21 linear-attention + 7 full-attention, one full layer every four)
Hidden dimension 2,560
Full attention GQA, 20 Q heads / 4 KV groups (5:1 compression), head dim 256
Linear attention Gated DeltaNet, 16 key heads / 32 value heads, head dim 128, 1D conv (kernel 4)
FFN activation SwiGLU
Routed experts 64 experts, intermediate dimension 960, top-8 per token (12.5% of the pool)
Shared expert 1 always-on expert, intermediate dimension 1,920
RoPE Partial, applied to the first 25% of the head dimension
Embedding rows 130,816 (tokenizer vocabulary: 131,072)
Tied embeddings No
Total parameters 15,496,409,024
Active parameters per token 3,935,858,624

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.

Stage Tokens (cumulative) Seq. length Global batch Learning rate
Stable pre-training 0 → 4.0T 4,096 1,024 → 2,048 3.00 × 10⁻⁴ (constant)
Annealing 4.0T → 4.6T 4,096 2,048 3.00 → 0.75 × 10⁻⁴
Long context · 32k 4.6T → 4.65T 32,768 256 0.75 → 0.38 × 10⁻⁴
Long context · 128k 4.65T → 4.7T 131,072 64 0.38 → 0 × 10⁻⁴
Total 4.7T

The global batch starts at 1,024 sequences (~4.19M tokens per step) for gradient stability, then doubles to 2,048 (~8.39M tokens per step) for the rest of the stable budget. Tokens per optimizer step then stay fixed at ~8.39M (2,048 × 4,096 = 256 × 32,768 = 64 × 131,072): growing the context changes sequence length and batch composition, never the data seen per update.

The annealing cooldown is linear against a virtual 4.8T-token horizon, so the rate at 4.6T is 0.75 × 10⁻⁴, not zero. The two long-context tiers continue from there to zero at 4.7T.

Learning-rate schedule of Villanova2-15B-A3B-Base across pre-training, annealing and the two long-context tiers

Compute

  • 64 NVIDIA B200 GPUs across 8 nodes: ~88,000 GPU-hours.
  • ≈ 4.3 × 10²³ training FLOPs (6ND estimate on the 15.496B footprint).
  • 4.7T tokens on a 15.496B model: ~303 tokens per total parameter, ~1,194 per active 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 family Sources Role
English educational web FineWeb-Edu, DCLM-Edu Backbone of the mixture
PDF documents FinePDFs Long-form, structured text
Multilingual web FineWeb-2, FineWeb2-HQ Stable share for the four non-English languages
Encyclopedic FineWiki World knowledge
Mathematics FineMath, Nemotron-CC-Math Quantitative reasoning
Code Stack-Edu Code and technical text
Science Common Pile Scientific literature
Synthetic Nemotron-CC, Nemotron-Pretraining QA, code and reasoning data
Parallel text Parallel FineWeb-Edu Translate-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.

Parameter Value
Algorithm Byte-Pair Encoding (BPE)
Pre-tokenization Llama-3 rules
Vocabulary 131,072 tokens (model embedding: 130,816 rows)
Max token length 128
Minimum frequency 8
Training corpus ~127 GB · 49 languages · 14 programming languages
Language mix English ~44% · five core languages ~83% · Python ~2.2%
Training 112 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.

The full 39-benchmark suite
  • 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 sparse model, and competitive with models twice its size

5-shot comparison on 39 benchmarks
Model Openness Origin Params 5-shot 0-shot EN IT DE ES FR
gemma-4-26B-A4B weight non-EU 26B / 3.8B 76.21 70.34 78.66 77.65 73.36 75.26 72.61
Qwen3-14B-Base weight non-EU 14.8B 75.56 69.98 79.68 76.16 71.49 73.71 71.15
Qwen3-30B-A3B-Base weight non-EU 30.5B / 3.3B 75.53 69.88 79.88 76.68 71.29 72.94 70.87
Qwen3.5-9B-Base weight non-EU 9.7B 74.81 69.31 78.60 75.29 71.19 73.09 70.74
Nemotron-3-Nano weight & data non-EU 31.6B / 3.2B 74.79 69.77 79.01 75.54 69.78 73.45 70.42
Ministral-3-8B-Base weight EU 8.4B 74.29 68.45 77.27 74.79 71.70 73.37 70.24
Apertus-v1.5-70B-base weight & data non-EU 71.9B 73.53 66.44 76.56 74.34 70.02 71.99 70.57
Villanova2-15B-A3B-Base weight & data EU 15.5B / 3.9B 73.21 67.74 75.37 74.13 70.36 72.16 70.98
Apertus-70B weight & data non-EU 70.6B 73.09 65.39 75.74 74.33 70.91 71.12 69.58
Qwen3-8B-Base weight non-EU 8.2B 72.75 66.32 78.21 73.43 66.23 70.38 68.13
ALIA-40b weight & data EU 40.4B 71.31 61.68 73.95 72.21 68.34 70.50 67.90
EuroLLM-22B weight & data EU 22.6B 70.61 63.56 73.43 71.54 68.43 69.06 66.68
LFM2.5-24B-A2B-Base weight non-EU 24B / 2.5B 68.46 60.86 72.92 67.18 64.83 67.33 64.28
Llama-3.1-8B weight non-EU 8.0B 67.25 62.06 72.02 67.19 62.57 65.30 62.82
Moonlight-16B-A3B weight non-EU 16.0B / 2.9B 65.35 58.71 74.61 60.14 57.25 62.80 60.48

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.47 points for Villanova2-15B-A3B-Base (67.74 → 73.21).

Per-language profile

Per-language 5-shot averages: Villanova2-15B-A3B-Base against Qwen3-30B-A3B-Base, Qwen3-14B-Base, Nemotron-3-Nano, Qwen3.5-9B-Base, Ministral-3-8B-Base, Qwen3-8B-Base, EuroLLM-22B and Villanova2-2B-Base
Language 5-shot Δ vs English
English 75.37 n/a
Italian 74.13 −1.24
Spanish 72.16 −3.21
French 70.98 −4.39
German 70.36 −5.01

The five languages sit within 5.0 points of each other. Italian is the strongest non-English language at 74.13.

The gap to the largest competitors is mostly an English gap: on EN the model is 4.5 points behind Qwen3-30B-A3B and 4.3 behind Qwen3-14B-Base.

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

RULER scores from 4k to 128k tokens
Model 4k 8k 16k 32k 64k 128k ECE
Llama-3.1-8B 93.1 91.2 90.3 84.7 80.9 66.4 16,384
Qwen3-8B-Base 93.0 92.7 91.2 86.7 — — 32,768
Qwen3-4B-Base 92.5 91.7 86.4 81.3 — — 16,384
Mistral-7B-v0.3 92.1 87.8 — — — — 8,192
OLMo-3-7B 91.6 85.2 77.6 70.7 — — 4,096
EuroLLM-22B 91.0 85.2 80.7 73.2 — — 4,096
Qwen3.5-9B-Base 89.9 87.7 86.9 87.6 — — 32,768
Villanova2-15B-A3B-Base 92.1 90.1 86.6 79.6 71.0 58.5 16,384
Villanova2-2B-Base 83.0 76.5 70.0 60.1 53.4 37.3 < 4k
Villanova-2B-Base-2603 73.3 63.6 52.8 47.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). The model matches the strongest small dense models at 4k (92.1) and decays smoothly: 79.6 at 32k, 58.5 at 128k, two thirds of the 4k score retained. Among the baselines only Llama-3.1-8B covers the full range; the model trails it by 5.1 points at 32k and decays at the same rate.

By the strict definition the effective context is 16,384 tokens, above the 85.6 threshold through 16k. Beyond it the loss concentrates where distractor interference hurts: single-needle retrieval is still almost fully solved at 128k (85.8–99.6%), while multi-key retrieval falls to 65.8% / 64.0% / 17.4% across the three variants and code-word extraction to 1.1%. Over the previous generation the gain is +18.8 / +26.5 / +33.8 / +32.6 points at 4k / 8k / 16k / 32k. Reliable zone 4k–16k, usable with care 32k–64k, lossy on the hardest retrieval tasks at 128k.

Fine-tuning

  • Start from this checkpoint for continued pre-training, domain adaptation, or SFT.
  • Full fine-tuning of 15.5B total parameters needs multi-node sharding or expert parallelism; LoRA/QLoRA over the attention and shared-expert layers is the practical path for task adaptation on a single node, and is enough for style and format changes.
  • Use the Villanova tokenizer, not a foreign one: replacing it invalidates the embedding budget (0.670B untied parameters) 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 BF16 with FP8 scaling; BF16 fine-tuning is numerically safe and is the recommended default.

License, citation, acknowledgements

License. Apache 2.0.

Citation. If you use Villanova2-15B-A3B-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.

Villanova2-15B-A3B-Base · built in EU, for EU.
Downloads last month
30
Safetensors
Model size
15B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for VillanovaAI/Villanova2-15B-A3B-Base

Finetunes
2 models

Datasets used to train VillanovaAI/Villanova2-15B-A3B-Base

Collection including VillanovaAI/Villanova2-15B-A3B-Base