← Back to feed

rasbt/LLMs-from-scratch: Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

L4 · DeveloperOpen SourceGitHub Trending· 7/23/2023

Hands-on implementation guide for developers wanting to understand LLM internals through practical coding.

AI Summary

GitHub repository provides code to build a GPT-like LLM from scratch in PyTorch with educational book companion.

Excerpt

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step. Language: Jupyter Notebook. Stars: 107,525. Topics: ai, artificial-intelligence, attention-mechanism, deep-learning, finetuning, from-scratch, generative-ai, gpt

Read Original
0 upvotes · 0 downvotes · 1 min read

Related Articles

L4 · DeveloperOpen SourceHugging Face Blog
Introducing AnySpeechRecognizer and AnyDecisionModel: Open Models for Speech and Decisions on Apple Platforms

Hugging Face releases AnySpeechRecognizer and AnyDecisionModel packages for Swift, enabling open speech recognition and decision models on Apple platforms.

L4 · DeveloperOpen SourceHugging Face Blog
Announcing Project ProtoStar: Making Publicly Funded Science AI-Ready

Hugging Face announces Project ProtoStar, a multi-institutional initiative to make publicly funded scientific research AI-ready through standardized formats and open challenges.

L5 · ResearcherOpen Source@huggingface
Hugging Face (@huggingface): Great way to break into AI/ML research! https://t.co/Kf3rXl7eOB

Hugging Face announces NeurIPS 2026 × ML Intern Reproduction hackathon to help newcomers break into AI/ML research through paper reproduction.

L3 · BuilderOpen SourceGitHub Trending
rtk-ai/rtk: CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

RTK CLI proxy reduces LLM token consumption by 60-90% on dev commands through output compression and filtering.

L3 · BuilderOpen SourceHacker News
PaperPilot – Zero-Cloud, Pure-Rust PDF Engine with WASM and MCP

PaperPilot is a pure-Rust PDF engine with WASM and MCP support that runs locally for document processing tasks like merging, splitting, and OCR.