该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆385Aug 28, 2025Updated 7 months ago
Alternatives and similar repositories for Building-a-Small-LLM-from-Scratch
Users that are interested in Building-a-Small-LLM-from-Scratch are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 一个手把手教你从零开始编写GPT并训练大语言模型的教程☆96Jan 20, 2025Updated last year
- Building DeepSeek R1 from Scratch☆751Mar 21, 2025Updated last year
- convert GitHub issues to a website☆28Mar 2, 2026Updated 3 weeks ago
- [AAAI 2022 Oral] This is a Pytorch implementation of the AAAI 2022 paper "Cross-Domain Empirical Risk Minimization for Unbiased Long-tail…☆33Feb 17, 2022Updated 4 years ago
- LLM notes, including model inference, transformer model structure, and llm framework code analysis notes.☆872Mar 14, 2026Updated 2 weeks ago
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- The Code for Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models☆18Oct 4, 2024Updated last year
- ☆134Feb 17, 2025Updated last year
- Large Language Model in Action☆343Jan 28, 2025Updated last year
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch☆38Jul 1, 2024Updated last year
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆6,825Mar 8, 2026Updated 3 weeks ago
- LLMs-from-scratch项目中文翻译☆2,477Oct 15, 2025Updated 5 months ago
- An official repo for WACV 2025 paper "LLaVA-SpaceSGG: Visual Instruct Tuning for Open-vocabulary Scene Graph Generation with Enhanced Spa…☆26Jan 27, 2025Updated last year
- 企业级RAG系统从入门到精通☆657Jun 25, 2025Updated 9 months ago
- [CVPR'2022 Oral] The Devil is in the Labels: Noisy Label Correction for Robust Scene Graph Generation☆32Oct 19, 2023Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- DeepSeek 系列工作解读、扩展和复现。☆712Mar 9, 2026Updated 2 weeks ago
- Quadra: Effortless and reproducible deep learning workflows with configuration files.☆50Feb 23, 2026Updated last month
- [NeurIPS 2023] Zero-shot Visual Relation Detection via Composite Visual Cues from Large Language Models☆22Oct 21, 2025Updated 5 months ago
- A book for Learning the Foundations of LLMs☆15,951Dec 12, 2025Updated 3 months ago
- A list of papers about concept bottleneck models (CBMs)☆22Nov 12, 2025Updated 4 months ago
- Code for the article series on building a Python compiler and interpreter☆11Feb 13, 2025Updated last year
- 小模型LLM的搭建,学习LLM的建模、训练过程 基于DeepSeek-MOE架构的小模型,用于个人学习,从0开始,解释每一条语句☆14Mar 28, 2025Updated last year
- [NeurIPS 2021] Introspective Distillation for Robust Question Answering☆13Dec 7, 2021Updated 4 years ago
- yet another m3u8 player☆13Jun 8, 2025Updated 9 months ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- 🚀🚀 「大模型」2小时完全从0训练26M的小参数GPT!🌏 Train a 26M-parameter GPT from scratch in just 2h!☆41,885Feb 6, 2026Updated last month
- ☆17Mar 13, 2023Updated 3 years ago
- ☆52Feb 5, 2025Updated last year
- ☆31Jul 21, 2025Updated 8 months ago
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,402Sep 2, 2025Updated 6 months ago
- Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.☆629Feb 24, 2025Updated last year
- [ICCV 2025] Distilling Parallel Gradients for Fast ODE Solvers of Diffusion Models☆35Mar 20, 2026Updated last week
- Static suckless single batch CUDA-only qwen3-0.6B mini inference engine☆548Sep 8, 2025Updated 6 months ago
- A tiny, didactical implementation of LLAMA 3☆42Dec 2, 2024Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- A simple, easy-to-use streaming json preprocessor.☆70Dec 3, 2024Updated last year
- Taming LLMs: A Practical Guide to LLM Pitfalls with Open Source Software☆341Feb 5, 2025Updated last year
- Awesome-RAG-Vision: a curated list of advanced retrieval augmented generation (RAG) for Computer Vision☆325Jan 25, 2026Updated 2 months ago
- Everything you need to know to build your own RAG application☆4,069Nov 22, 2025Updated 4 months ago
- 🧑🚀 全世界最好的LLM资料总结(多模态生成、Agent、辅助编程、AI审稿、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.☆7,906Updated this week
- ☆13Feb 14, 2022Updated 4 years ago
- OpenSource Production ready Customer service with built in Evals and monitoring☆1,438Jan 12, 2026Updated 2 months ago