First, clone this repository:
git clone https://github.com/TobyH9/orpheus.git
cd orpheusThis is an implementation of Andrej Kaparthy's nanogpt.
- Install uv if you don’t have it:
pip install uv
- Create and activate a virtual environment:
uv venv .venv source .venv/bin/activate - 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.pyOr using uv to ensure the right environment:
uv run python train.pyTo resume from a checkpoint:
python train.py --resume-from checkpoints/orpheus_final.pt