该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆386Aug 28, 2025Updated last year
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
- Learning records for building a large language model from scratch☆57Jan 1, 2025Updated last year
- Building DeepSeek R1 from Scratch☆793Mar 21, 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
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- LLM notes, including model inference, transformer model structure, and llm framework code analysis notes.☆889Aug 19, 2026Updated 2 weeks ago
- The Code for Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models☆18Oct 4, 2024Updated last year
- ☆130Feb 17, 2025Updated last year
- Large Language Model in Action☆341Jan 28, 2025Updated last year
- ☆23Dec 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
- DeepSeek 系列工作解读、扩展和复现。☆734Mar 9, 2026Updated 5 months ago
- AI Agent 开发实战☆1,275Nov 30, 2024Updated 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.
- [NeurIPS 2023] Zero-shot Visual Relation Detection via Composite Visual Cues from Large Language Models☆23Oct 21, 2025Updated 10 months ago
- [ICLR 2025 Spotlight] Code release for "Sharpness-Aware Minimization Efficiently Selects Flatter Minima Late In Training"☆20Feb 20, 2025Updated last year
- [ECCV2022] The PyTorch implementation of paper "Equivariance and Invariance Inductive Bias for Learning from Insufficient Data"☆19Oct 12, 2022Updated 3 years ago
- This is the official repository for the paper "Modeling Human Gaze Behavior with Diffusion Models for Unified Scanpath Prediction". ICCV …☆27May 13, 2026Updated 3 months ago
- A book for Learning the Foundations of LLMs☆17,797Dec 12, 2025Updated 8 months ago
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆6,987Mar 8, 2026Updated 5 months ago
- Fetch arxiv data to LLM-friendly text☆133Feb 18, 2026Updated 6 months ago
- 大龄大专程序员-从零开始重学英语☆90Jun 18, 2026Updated 2 months ago
- Official Tensorflow implementation for Deep Generative Positive-Unlabeled Learning under Selection Bias (VAE-PU) in CIKM 2020.☆15Dec 11, 2021Updated 4 years ago
- 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.
- LLMs-from-scratch项目中文翻译☆2,891Apr 19, 2026Updated 4 months ago
- 顾名思义:手搓的RAG☆133Feb 27, 2024Updated 2 years ago
- [NeurIPS 2021] Introspective Distillation for Robust Question Answering☆13Dec 7, 2021Updated 4 years ago
- 企业级RAG系统从入门到精通☆715Jun 25, 2025Updated last year
- yet another m3u8 player☆13Jun 8, 2025Updated last year
- 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…☆179Jun 14, 2026Updated 2 months ago
- A curated list of cutting-edge research papers and resources on Long Chain-of-Thought (CoT) Reasoning with Tools.☆46Dec 17, 2025Updated 8 months ago
- Ai迷思录(应用与安全指南)☆1,332Mar 24, 2025Updated last year
- 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.
- Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.☆630Feb 24, 2025Updated last year
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,557Sep 2, 2025Updated last year
- ☆17Sep 2, 2023Updated 3 years ago
- Detect and remove unused dependencies for Python projects☆17Apr 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
- A tiny, didactical implementation of LLAMA 3☆42Dec 2, 2024Updated last year
- 🧑🚀 全世界最好的LLM资料总结(多模态生成、Agent、辅助编程、AI审稿、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.☆8,899Updated this week