RRepoGEO

REPOGEO REPORT · LITE

FareedKhan-dev/train-llm-from-scratch

Default branch main · commit 98f808c4 · scanned 6/25/2026, 11:13:36 AM

GitHub: 7,407 stars · 1,045 forks

Scan history for this repo

Score trend below includes all ready runs (older left, newer right; scroll horizontally if needed). The table is collapsed by default—expand for newest-first rows, 10 per page.

Score trend (left → right: older → newer)

3 ready scans. Expand the table below for newest-first rows (10 per page, paginated).

AI VISIBILITY SCORE
33 /100
Critical
Category recall
0 / 2
Not recommended in any query
Rule findings
2 pass · 0 warn · 0 fail
Objective metadata checks
AI knows your name
2 / 3
Direct prompts that named your repo
HOW TO READ THIS REPORT

Action plan is what to do next — copy-pasteable changes prioritized by impact. Category visibility is the real GEO test: when a user asks an AI a brand-free question that should surface FareedKhan-dev/train-llm-from-scratch, does the AI actually recommend you — or your competitors? Objective checks verify the metadata signals AI engines weight first. Self-mention check detects whether AI even knows you exist by name.

Action plan — copy-paste fixes

3 prioritized changes generated by gemini-2.5-flash. Mark items done after you ship the fix.

OVERALL DIRECTION
  • highreadme#1
    Reposition the README's opening to clarify it's a full LLM training pipeline/tutorial

    Why:

    CURRENT
    I implemented a transformer model from scratch using PyTorch, based on the paper Attention is All You Need. You can use my scripts to train your own **billion** or **million** parameter LLM using a single GPU. This started as a pretraining tutorial. It now goes all the way from raw text to an aligned, reasoning style model, with every algorithm hand written in plain PyTorch (no `trl`, no `peft`, no `transformers`).
    COPY-PASTE FIX
    This repository provides a complete, end-to-end pipeline for training a Large Language Model (LLM) from scratch using plain PyTorch. It implements every algorithm from raw text processing to advanced alignment techniques like Supervised Fine-Tuning (SFT), Reward Models, PPO, DPO, and GRPO. Designed for those who want to understand and build an LLM without relying on high-level frameworks like `trl`, `peft`, or `transformers`.
  • hightopics#2
    Add more specific topics to highlight the 'from scratch' and 'full pipeline' nature

    Why:

    CURRENT
    gemini, large-language-models, llm, openai, training, transformers
    COPY-PASTE FIX
    gemini, large-language-models, llm, openai, training, transformers, llm-from-scratch, pytorch-llm, deep-learning-from-scratch, transformer-implementation, rlhf, dpo, ppo, sft, reinforcement-learning-from-human-feedback
  • mediumabout#3
    Enhance the repository description to highlight the 'from scratch, no frameworks' differentiator

    Why:

    CURRENT
    A straightforward method for training your LLM, from downloading data to generating text.
    COPY-PASTE FIX
    A straightforward, end-to-end method for training your LLM from scratch using plain PyTorch, from downloading data to generating text, without relying on high-level frameworks.

Category GEO backends resolved for this scan: google/gemini-2.5-flash, deepseek/deepseek-v4-flash

Category visibility — the real GEO test

Brand-free queries asked to google/gemini-2.5-flash. Did AI recommend you, or someone else?

Same questions for every model — switch tabs to compare answers and rankings.

Recall
0 / 2
0% of queries surface FareedKhan-dev/train-llm-from-scratch
Avg rank
Lower is better. #1 = top recommendation.
Share of voice
0%
Of all named tools, what % are you?
Top rival
PyTorch
Recommended in 1 of 2 queries
COMPETITOR LEADERBOARD
  1. PyTorch · recommended 1×
  2. NumPy · recommended 1×
  3. Hugging Face `tokenizers` · recommended 1×
  4. Hugging Face `datasets` · recommended 1×
  5. `tqdm` · recommended 1×
  • CATEGORY QUERY
    How to implement a large language model transformer architecture using PyTorch from scratch?
    you: not recommended
    AI recommended (in order):
    1. PyTorch
    2. NumPy
    3. Hugging Face `tokenizers`
    4. Hugging Face `datasets`
    5. `tqdm`
    6. `einops`
    7. `accelerate`

    AI recommended 7 alternatives but never named FareedKhan-dev/train-llm-from-scratch. This is the gap to close.

    Show full AI answer
  • CATEGORY QUERY
    What are the steps to build and align a custom LLM without relying on existing frameworks?
    you: not recommended
    AI recommended (in order):
    1. Common Crawl
    2. BooksCorpus
    3. Wikipedia
    4. WordPiece
    5. SentencePiece
    6. NVIDIA A100s
    7. NVIDIA H100s
    8. AdamW
    9. Lion
    10. Proximal Policy Optimization (PPO)
    11. HELM

    AI recommended 11 alternatives but never named FareedKhan-dev/train-llm-from-scratch. This is the gap to close.

    Show full AI answer

Objective checks

Rule-based audits of metadata signals AI engines weight most.

  • Metadata completeness
    pass

  • README presence
    pass

Self-mention check

Does AI even know your repo exists when asked about it directly?

  • Compared to common alternatives in this category, what is the core differentiator of FareedKhan-dev/train-llm-from-scratch?
    pass
    AI named FareedKhan-dev/train-llm-from-scratch explicitly

    AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?

  • If a team adopts FareedKhan-dev/train-llm-from-scratch in production, what risks or prerequisites should they evaluate first?
    pass
    AI named FareedKhan-dev/train-llm-from-scratch explicitly

    AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?

  • In one sentence, what problem does the repo FareedKhan-dev/train-llm-from-scratch solve, and who is the primary audience?
    pass
    AI did not name FareedKhan-dev/train-llm-from-scratch — likely talking about a different project

    AI answers can be confidently wrong. Read for accuracy: does it match your actual tech stack, audience, and differentiator?

Embed your GEO score

Drop this badge into the README of FareedKhan-dev/train-llm-from-scratch. It auto-updates whenever the report is rescanned and links back to the latest report — easy public proof that you care about AI discoverability.

RepoGEO badge previewLive preview
MARKDOWN (README)
[![RepoGEO](https://repogeo.com/badge/FareedKhan-dev/train-llm-from-scratch.svg)](https://repogeo.com/en/r/FareedKhan-dev/train-llm-from-scratch)
HTML
<a href="https://repogeo.com/en/r/FareedKhan-dev/train-llm-from-scratch"><img src="https://repogeo.com/badge/FareedKhan-dev/train-llm-from-scratch.svg" alt="RepoGEO" /></a>
Pro

Subscribe to Pro for deep diagnoses

FareedKhan-dev/train-llm-from-scratch — Lite scans stay free; this card itemizes Pro deep limits vs Lite.

  • Deep reports10 / month
  • Brand-free category queries5 vs 2 in Lite
  • Prioritized action items8 vs 3 in Lite