仅需Python基础,从0构建大语言模型;从0逐步构建GLM4\Llama3\RWKV6,深入理解大模型原理
llms-from-scratch 开源项目推荐(11 个)
llms-from-scratch 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 全部 11
GitHub 共 11 个仓库,已全部展示Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.
From papers to practice, Building LLMs from the ground up.
CanGovLM - A decoder-only Transformer language model built from scratch using official Canadian government data.
A PyTorch implementation of a modern LLM built from the ground up — architecture, pretraining, fine-tuning, reasoning, mixture-of-experts, and multimodal
A complete PyTorch implementation of GPT-2 from scratch. Features custom pre-training, official OpenAI weight loading for inference, and fine-tuning capabilities for classification and instruction-following tasks.
Chapter 3 of Build a Large Language Model (From Scratch) as running code: self-attention, causal masking, multi-head attention, plus a live playground showing GPT-2's attention heads for any sentence.
LLM & transformers architectures basics from scratch in Pytorch
Chapter 2 of Build a Large Language Model (From Scratch) as running code: a simple tokenizer, BPE from scratch, GPT-2's tokenizer, embeddings and a sliding-window dataloader, plus a live demo that turns any sentence into tokens and vectors.
Custom PyTorch data pipeline and tokenization engine built from scratch for pre-training an Urdu Large Language Model.
My hands-on companion repo for Build a Large Language Model (From Scratch) by Sebastian Raschka: typed-out implementations, notes and experiments.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 11 个项目,对应的话题主页见 https://github.com/topics/llms-from-scratch。
- 该话题在 GitHub 上共有 11 个仓库, 这里呈现的是其中最具代表性的 11 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 11 个项目累计 4875 Star,覆盖 3 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。