/gpt

Primary LanguageJupyter NotebookMIT LicenseMIT

GPT from scratch

Installation

  1. python3 -m venv gpt
  2. pip3 install matplotlib pylzma numpy ipykernel jupyter
  3. for mac users pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
  4. to enable jupyter env python -m ipykernel install --user --name=gpt
  5. activate your env source gpt/bin/activate