Skip to content

An implementation of Andrej Karpathy's walkthrough of GPT-1's training and architecture

Notifications You must be signed in to change notification settings

Hemantr05/nanoGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoGPT

An implementation of Andrej Karpathy's walkthrough of GPT-1's training and architecture

Data download?

$ wget https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt

Usage

  • Install requirements

    $ pip install poetry    # Install poetry package
    $ poetry install    # Install requirements
    
  • Train and generate results

    $ python NanoGPT/gpt
    

About

An implementation of Andrej Karpathy's walkthrough of GPT-1's training and architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages