/ Модель

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

Контекст
4 096 токенов
Параметры
438 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
zagreus-0.4B-ita
Библиотека
transformers
Опубликована
18 янв 2026

nesso-0.4B-instruct

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

Компактная итальянско-английская чат-модель на 437,7 млн параметров для генерации текста и выполнения инструкций на периферийных устройствах.

33скачиваний за 30 дней3лайкавеса обновлены3 мар 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Nesso-0.4B-Instruct — компактная плотная языковая модель семейства Llama, разработанная сообществом mii-llm (Made in Italy – Large Language Model). Это версия Zagreus-0.4B-ita, прошедшая supervised fine-tuning для диалогов и следования инструкциям. Модель содержит 437,7 млн параметров, принимает текст и генерирует текст; использует шаблон чата ChatML и контекст до 4096 токенов.

Модель рассчитана на диалоговые и инструкционные сценарии на итальянском и английском языках, в том числе на запуск с ограниченными вычислительными ресурсами и на периферийных устройствах. В представленных авторами сравнительных оценках она показывает сильные результаты по следованию инструкциям на английском и по HellaSwag на итальянском, но уступает Qwen3-0.6B по MMLU на обоих языках. Обучение DPO заявлено как запланированный этап, поэтому результаты относятся к текущей версии SFT. Распространяется по лицензии Apache-2.0.

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

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

Ограничения

Модель находится на стадии SFT; обучение DPO только запланировано. По приведённым оценкам она уступает Qwen3-0.6B по MMLU на английском и итальянском.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Nesso-0.4B-Instruct

Nesso-0.4B-Instruct is a bilingual English/Italian Small Language Model (SLM) optimized for conversational and instruction-following use cases. It is post-trained on top of Zagreus-0.4B-ita, a foundational model trained from scratch by the mii-llm community (Made in Italy – Large Language Model) on the Seeweb HPC infrastructure.

Designed for sovereign edge inference, Nesso-0.4B-Instruct delivers competitive instruction-following performance in both Italian and English at a fraction of the compute cost of larger models.

⚠️ This model is currently at the SFT (Supervised Fine-Tuning) stage. DPO (Direct Preference Optimization) training is planned and updated results will be published upon completion.


Model Details

PropertyValue
ArchitectureModified Llama-3.2 (fully dense)
Parameters~400M
Hidden size960
Layers32
Attention heads15 (KV heads: 5)
Context length4096 tokens
TokenizerLlama-3.2 (vocab_size: 128,256)
PrecisionBF16
LanguagesEnglish, Italian
Base modelmii-llm/zagreus-0.4B-ita
Post-training frameworkAxolotl + FSDP
Chat templateChatML

Training Details

Base Model Pre-training

Nesso-0.4B-Instruct is built on Zagreus-0.4B-ita, which was pre-trained on approximately 1 trillion tokens using the following data mix:

DatasetDescription
FineWeb (350BT sample)~350B tokens of English web text
FineWeb-2 (ita_Latn)Italian web text
FinePDFs (ita_Latn)Italian PDF documents
StarCoder Data~250B tokens of code

Token distribution: ~400B English + ~400B Italian + ~200B Code
Infrastructure: 64× NVIDIA A100 GPUs (8 nodes × 8 GPUs) on Seeweb HPC
Framework: Nanotron (mii-llm fork)

Post-training (SFT)

Post-training was performed using Axolotl with FSDP across 4 nodes (32× A100 GPUs).

The instruction dataset is a proprietary bilingual (English/Italian) corpus curated by the mii-llm team, with long-term iteration across domains including instruction following, conversational AI, and general knowledge. This dataset is considered a strategic research asset and is not released as open source.

Key hyperparameters:

HyperparameterValue
OptimizerAdamW (fused)
Learning rate1e-3
LR schedulerCosine (constant ratio: 0.8, min ratio: 0.3)
Epochs3
Micro batch size1
Gradient accumulation steps8
Sequence length4096
Max grad norm1.0
PrecisionBF16 + Flash Attention
FSDP strategyFULL_SHARD

