RAGatouille, a simple lib to use&train top retrieval models in RAG apps
Hey HN! If you’re at all interested in LLMs/LLM-apps, you’ve probably heard of RAG: Retrieval-Assisted Generation, i.e. retrieving relevant documents to give to your LLM as context to answer user queries. Today, I’m releasing RAGatouille v0.0.1, whose aim is to make it as easy as can be to improve your RAG pipelines by leveraging state-of-the-art Information Retrieval research. As of right now, there’s quite a big gap between common everyday practice and the IR literature, and a lot of the gap is because there just aren’t good ways to quickly try out and leverage SotA IR techniques.…
In plain words
RAGatouille is a Python library that simplifies implementing advanced retrieval models in RAG applications. It focuses on making state-of-the-art information retrieval techniques accessible by integrating methods like ColBERT, which excel at retrieving relevant documents for language model context. The library targets developers building LLM applications who want to improve their RAG pipelines without the complexity of directly applying academic research. It bridges the gap between common retrieval practices and cutting-edge IR techniques, with plans to expand support for additional methods.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hey HN! If you’re at all interested in LLMs/LLM-apps, you’ve probably heard of RAG: Retrieval-Assisted Generation, i.e. retrieving relevant documents to give to your LLM as context to answer user queries. Today, I’m releasing RAGatouille v0.0.1, whose aim is to make it as easy as can be to improve your RAG pipelines by leveraging state-of-the-art Information Retrieval research. As of right now, there’s quite a big gap between common everyday practice and the IR literature, and a lot of the gap is because there just aren’t good ways to quickly try out and leverage SotA IR techniques. RAGatouille aims to contribute to that problem! We do have a bit of a roadmap to support more IR papers, like UDAPDR [1], but for now, we focus on integrating ColBERT[2]/ColBERTv2[3], super strong retrieval methods, who are particularly good at generalising to new data (i.e.e your dataset!) RAGatouille can train&fine-tune ColBERt models, index documents and search those indexes, in just a few lines of code. We also include an example in the repo on how to use GPT-4 to create fine-tuning data when you don’t have any annotated user queries, which works really well in practice. Feel free to also check out the thread and discussion on Twitter/X[4] if you're interested! I hope some of you find this useful, and please feel free to reach out and report any bugs, this is essentially a beta release and any feedback would be much appreciated. [1] https://arxiv.org/abs/2303.00807 [2] https://arxiv.org/abs/2004.12832 [3] https://arxiv.org/abs/2112.01488 [4] https://twitter.com/bclavie/status/1742950315278672040
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 26d ago · cactuscompute.com


Launched alongside, January 2024
the whole month →



- IM
Life & fun · 2024 · sitinshade.com
