Generate Text using OpenAIGPT2 using Python Pytorch.
Code used in Video (Taken from huggingface):
git clone https://github.com/graykode/gpt-2-Pytorch
curl --output gpt2-pytorch_model.bin https://s3.amazonaws.com/models.huggingface.co/bert/gpt2-pytorch_model.bin
pip install -r requirements.txt
python main.py --text "We are living in information age. "
Download
0 formats
No download links available.
Generate Text using OpenAIGPT2 in Python | NatokHD