β All models Β· FLAN-T5-small
Multi-model Β· MiniLM + FLAN-T5 Β· WASM
A closed-book model can't know your documents. So do what production RAG does, but entirely in the tab: MiniLM embeds your question and every snippet and finds the closest match; FLAN-T5 then reads only that snippet and answers from it. Two small models, one private pipeline β no server, no API key.
Step 1 Β· MiniLM retrieved (by cosine similarity):
Step 2 Β· FLAN-T5 answer from that context:
FLAN-T5 is strong at using text you give it, but it has almost no world knowledge baked in at 80M params β ask it a fact and it guesses. Embeddings fix that: they fetch the relevant snippet so the generator only has to read and rephrase, not remember. That division of labour β retriever finds, generator answers β is the core of every RAG system, here running fully offline.