该系列的目的是让读者可以在基础的pytorch上,不依赖任何其他现成的外部库,从零开始理解并实现一个大语言模型的所有组成部分,以及训练微调代码,因此读者仅需python,pytorch和最基础深度学习背景知识即可。
☆386Aug 28, 2025Updated 10 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
- Learning records for building a large language model from scratch☆58Jan 1, 2025Updated last year
- Building DeepSeek R1 from Scratch☆778Mar 21, 2025Updated last year
- AI Agent 开发实战☆1,160Nov 30, 2024Updated 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 3 years ago
- 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.
- [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.☆883May 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
- Large Language Model in Action☆345Jan 28, 2025Updated last year
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch☆40Jul 1, 2024Updated 2 years ago
- 这是一个简单的技术科普教程项目,主要聚焦于解释一些有趣的,前沿的技术概念和原理。每篇文章都力求在 5 分钟内阅读完成。☆6,949Mar 8, 2026Updated 3 months ago
- LLMs-from-scratch项目中文翻译☆2,696Apr 19, 2026Updated 2 months ago
- 企业级RAG系统从入门到精通☆699Jun 25, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- [CVPR'2022 Oral] The Devil is in the Labels: Noisy Label Correction for Robust Scene Graph Generation☆32Oct 19, 2023Updated 2 years ago
- An official repo for WACV 2025 paper "LLaVA-SpaceSGG: Visual Instruct Tuning for Open-vocabulary Scene Graph Generation with Enhanced Spa…☆31Jan 27, 2025Updated last year
- DeepSeek 系列工作解读、扩展和复现。☆733Mar 9, 2026Updated 3 months ago
- Summaries of ICML 2024 papers☆12Jul 31, 2024Updated last year
- [NeurIPS 2023] Zero-shot Visual Relation Detection via Composite Visual Cues from Large Language Models☆23Oct 21, 2025Updated 8 months ago
- Turn PostgreSQL into your search engine in a Pythonic way.☆52Aug 29, 2025Updated 10 months ago
- A book for Learning the Foundations of LLMs☆16,384Dec 12, 2025Updated 6 months ago
- Fetch arxiv data to LLM-friendly text☆132Feb 18, 2026Updated 4 months ago
- Code for the article series on building a Python compiler and interpreter☆12Feb 13, 2025Updated last year
- 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.
- ☆68Feb 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
- ☆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!☆52,277Updated this week
- ☆52Feb 5, 2025Updated last year
- Ai迷思录(应用与安全指南)☆1,303Mar 24, 2025Updated last year
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- 《大语言模型》作者:赵鑫,李军毅,周昆,唐天一,文继荣☆4,509Sep 2, 2025Updated 9 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
- Profile your CoreML models directly from Python 🐍☆30Sep 8, 2025Updated 9 months ago
- ☆17Feb 20, 2025Updated last year
- A tiny, didactical implementation of LLAMA 3☆42Dec 2, 2024Updated last year
- ☆29Jul 4, 2025Updated 11 months ago
- Everything you need to know to build your own RAG application☆4,126Nov 22, 2025Updated 7 months ago