/ Модель

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

Контекст
8 192 токена
Параметры
608 млн
Лицензия
MIT
Архитектура
eurobert · dense
Базовая модель
EuroBERT-610m
Опубликована
18 мая 2025

lettucedect-610m-eurobert-it-v1

Заполнение пропусковТекст → текст5 профессий

Модель для выделения неподтверждённых контекстом фрагментов итальянских ответов в RAG-системах.

102скачиваний за 30 дней0лайковвеса обновлены22 июл 2026

Бенчмарки

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

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

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

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

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

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

LettuceDetect Italian — модель KRLabsOrg для выявления галлюцинаций в системах RAG. Она дообучена на EuroBERT-610M и принимает контекст вместе с ответом на итальянском языке, отмечая на уровне токенов фрагменты ответа, не подтверждённые контекстом; предсказания можно объединить в непрерывные интервалы для проверки и анализа. Модель содержит 607,8 млн параметров, поддерживает контекст до 8192 токенов и использует архитектуру EuroBERT для классификации токенов.

Модель предназначена для проверки ответов RAG по документам, в том числе для локализации неподтверждённых утверждений. В оценке на переведённом наборе RAGTruth-IT авторы сообщают F1 74,71% для версии 610M. Это результат на конкретном тестовом наборе, и он не гарантирует такое же качество на других данных. Для использования требуется совместимая версия Transformers: README предупреждает о несовместимости загружаемого удалённого кода EuroBERT с Transformers 5.x. Лицензия модели — MIT.

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

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

Ограничения

Заявленная метрика F1 74,71% получена на переведённом наборе RAGTruth-IT и может не переноситься на другие данные. Удалённый код EuroBERT из карточки несовместим с Transformers 5.x.

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

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

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

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

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

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

Открыть на Hugging Face

LettuceDetect: Italian Hallucination Detection Model

Note: this model loads EuroBERT remote code that is not yet compatible with transformers 5.x. Install pip install "transformers>=4.48.3,<5" to use it (see LettuceDetect#33).

Model Name: KRLabsOrg/lettucedect-610m-eurobert-it-v1 Organization: KRLabsOrg
Github: https://github.com/KRLabsOrg/LettuceDetect

Overview

LettuceDetect is a transformer-based model for hallucination detection on context and answer pairs, designed for multilingual Retrieval-Augmented Generation (RAG) applications. This model is built on EuroBERT-610M, which has been specifically chosen for its extended context support (up to 8192 tokens) and strong multilingual capabilities. This long-context capability is critical for tasks where detailed and extensive documents need to be processed to accurately determine if an answer is supported by the provided context.

This is our Italian large model utilizing EuroBERT-610M architecture

Model Details

  • Architecture: EuroBERT-610M with extended context support (up to 8192 tokens)
  • Task: Token Classification / Hallucination Detection
  • Training Dataset: RagTruth-IT (translated from the original RAGTruth dataset)
  • Language: Italian

How It Works

The model is trained to identify tokens in the Italian answer text that are not supported by the given context. During inference, the model returns token-level predictions which are then aggregated into spans. This allows users to see exactly which parts of the answer are considered hallucinated.

Usage

Installation

Install the 'lettucedetect' repository

pip install lettucedetect

Using the model

from lettucedetect.models.inference import HallucinationDetector

# For a transformer-based approach:
detector = HallucinationDetector(
    method="transformer", 
    model_path="KRLabsOrg/lettucedect-610m-eurobert-it-v1",
    lang="it",
    trust_remote_code=True
)

contexts = ["La Francia è un paese in Europa. La capitale della Francia è Parigi. La popolazione della Francia è di 67 milioni."]
question = "Qual è la capitale della Francia? Qual è la popolazione della Francia?"
answer = "La capitale della Francia è Parigi. La popolazione della Francia è di 69 milioni."

# Get span-level predictions indicating which parts of the answer are considered hallucinated.
predictions = detector.predict(context=contexts, question=question, answer=answer, output_format="spans")
print("Previsioni:", predictions)

# Previsioni: [{'start': 37, 'end': 83, 'confidence': 0.9798352718353271, 'text': ' La popolazione della Francia è di 69 milioni.'}]

Performance

Results on Translated RAGTruth-IT

We evaluate our Italian models on translated versions of the RAGTruth dataset. The EuroBERT-610M Italian model achieves an F1 score of 74.71%, significantly outperforming prompt-based methods like GPT-4.1-mini (61.06%) with a substantial improvement of +13.65 percentage points.

For detailed performance metrics, see the table below:

LanguageModelPrecision (%)Recall (%)F1 (%)GPT-4.1-mini F1 (%)Δ F1 (%)
ItalianEuroBERT-210M60.5772.3265.9361.06+4.87
ItalianEuroBERT-610M76.6772.8574.7161.06+13.65

The 610M model offers substantially better performance with nearly 9 percentage points improvement in F1 score compared to the 210M model. It particularly excels in precision, with a 76.67% precision rate that significantly reduces false positive hallucination detections.

Citing

If you use the model or the tool, please cite the following paper:

@misc{Kovacs:2025,
      title={LettuceDetect: A Hallucination Detection Framework for RAG Applications}, 
      author={Ádám Kovács and Gábor Recski},
      year={2025},
      eprint={2502.17125},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.17125}, 
}

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

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

GPU в ailist

Универсальный рантайм · fill-mask

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

Подбираем GPU…

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

0 моделей