Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 362 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 362 Bytes

GPT-2

A minimal version of GPT-2 in 175 lines of Python code only depending on PyTorch.

git clone https://github.com/lutzroeder/gpt2
pip install torch numpy
python gpt2.py "The Eiffel tower is"
The Eiffel tower is a landmark in the heart of the city, and it's a place where you can see the city...