Chat Template

This model uses the ChatML format:

<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Ciao! Come stai?<|im_end|>
<|im_start|>assistant

Special tokens:

  • pad_token: <|im_end|>
  • eos_token: <|im_end|>

Usage

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "mii-llm/nesso-0.4B-instruct"

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

messages = [
    {"role": "system", "content": "Sei un assistente utile e preciso."},
    {"role": "user", "content": "Spiegami cos'è un modello linguistico di grandi dimensioni."}
]

input_ids = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt"
).to(model.device)

output = model.generate(
    input_ids,
    max_new_tokens=512,
    temperature=0.7,
    do_sample=True
)

print(tokenizer.decode(output[0][input_ids.shape[-1]:], skip_special_tokens=True))

Evaluation

Evaluation Commands

# Italian benchmarks
lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks m_mmlu_it --num_fewshot 5 --device cuda:0 --batch_size 1

lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks hellaswag_it,arc_it --device cuda:0 --batch_size 1

lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks ifeval-ita --device cuda:0 --batch_size 1

# English benchmarks
lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks mmlu --num_fewshot 5 --device cuda:0 --batch_size 1

lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks hellaswag,arc --device cuda:0 --batch_size 1

lm-eval --model hf --model_args pretrained=mii-llm/nesso-0.4B-instruct \
  --tasks ifeval --device cuda:0 --batch_size 1

Results

English Benchmarks

ModelIFEval EN ↑ARC EN ↑HellaSwag EN ↑MMLU EN ↑Avg EN
Qwen/Qwen3-0.6B0.27580.34300.47420.40130.3736
Nesso-0.4B-instruct0.34650.30030.46290.28710.3492
LiquidAI/LFM2-350M0.15950.24570.30920.34450.2647

Italian Benchmarks

ModelIFEval IT ↑ARC IT ↑HellaSwag IT ↑MMLU IT ↑Avg IT
Qwen/Qwen3-0.6B0.30580.27290.35980.40250.3353
Nesso-0.4B-instruct0.29620.28740.40760.28750.3197
LiquidAI/LFM2-350M0.14270.24640.29940.31320.2504

Overall

ModelAvg ENAvg ITOverall
Qwen/Qwen3-0.6B0.37360.33530.3545
Nesso-0.4B-instruct0.34920.31970.3345
LiquidAI/LFM2-350M0.26470.25040.2576

Discussion

Nesso-0.4B-Instruct achieves the highest IFEval English score (0.3465) among all compared models — including the larger Qwen3-0.6B — demonstrating strong instruction-following capability. On Italian HellaSwag, it also leads with 0.4076.

Qwen3-0.6B maintains a clear advantage on MMLU in both languages. MMLU is a widely used benchmark that is frequently represented in training corpora; we believe our results nonetheless demonstrate a highly competitive SLM for English/Italian edge deployment scenarios.


Related Models

ModelDescription
Zagreus-0.4B-itaBase pre-trained model (this model's foundation)
Nesso-0.4B-agenticOptimized for function calling and agentic tasks
Open-Zagreus-0.4BFully open-source SFT variant

Citation

If you use this model in your research, please cite:

@misc{nesso2025,
  title        = {The Joy and Pain of Training an LLM from Scratch:
                  A Technical Report on the Zagreus and Nesso Model Families},
  author       = {mii-llm community},
  year         = {2025},
  howpublished = {\url{https://github.com/mii-llm/zagreus-nesso-slm}},
}

Acknowledgements

  • Antonio Baldassarra (CEO, Seeweb) and Marco Cristofanilli (Head of AI, Seeweb) for infrastructure sponsorship
  • The Hugging Face team for Nanotron, datatrove, FineWeb, and FineWeb-2
  • The mii-llm open-source community

License

Released under the Apache 2.0 license.

Made with ❤️ in Italy by mii-llm

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей