该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆386Aug 28, 2025Updated 11 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并训练大语言模型的教程☆102Jan 20, 2025Updated last year
- Implementation for ECCV 2022 Paper "Class Is Invariant to Context and Vice Versa: On Learning Invariance for Out-Of-Distribution Generali…☆20Jul 18, 2022Updated 4 years 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.☆887Aug 1, 2026Updated last week
- The Code for Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models☆18Oct 4, 2024Updated 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.
- ☆130Feb 17, 2025Updated last year
- Large Language Model in Action☆342Jan 28, 2025Updated last year
- ☆22Dec 4, 2025Updated 8 months ago
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch☆41Jul 1, 2024Updated 2 years ago
- [CVPR'2022 Oral] The Devil is in the Labels: Noisy Label Correction for Robust Scene Graph Generation☆32Oct 19, 2023Updated 2 years ago
- ☆23May 19, 2026Updated 2 months ago
- DeepSeek 系列工作解读、扩展和复现。☆734Mar 9, 2026Updated 5 months ago
- [NeurIPS 2023] Zero-shot Visual Relation Detection via Composite Visual Cues from Large Language Models☆23Oct 21, 2025Updated 9 months ago
- This is the official repository for the paper "Modeling Human Gaze Behavior with Diffusion Models for Unified Scanpath Prediction". ICCV …☆27May 13, 2026Updated 2 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.
- Code to download web-images☆16Jun 19, 2017Updated 9 years ago
- A book for Learning the Foundations of LLMs☆16,518Dec 12, 2025Updated 7 months ago
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆6,978Mar 8, 2026Updated 5 months ago
- Fetch arxiv data to LLM-friendly text☆133Feb 18, 2026Updated 5 months ago
- LLMs-from-scratch项目中文翻译☆2,833Apr 19, 2026Updated 3 months ago
- 顾名思义:手搓的RAG☆133Feb 27, 2024Updated 2 years ago
- [NeurIPS 2021] Introspective Distillation for Robust Question Answering☆13Dec 7, 2021Updated 4 years ago
- 企业级RAG系统从入门到精通☆707Jun 25, 2025Updated last year
- yet another m3u8 player☆13Jun 8, 2025Updated last year
- 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.
- Enable tool-use ability for any LLM model (DeepSeek V3/R1, etc.)☆58May 27, 2025Updated last year
- Production-grade memory layer for AI agents with durable multi-tenant memory, semantic recall, async distillation, and SDK/Gateway integr…☆180Jun 14, 2026Updated last month
- ☆52Nov 14, 2024Updated last year
- A curated list of cutting-edge research papers and resources on Long Chain-of-Thought (CoT) Reasoning with Tools.☆46Dec 17, 2025Updated 7 months ago
- Ai迷思录(应用与安全指南)☆1,324Mar 24, 2025Updated last year
- ☆39Jun 2, 2026Updated 2 months ago
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,538Sep 2, 2025Updated 11 months ago
- Detect and remove unused dependencies for Python projects☆18Apr 5, 2025Updated last year
- 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
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- A tiny, didactical implementation of LLAMA 3☆42Dec 2, 2024Updated last year
- ☆29Jul 4, 2025Updated last year
- 🧑🚀 全世界最好的LLM资料总结(多模态生成、Agent、辅助编程、AI审稿、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.☆8,829Updated this week
- 🧠「大模 型」2小时完全从0训练64M的小参数LLM!Train a 64M-parameter LLM from scratch in just 2h!☆54,531Updated this week
- SC'25 UltraAttn: Efficiently Parallelizing Attention through Hierarchical Context-Tiling☆16Aug 14, 2025Updated 11 months ago
- OpenSource Production ready Customer service with built in Evals and monitoring☆1,452Jun 18, 2026Updated last month
- Custom layers for pytorch☆15Mar 16, 2024Updated 2 years ago