graykode / gpt-2-Pytorch

Simple Text-Generator with OpenAI gpt-2 Pytorch Implementation
MIT License
963 stars 225 forks source link

Is there a way to use text file contents as an argument rather than text? #19

Open JVTEAM opened 4 years ago

JVTEAM commented 4 years ago

I have a text file that pulls todays headlines. I'd like to feed that into the model as the prompt.