nshepperd/gpt-2

Encoder doesn't work

ruskyvisky opened this issue · 1 comments

Hi everyone. I'm trying writing poems with GPT-2 AI. I'm newbie on AI.

I want my txt data convert to npz file.
image

But I'm take error on this photo.
I'm using python encode.py train.txt training.npz command.
I loaded requirement packages. Only regex package ı take a error this version. I was change it another version.
regex error:
image

what can ı do? Thx for helping.

Try moving the encode.py and train.py files into the src folder, then cd into the src folder and run the encode command again. This should also fix training if you have a problem with that.