#711 · Primary category: Education & Research
Llama-2-Open-Source-LLM-CPU-Inference
Running Llama 2 and other Open-Source LLMs on CPU Inference Locally for Document Q&A
Project last updated:11/06/23
GitHub Stars
971
Forks
206
Contributors
4
License
MIT
Why we included this project
GPU costs and data-residency rules are the usual reasons teams end up wanting their own document Q&A, and this project shows a workable version running on CPU. It takes a quantized Llama 2 chat model through C Transformers and GGML, embeds documents with Sentence-Transformers into a FAISS vector store, and ties the pieces together with LangChain so you can ask natural-language questions over your own files. The code is small and split into focused files, which makes it a solid reference for teams checking whether CPU-only inference is realistic for private retrieval. The step-by-step guide linked in the README explains each piece along the way, so it works as a learning resource for anyone still getting comfortable with how retrieval and generation fit together.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI