Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Encoder doesn't work #83

Open
ruskyvisky opened this issue May 21, 2021 · 1 comment
Open

Encoder doesn't work #83

ruskyvisky opened this issue May 21, 2021 · 1 comment

Comments

@ruskyvisky
Copy link

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.

@inverseLorentz
Copy link

inverseLorentz commented Jul 5, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants