
local-llm
A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.
It provides a fully local, free alternative to cloud-based Q&A services, emphasizing privacy and customizability with open-source components.
An AI-powered Retrieval-Augmented Generation (RAG) application that answers questions using your own documents instead of relying only on the language model's knowledge. The system processes PDF, TXT, and Markdown files, retrieves the most relevant document sections using semantic search, and generates accurate responses with Qwen2.5.
Documents (PDF / TXT / MD)
│
▼
Document Chunking
│
▼
Sentence Transformer Embeddings
│
▼
FAISS Vector Database
│
▼
User Question
│
▼
Semantic Similarity Search
│
▼
Top Relevant Document Chunks
│
▼
Qwen2.5 Instruction Model
│
▼
Context-Aware AI Response
rag-document-qa
│
├── src
│ ├── ingest.py
│ ├── rag_pipeline.py
│ └── evaluate.py
│
├── requirements.txt
├── README.md
└── documents/
Clone the repository
git clone https://github.com/yourusername/rag-document-qa.git
Move to the project folder
cd rag-document-qa
Create a virtual environment
python -m venv venv
Activate it
venv\Scripts\activate
source venv/bin/activate
Install dependencies
pip install -r requirements.txt
python src/ingest.py
python src/rag_pipeline.p
AI-powered Retrieval-Augmented Generation (RAG) Document Q&A system using LangChain, FAISS, Sentence Transformers, and Qwen2.5 to answer questions from PDF, TXT, and Markdown documents with accurate, context-aware responses.
Similar projects matched by category, topics, and programming language.

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.
Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.