René's URL Explorer Experiment


Title: GitHub - FareedKhan-dev/train-llm-from-scratch: A straightforward method for training your LLM, from downloading data to generating text. · GitHub

Open Graph Title: GitHub - FareedKhan-dev/train-llm-from-scratch: A straightforward method for training your LLM, from downloading data to generating text.

X Title: GitHub - FareedKhan-dev/train-llm-from-scratch: A straightforward method for training your LLM, from downloading data to generating text.

Description: A straightforward method for training your LLM, from downloading data to generating text. - FareedKhan-dev/train-llm-from-scratch

Open Graph Description: A straightforward method for training your LLM, from downloading data to generating text. - FareedKhan-dev/train-llm-from-scratch

X Description: A straightforward method for training your LLM, from downloading data to generating text. - FareedKhan-dev/train-llm-from-scratch

Opengraph URL: https://github.com/FareedKhan-dev/train-llm-from-scratch

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:45d81ede-b30b-53ef-2b55-a2c9639a8392
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC60E:19A3F7:7B2B9:9F566:6AEBCDEC
html-safe-nonce62daa621cf251c617a690e44c30afcbd8b013fcfec1d30c074bfe1adb7c7ad0b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjBFOjE5QTNGNzo3QjJCOTo5RjU2Njo2QUVCQ0RFQyIsInZpc2l0b3JfaWQiOiI3NjAxNjMyMDczMTc2ODI5NDIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5807f241ef23f9f7918dfa3e06ca63ef30b5de2e2e428ff23683c5797cb43659
hovercard-subject-tagrepository:915520679
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/FareedKhan-dev/train-llm-from-scratch
twitter:imagehttps://repository-images.githubusercontent.com/915520679/9a2fcbc3-4753-4550-ab10-dfdc4ec676bf
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/915520679/9a2fcbc3-4753-4550-ab10-dfdc4ec676bf
og:image:altA straightforward method for training your LLM, from downloading data to generating text. - FareedKhan-dev/train-llm-from-scratch
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97b204e1babd5581d0c4d4f3dc7d4a484f3d9fef013d4bc1be57692ba0aeb6f5
turbo-cache-controlno-cache
go-importgithub.com/FareedKhan-dev/train-llm-from-scratch git https://github.com/FareedKhan-dev/train-llm-from-scratch.git
octolytics-dimension-user_id63067900
octolytics-dimension-user_loginFareedKhan-dev
octolytics-dimension-repository_id915520679
octolytics-dimension-repository_nwoFareedKhan-dev/train-llm-from-scratch
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id915520679
octolytics-dimension-repository_network_root_nwoFareedKhan-dev/train-llm-from-scratch
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0db06f04e3c3742e55bab37911eaff199d365087
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/FareedKhan-dev/train-llm-from-scratch#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFareedKhan-dev%2Ftrain-llm-from-scratch
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFareedKhan-dev%2Ftrain-llm-from-scratch
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=FareedKhan-dev%2Ftrain-llm-from-scratch
Reloadhttps://github.com/FareedKhan-dev/train-llm-from-scratch
Reloadhttps://github.com/FareedKhan-dev/train-llm-from-scratch
Reloadhttps://github.com/FareedKhan-dev/train-llm-from-scratch
FareedKhan-devhttps://github.com/FareedKhan-dev
train-llm-from-scratchhttps://github.com/FareedKhan-dev/train-llm-from-scratch
Codehttps://github.com/FareedKhan-dev/train-llm-from-scratch
Issues1 (1)https://github.com/FareedKhan-dev/train-llm-from-scratch/issues
Pull requests1 (1)https://github.com/FareedKhan-dev/train-llm-from-scratch/pulls
Actionshttps://github.com/FareedKhan-dev/train-llm-from-scratch/actions
Projectshttps://github.com/FareedKhan-dev/train-llm-from-scratch/projects
Security and qualityhttps://github.com/FareedKhan-dev/train-llm-from-scratch/security
Insightshttps://github.com/FareedKhan-dev/train-llm-from-scratch/pulse
https://github.com/FareedKhan-dev/train-llm-from-scratch
train-llm-from-scratchhttps://github.com/FareedKhan-dev/train-llm-from-scratch
Notificationshttps://github.com/login?return_to=%2FFareedKhan-dev%2Ftrain-llm-from-scratch
Fork1.8k (1.8k)https://github.com/login?return_to=%2FFareedKhan-dev%2Ftrain-llm-from-scratch
Star13.1k (13.1k)https://github.com/login?return_to=%2FFareedKhan-dev%2Ftrain-llm-from-scratch
fareedkhan-dev.github.io/train-llm-from-scratch/https://fareedkhan-dev.github.io/train-llm-from-scratch/
geminihttps://github.com/topics/gemini
large-language-modelshttps://github.com/topics/large-language-models
llmhttps://github.com/topics/llm
openaihttps://github.com/topics/openai
traininghttps://github.com/topics/training
transformershttps://github.com/topics/transformers
Readmehttps://github.com/FareedKhan-dev/train-llm-from-scratch#readme-ov-file
MIT licensehttps://github.com/FareedKhan-dev/train-llm-from-scratch#MIT-1-ov-file
Contributinghttps://github.com/FareedKhan-dev/train-llm-from-scratch#contributing-ov-file
Activityhttps://github.com/FareedKhan-dev/train-llm-from-scratch/activity
1.8k forkshttps://github.com/FareedKhan-dev/train-llm-from-scratch/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FFareedKhan-dev%2Ftrain-llm-from-scratch&report=FareedKhan-dev+%28user%29
Brancheshttps://github.com/FareedKhan-dev/train-llm-from-scratch/branches
Tagshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tags
https://github.com/FareedKhan-dev/train-llm-from-scratch/branches
https://github.com/FareedKhan-dev/train-llm-from-scratch/tags
175 Commitshttps://github.com/FareedKhan-dev/train-llm-from-scratch/commits/main/
https://github.com/FareedKhan-dev/train-llm-from-scratch/commits/main/
.githubhttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/.github
.githubhttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/.github
.streamlithttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/.streamlit
.streamlithttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/.streamlit
confighttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/config
confighttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/config
configshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/configs
configshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/configs
data_loaderhttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/data_loader
data_loaderhttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/data_loader
docshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/docs
docshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/docs
imageshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/images
imageshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/images
scriptshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/scripts
scriptshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/scripts
srchttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/src
srchttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/src
testshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/tests
testshttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/tests
uihttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/ui
uihttps://github.com/FareedKhan-dev/train-llm-from-scratch/tree/main/ui
.gitattributeshttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.gitattributes
.gitattributeshttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.gitattributes
.gitignorehttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.gitignore
.gitignorehttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.gitignore
.pre-commit-config.yamlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.pre-commit-config.yaml
.pre-commit-config.yamlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/.pre-commit-config.yaml
CHANGELOG.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CHANGELOG.md
CHANGELOG.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CHANGELOG.md
CONTRIBUTING.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CONTRIBUTING.md
CONTRIBUTING.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CONTRIBUTING.md
LICENSEhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/LICENSE
LICENSEhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/LICENSE
POST_TRAINING.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/POST_TRAINING.md
POST_TRAINING.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/POST_TRAINING.md
README.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/README.md
README.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/README.md
mkdocs.ymlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/mkdocs.yml
mkdocs.ymlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/mkdocs.yml
pyproject.tomlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/pyproject.toml
pyproject.tomlhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/pyproject.toml
requirements-post.txthttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/requirements-post.txt
requirements-post.txthttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/requirements-post.txt
requirements.txthttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/requirements.txt
requirements.txthttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/requirements.txt
sft_rlhf_guide.ipynbhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/sft_rlhf_guide.ipynb
sft_rlhf_guide.ipynbhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/sft_rlhf_guide.ipynb
READMEhttps://github.com/FareedKhan-dev/train-llm-from-scratch
Contributinghttps://github.com/FareedKhan-dev/train-llm-from-scratch
MIT licensehttps://github.com/FareedKhan-dev/train-llm-from-scratch
https://camo.githubusercontent.com/6dd442ce2caa3bfa8b272aa3e0cb5b354a8f864745e92aa4ff7a0437cb41f181/68747470733a2f2f63646e2d696d616765732d312e6d656469756d2e636f6d2f6d61782f353230302f312a72393948713359426435465454574c4e594b4b7650772e706e67
https://github.com/FareedKhan-dev/train-llm-from-scratch#train-llm-from-scratch
https://camo.githubusercontent.com/ac095efffec6ac483a78a54200d72e16c1eeeb3c29542653715e7dd2eb56ef00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31302532422d626c7565
https://github.com/FareedKhan-dev/train-llm-from-scratch/actions/workflows/ci.yml
https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e
https://camo.githubusercontent.com/3b47ed255824e64bce4ea8a068e2ac8e2c685bbac88c2ad7d75a788b429272da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e747269627574696f6e732d57656c636f6d652d626c7565
https://fareedkhan-dev.github.io/train-llm-from-scratch/
GitHubhttps://github.com/FareedKhan-dev
Attention is All You Needhttps://arxiv.org/abs/1706.03762
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/00_pipeline.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#table-of-contents
Who this is forhttps://github.com/FareedKhan-dev/train-llm-from-scratch#who-this-is-for
Prerequisites and Training Timehttps://github.com/FareedKhan-dev/train-llm-from-scratch#prerequisites-and-training-time
Setuphttps://github.com/FareedKhan-dev/train-llm-from-scratch#setup
No GPU? Train on Your Laptophttps://github.com/FareedKhan-dev/train-llm-from-scratch#no-gpu-train-on-your-laptop
Code Structurehttps://github.com/FareedKhan-dev/train-llm-from-scratch#code-structure
Step 1: Preparing the Datahttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-1-preparing-the-data
Step 2: The Model, Built From Small Pieceshttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-2-the-model-built-from-small-pieces
Multi Layer Perceptron (MLP)https://github.com/FareedKhan-dev/train-llm-from-scratch#multi-layer-perceptron-mlp
Single Head Attentionhttps://github.com/FareedKhan-dev/train-llm-from-scratch#single-head-attention
Multi Head Attentionhttps://github.com/FareedKhan-dev/train-llm-from-scratch#multi-head-attention
The Transformer Blockhttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-transformer-block
The Full Transformerhttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-full-transformer
The Modern Version of the Same Modelhttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-modern-version-of-the-same-model
Step 3: Pretraining the Base Modelhttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-3-pretraining-the-base-model
Step 4: Generating Texthttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-4-generating-text
Step 5: Post-Training, Turning a Base Model Into an Assistanthttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-5-post-training-turning-a-base-model-into-an-assistant
SFT (Supervised Fine-Tuning)https://github.com/FareedKhan-dev/train-llm-from-scratch#sft-supervised-fine-tuning
The Reward Modelhttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-reward-model
DPO, ORPO and KTOhttps://github.com/FareedKhan-dev/train-llm-from-scratch#dpo-orpo-and-kto
PPOhttps://github.com/FareedKhan-dev/train-llm-from-scratch#ppo
GRPO / RLVRhttps://github.com/FareedKhan-dev/train-llm-from-scratch#grpo--rlvr
Step 6: Evaluationhttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-6-evaluation
Step 7: Talking to the Modelhttps://github.com/FareedKhan-dev/train-llm-from-scratch#step-7-talking-to-the-model
The Streamlit Control Panelhttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-streamlit-control-panel
The Documentation Sitehttps://github.com/FareedKhan-dev/train-llm-from-scratch#the-documentation-site
Run the Whole Thinghttps://github.com/FareedKhan-dev/train-llm-from-scratch#run-the-whole-thing
Type Safety and Testshttps://github.com/FareedKhan-dev/train-llm-from-scratch#type-safety-and-tests
What's Nexthttps://github.com/FareedKhan-dev/train-llm-from-scratch#whats-next
https://github.com/FareedKhan-dev/train-llm-from-scratch#who-this-is-for
https://github.com/FareedKhan-dev/train-llm-from-scratch#prerequisites-and-training-time
OOP Videohttps://www.youtube.com/watch?v=Ej_02ICOIgs
Neural Network Videohttps://www.youtube.com/watch?v=Jy4wM2X21u0
Pytorch Videohttps://www.youtube.com/watch?v=V_xro1bcAuA
laptop trackhttps://github.com/FareedKhan-dev/train-llm-from-scratch#no-gpu-train-on-your-laptop
https://github.com/FareedKhan-dev/train-llm-from-scratch#setup
uvhttps://docs.astral.sh/uv/
https://github.com/FareedKhan-dev/train-llm-from-scratch#no-gpu-train-on-your-laptop
TinyStorieshttps://arxiv.org/abs/2305.07759
docs/studenthttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/student/README.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#code-structure
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-1-preparing-the-data
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/01_data.png
The Pilehttps://huggingface.co/datasets/monology/pile-uncopyrighted
https://github.com/FareedKhan-dev/train-llm-from-scratch#tokenization
BPE from scratchhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/foundations/bpe.md
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/02_tokenization.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-chat-format-and-loss-mask
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-2-the-model-built-from-small-pieces
https://github.com/FareedKhan-dev/train-llm-from-scratch#multi-layer-perceptron-mlp
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/03_mlp.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#single-head-attention
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/04_attention_head.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#multi-head-attention
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/05_multi_head_attention.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-transformer-block
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/06_transformer_block.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-full-transformer
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/07_transformer.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-modern-version-of-the-same-model
modern model docshttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/README.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-3-pretraining-the-base-model
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/08_training_loop.png
Muonhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/optimizers.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-loss-curve
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/loss_curve.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-4-generating-text
inference docshttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/inference.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-5-post-training-turning-a-base-model-into-an-assistant
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/00_pipeline.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#sft-supervised-fine-tuning
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/09_sft.png
LoRAhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/lora.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-reward-model
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/10_reward_model.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#dpo-orpo-and-kto
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/11_dpo.png
this pagehttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/preference.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#ppo
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/12_ppo.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#grpo--rlvr
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/13_grpo.png
RL for reasoninghttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/modern/rl_reasoning.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-6-evaluation
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/14_evaluation.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#what-changes-after-sft
https://github.com/FareedKhan-dev/train-llm-from-scratch#step-7-talking-to-the-model
https://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/images/15_inference.png
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-streamlit-control-panel
https://github.com/FareedKhan-dev/train-llm-from-scratch#the-documentation-site
https://fareedkhan-dev.github.io/train-llm-from-scratch/https://fareedkhan-dev.github.io/train-llm-from-scratch/
https://github.com/FareedKhan-dev/train-llm-from-scratch#run-the-whole-thing
https://github.com/FareedKhan-dev/train-llm-from-scratch#type-safety-and-tests
jaxtypinghttps://github.com/patrick-kidger/jaxtyping
type safety guidehttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/docs/howto/type_safety.md
CONTRIBUTING.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CONTRIBUTING.md
https://github.com/FareedKhan-dev/train-llm-from-scratch#whats-next
CHANGELOG.mdhttps://github.com/FareedKhan-dev/train-llm-from-scratch/blob/main/CHANGELOG.md
My Linkedinhttps://www.linkedin.com/in/fareed-khan-dev/
https://github.com/FareedKhan-dev/train-llm-from-scratch#star-history
https://star-history.dera.page/#FareedKhan-dev/train-llm-from-scratch&Date
fareedkhan-dev.github.io/train-llm-from-scratch/https://fareedkhan-dev.github.io/train-llm-from-scratch/
geminihttps://github.com/topics/gemini
large-language-modelshttps://github.com/topics/large-language-models
llmhttps://github.com/topics/llm
openaihttps://github.com/topics/openai
traininghttps://github.com/topics/training
transformershttps://github.com/topics/transformers
Readmehttps://github.com/FareedKhan-dev/train-llm-from-scratch#readme-ov-file
MIT licensehttps://github.com/FareedKhan-dev/train-llm-from-scratch#MIT-1-ov-file
Contributinghttps://github.com/FareedKhan-dev/train-llm-from-scratch#contributing-ov-file
Activityhttps://github.com/FareedKhan-dev/train-llm-from-scratch/activity
1.8k forkshttps://github.com/FareedKhan-dev/train-llm-from-scratch/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FFareedKhan-dev%2Ftrain-llm-from-scratch&report=FareedKhan-dev+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.