该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆384Aug 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并训练大语言模型的教程☆103Jan 20, 2025Updated last year
- 本项目提供了基于910B的huggingface LLM模型的Tensor Parallel(TP)部署教程,同时也可以作为一份极简的TP学习代码。☆33Jan 6, 2026Updated 10 months ago
- Building DeepSeek R1 from Scratch☆805Mar 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
- Awesome Reasoning in MLLMs: Papers and Projects about learning to reason with MLLMs, including Chain-of-Thought (CoT), OpenAl o1, and Dee…☆62Mar 18, 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.
- ☆52Nov 14, 2024Updated last year
- Production-grade memory layer for AI agents with durable multi-tenant memory, semantic recall, async distillation, and SDK/Gateway integr…☆178Sep 29, 2026Updated last month
- Large Language Model in Action☆338Jan 28, 2025Updated last year
- LLMs-from-scratch项目中文翻译☆3,077Apr 19, 2026Updated 6 months ago
- AI Agent 开发实战☆1,369Nov 30, 2024Updated last year
- DeepSeek 系列工作解读、扩展和复现。☆740Mar 9, 2026Updated 7 months ago
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆7,005Mar 8, 2026Updated 7 months ago
- Detect and remove unused dependencies for Python projects☆17Apr 5, 2025Updated last year
- Fetch arxiv data to LLM-friendly text☆131Oct 10, 2026Updated 3 weeks ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- ☆128Feb 17, 2025Updated last year
- Turn PostgreSQL into your search engine in a Pythonic way.☆52Aug 29, 2025Updated last year
- 企业级RAG系统从入门到精通☆723Jun 25, 2025Updated last year
- A book for Learning the Foundations of LLMs☆18,499Dec 12, 2025Updated 10 months ago
- This is the official repository for the paper "Modeling Human Gaze Behavior with Diffusion Models for Unified Scanpath Prediction". ICCV …☆29May 13, 2026Updated 5 months ago
- Custom layers for pytorch☆15Mar 16, 2024Updated 2 years ago
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch☆41Jul 1, 2024Updated 2 years ago
- ☆18Dec 16, 2025Updated 10 months ago
- Enable tool-use ability for any LLM model (DeepSeek V3/R1, etc.)☆57May 27, 2025Updated last year
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- BottomUpTopDown VQA model with question-type debiasing☆22Oct 6, 2019Updated 7 years ago
- yet another m3u8 player☆13Jun 8, 2025Updated last year
- 🧠 Train a 64M-parameter LLM from scratch in just 2h!☆64,943Oct 27, 2026Updated last week
- 🧑🚀 全世界最好的LLM资料总结(多模态生成、Agent、辅助编程、AI审稿、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.☆9,070Updated this week
- ☆14Nov 3, 2025Updated last year
- build llm inference code from scratch☆33Apr 21, 2026Updated 6 months ago
- RAG Web UI is an intelligent dialogue system based on RAG (Retrieval-Augmented Generation) technology.☆3,297Apr 6, 2026Updated 7 months ago
- ☆16Jul 19, 2026Updated 3 months ago
- A curated list of cutting-edge research papers and resources on Long Chain-of-Thought (CoT) Reasoning with Tools.☆46Dec 17, 2025Updated 10 months 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.
- [MICCAI 2024] Embracing Massive Medical Data☆23Jul 5, 2024Updated 2 years ago
- Static suckless single batch CUDA-only qwen3-0.6B mini inference engine☆561Sep 8, 2025Updated last year
- ☆11Feb 15, 2026Updated 8 months ago
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,625Sep 2, 2025Updated last year
- Cookbook for Crafting Good Code☆56Mar 19, 2024Updated 2 years ago
- ☆17Sep 2, 2023Updated 3 years ago
- Awesome Reasoning LLM Tutorial/Survey/Guide☆2,582Sep 5, 2026Updated 2 months ago