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...