#466 · Primary category: Education & Research
languagemodels
Explore large language models in 512MB of RAM
Project last updated:02/19/26
GitHub Stars
1.2K
Forks
80
Contributors
4
License
MIT
Why we included this project
This Python package is built for people who want to try large language models without a GPU or a big machine. It runs comfortably in 512MB of RAM, and instead of configuring a heavy transformer stack you call simple functions like lm.do(), lm.complete(), and lm.get_wiki() for instruction following, text completion, and basic retrieval. The author wrote it with learners and educators in mind, and the bundled examples, a CLI chatbot, a Streamlit chat app, and semantic search over documents, are enough to build something real in an afternoon. It also shows useful techniques like int8 quantization and the CTranslate2 backend for fast CPU inference, and you can raise the memory limit to move up to larger models as you get comfortable. If you are teaching LLM concepts or just want to prototype small local inference without a GPU, this is a solid place to start.
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