Skip to main content
← Back to Liquid Nanos
This model is deprecated. For generation, use LFM2.5-1.2B-Instruct. For retrieval, pair it with LFM2.5-Embedding-350M or LFM2.5-ColBERT-350M as part of your RAG pipeline.
LFM2-1.2B-RAG is optimized for answering questions grounded in provided context documents. It excels at extracting relevant information from retrieved documents while avoiding hallucination.

Specifications

Document Q&A

Answer from retrieved docs

Knowledge Base

Query internal knowledge

Grounded Answers

Reduce hallucination

Prompting Recipe

Use temperature=0 (greedy decoding) for best results. Provide relevant documents in the system prompt.
System Prompt Format:

Quick Start

Install:
Run: