该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆385Aug 28, 2025Updated 9 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并训练大语言模型的教程☆101Jan 20, 2025Updated last year
- Learning records for building a large language model from scratch☆58Jan 1, 2025Updated last year
- Building DeepSeek R1 from Scratch☆769Mar 21, 2025Updated last year
- convert GitHub issues to a website☆28May 19, 2026Updated 3 weeks ago
- AI Agent 开发实战☆1,128Nov 30, 2024Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Implementation for ECCV 2022 Paper "Class Is Invariant to Context and Vice Versa: On Learning Invariance for Out-Of-Distribution Generali…☆20Jul 18, 2022Updated 3 years ago
- LLM notes, including model inference, transformer model structure, and llm framework code analysis notes.☆881May 10, 2026Updated last month
- The Code for Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models☆18Oct 4, 2024Updated last year
- ☆133Feb 17, 2025Updated last year
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch☆40Jul 1, 2024Updated last year
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆6,949Mar 8, 2026Updated 3 months ago
- LLMs-from-scratch项目中文翻译☆2,666Apr 19, 2026Updated last month
- 企业级RAG系统从入门到精通☆699Jun 25, 2025Updated 11 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
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- An official repo for WACV 2025 paper "LLaVA-SpaceSGG: Visual Instruct Tuning for Open-vocabulary Scene Graph Generation with Enhanced Spa…☆30Jan 27, 2025Updated last year
- DeepSeek 系列工作解读、扩展和复现。☆733Mar 9, 2026Updated 3 months ago
- Summaries of ICML 2024 papers☆12Jul 31, 2024Updated last year
- Turn PostgreSQL into your search engine in a Pythonic way.☆52Aug 29, 2025Updated 9 months ago
- Quadra: Effortless and reproducible deep learning workflows with configuration files.☆52May 21, 2026Updated 2 weeks ago
- [ECCV2022] The PyTorch implementation of paper "Equivariance and Invariance Inductive Bias for Learning from Insufficient Data"☆19Oct 12, 2022Updated 3 years ago
- Code to download web-images☆16Jun 19, 2017Updated 8 years ago
- A book for Learning the Foundations of LLMs☆16,351Dec 12, 2025Updated 5 months ago
- Fetch arxiv data to LLM-friendly text☆132Feb 18, 2026Updated 3 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ☆67Feb 13, 2025Updated last year
- ☆17Sep 2, 2023Updated 2 years ago
- 顾名思义:手搓的RAG☆134Feb 27, 2024Updated 2 years ago
- [NeurIPS 2021] Introspective Distillation for Robust Question Answering☆13Dec 7, 2021Updated 4 years ago
- yet another m3u8 player☆13Jun 8, 2025Updated last year
- ☆53Nov 14, 2024Updated last year
- ☆17Mar 13, 2023Updated 3 years ago
- 🧠「大模型」2小时完全从0训练64M的小参数LLM!Train a 64M-parameter LLM from scratch in just 2h!☆51,407Jun 1, 2026Updated last week
- ☆52Feb 5, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Ai迷思录(应用与安全指南)☆1,292Mar 24, 2025Updated last year
- A powerful Golang CLI application scaffold integrated with Logrus, arg parser, toml config, testify, Makefile, VSCode and Github Action.☆19Nov 2, 2023Updated 2 years ago
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,490Sep 2, 2025Updated 9 months ago
- A simple self-hosted RSS reader with AI article summarization feature. 🧶☕️📜☆11Apr 18, 2026Updated last month
- Code for "Lessons Learned from Building a Query Optimizer" blog series☆52Feb 7, 2025Updated last year
- Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.☆629Feb 24, 2025Updated last year
- A tiny, didactical implementation of LLAMA 3☆42Dec 2, 2024Updated last year