Skip to content
/ orpheus Public

An implementation of Andrej Kaparthy's nanogpt

Notifications You must be signed in to change notification settings

TobyH9/orpheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orpheus

Getting Started

First, clone this repository:

git clone https://github.com/TobyH9/orpheus.git
cd orpheus

Orpheus

This is an implementation of Andrej Kaparthy's nanogpt.

Environment Setup (using uv)

  1. Install uv if you don’t have it:
    pip install uv
  2. Create and activate a virtual environment:
    uv venv .venv
    source .venv/bin/activate
  3. Install dependencies from pyproject.toml:
    uv sync

Optional: install the package in editable mode (so local changes are picked up):

uv pip install -e .

You can now run the training script:

python train.py

Or using uv to ensure the right environment:

uv run python train.py

To resume from a checkpoint:

python train.py --resume-from checkpoints/orpheus_final.pt

About

An implementation of Andrej Kaparthy's nanogpt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages