LLMs-from-scratch

by rasbt · Machine Learning

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

New0 ratings104,477 starsActive
Machine LearningAI ApplicationJupyter NotebookPython
Open project ↗GitHub⚑ Report
LLMs-from-scratch preview

About this project

Build a Large Language Model (From Scratch) This repository contains the code for developing, pretraining, and finetuning a GPT-like LLM and is the official code repository for the book Build a Large Language Model (From Scratch). In Build a Large Language Model (From Scratch), you'll learn and understand how large language models (LLMs) work from the inside out by coding them from the ground up, step by step. In this book, I'll guide you through creating your own LLM, explaining each stage with clear text, diagrams, and examples. The method described in this book for training and developing your own small-but-functional model for educational purposes mirrors the approach used…

Technologies

aiPythonartificial-intelligenceDockerfileJupyter Notebookattention-mechanism

Project health

Actively maintained
Last updatelast week
Contributors66
Latest release
Open issues & PRs1
LicenseOther
On GitHubsince 2023

GitHub

104,477
stars
16,001
forks
66
contributors
1
open issues & PRs
Jupyter Notebook
language
last week
last commit
View on GitHub ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review LLMs-from-scratch.

Built by

rasbt
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain rasbt/LLMs-from-scratch? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like