analyticalrohit/llms-from-scratch
Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.
- Stars
- 385
- Forks
- 90
- Open issues
- 0
- Last push
- 4mo ago
About llms-from-scratch
llms-from-scratch is a free, open-source LLM chat app by analyticalrohit, written mainly in Jupyter Notebook. Build a ChatGPT like LLM from scratch in PyTorch, explained step by step. It has 385 GitHub stars and 90 forks, and was last updated 4mo ago. It's released under the MIT license, a standard open-source license.
- License
- MIT
- Language
- Jupyter Notebook
- Stars
- 385
- Last update
- 4mo ago
- Runs on Mac
- Not stated
- GPU
- Not stated
- Paid API key
- Not stated
- Self-hostable
- Yes
Similar free tools
Hands-On-Large-Language-Models30k stars · Official code repo for the O'Reilly Book - "Hands-On Large Language Models"
gpt4free67k stars · The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3
gpt_academic72k stars · 为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss
repomix29k stars · 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like
FinGPT21k stars · FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
RWKV-LM15k stars · RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable). We are at RWKV-7 "Goose". So it's combining the best of RNN a
llms-from-scratch FAQ
Is llms-from-scratch free?
Yes. llms-from-scratch is open source and free to use. It's released under the MIT license, a standard open-source license.
Does llms-from-scratch run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does llms-from-scratch need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is llms-from-scratch still maintained?
It was last updated 4mo ago. Check recent issues on GitHub to judge how active it is.
What are alternatives to llms-from-scratch?
Similar free, open-source tools include Hands-On-Large-Language-Models, gpt4free, gpt_academic, repomix.