Overview of LettuceDetect features
mainLettuceDetect is a lightweight framework designed for detecting unsupported spans in LLM-generated answers in RAG applications.
Key Capabilities:
- Token-level precision: Identifies exact hallucinated spans rather than just flagging an entire answer.
- Typed spans (v2): Categorizes hallucinations with specific categories and subcategories.
- Broad domain support: v2 models support code, tool output, and agentic workflows.
- High performance: Capable of 30-60 samples/sec on an A100 GPU.
- Long context: Supports up to 4K tokens (ModernBERT) or 8K tokens (EuroBERT).
- Multilingual: Supports English, German, French, Spanish, Italian, Polish, Chinese, and Hungarian.