Skip to content

Nitewriter/gpt-learning

Repository files navigation

GPT Learning

This repository is my personal attempt at learning how to build a GPT-like model using PyTorch. The goal is to understand the architecture and the training process of a generative model.

References

Requirements

  • Python 3.10+
  • Accelerator (CUDA, MPS, etc.)

Installation (Linux/MacOS)

A makefile is include in the project that will create the virtual environment and install the dependencies.

make

Installation (Windows)

A setup.ps1 script is included in the project that will create the virtual environment and install the dependencies.

.\setup.ps1

Note: Reload VSCode using the command palette Developer: Reload Window to allow the virtual environment to be auto-selected.

About

Learning how to build a GPT model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published