← All projects
Project record1 mention
Originally shared on Hacker News

MoE support for from-scratch GPT-2 LLM code

This project adds minimal Mixture-of-Experts (MoE) support to the GPT-2 code from Sebastian Raschka's book "Build a Large Language Model (From Scratch)", with a plan to run a from-scratch base model training on the author's own hardware before the end of the month.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. MoE support for from-scratch GPT-2 LLM code

    This project adds minimal Mixture-of-Experts (MoE) support to the GPT-2 code from Sebastian Raschka's book "Build a Large Language Model (From Scratch)", with a plan to run a from-scratch base model training on the author's own hardware before the end of the month.

    Posted by @gpjt · Original source ↗

    Source text · @gpjt · · Source ↗

    I'm adding MoE support to the GPT-2 code from Sebastian Raschka's "Build a Large Language Model (From Scratch)". Just the minimal changes. Planning to do (or at least start!) a from-scratch base model training run on my own hardware before the end of the month.