mrdbourke/simple-local-rag resource
Build a RAG (Retrieval Augmented Generation) pipeline from scratch and have it all run locally. observed · 2026-08-28
Health v2 · maintenance only
25/100
- Activity 0
- Release rhythm 35
- Longevity 64
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 903
- days_rel: n/a
- days_push: 830
- n_releases_24m: 0
Adoption not part of the score
1011 stars · 303 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tutorial repository by mrdbourke teaching how to build a retrieval-augmented generation (RAG) pipeline from scratch that runs entirely locally on an NVIDIA GPU. It walks through PDF ingestion, chunking, embedding with sentence transformers, semantic search, and LLM-based answer generation, culminating in a 'chat with PDF' style app called NutriChat.
Use cases
- build a rag pipeline from scratch
- chat with pdf documents locally
- learn how retrieval augmented generation works
- run an llm question answering system on my own gpu
- embed pdf text and search it semantically
- follow a hands-on rag tutorial with jupyter notebooks
When to choose
- you want to learn RAG concepts by building a complete pipeline yourself
- you have an NVIDIA GPU (5GB+ VRAM) or Google Colab access and want everything running locally without paid APIs
- you prefer open-source tools like PyTorch, sentence-transformers, and open LLMs over proprietary services
When to avoid
- you need a production-ready, maintained RAG framework rather than educational notebook code
- you have no NVIDIA GPU and cannot use Colab
- you need a polished application with setup docs and support - the repo has incomplete setup instructions and no license
Facets
learning-resource · maturity active
rag llm-inference pdf machine-learning nlp large-language-models tutorials artificial-intelligence pdf python cross-platform tutorial jupyter-notebook chat-with-pdf local-llm sentence-transformers pytorch open-source-llm retrieval-augmented-generation gpu
1 source
- readme: https://github.com/mrdbourke/simple-local-rag · fetched 2026-08-28 · 4e8580ba0975
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mrdbourke/simple-local-rag | main | 25 |
For agents
markdown · JSON · MCP: product_card(name="mrdbourke/simple-local-rag")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem