Scroll AI Now

Open source repo

train-llm-from-scratch

A straightforward method for training your LLM, from downloading data to generating text.

By FareedKhan‑dev · MIT · Python · ★ 13,358

View on GitHubProject siteMore repos in the app

What it is

train‑llm‑from‑scratch is an open source project for training and fine‑tuning models, published on GitHub by FareedKhan‑dev and written mainly in Python. Its maintainers file it under gemini, large‑language‑models, llm, openai.

In its own words on GitHub: “A straightforward method for training your LLM, from downloading data to generating text.”

Who it is for

Engineers who want to train or adapt a model on their own data, or who want to understand how models are trained.

How to start

  1. Open the repo and read the README from the top, then the license file.
  2. It is written in Python, so you will usually install it with pip or uv inside a virtual environment.
  3. Its project site, fareedkhan-dev.github.io, has documentation and sometimes a hosted version you can try before you install anything.
  4. Pin a release or a commit, so an update does not change how it behaves without you noticing.

Why it is on our list

The facts

LicenseMIT
What the license allowsYou can use, change and ship it, including in paid products. Keep the copyright notice.
Main languagePython
Stars13,358
Topicsgemini, large‑language‑models, llm, openai, training
CreatedJanuary 12, 2025
Last checkedDecember 2, 2026

Before you use it

Are you the author?

This repo has its own page on Scroll AI Now.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now

Markdown
[![Featured on Scroll AI Now](https://scrollainow.com/badge/featured.svg)](https://scrollainow.com/repos/fareedkhan-dev-train-llm-from-scratch/)
HTML
<a href="https://scrollainow.com/repos/fareedkhan-dev-train-llm-from-scratch/"><img src="https://scrollainow.com/badge/featured.svg" alt="Featured on Scroll AI Now" height="28"></a>

Related repos

All curated AI repos · Agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app