pytorch-openai-transformer-lm icon indicating copy to clipboard operation
pytorch-openai-transformer-lm copied to clipboard

Instructions for encoding own sentences

Open izaskr opened this issue 6 years ago • 1 comments

I'd like to use GPT to encode my dataset and use the representations further for the task of question generation. I have problems with understanding the code and the name of the arguments in the train.py file (in main). Could anyone direct me to some examples (I already search online) or possibly post some here?

Cheers

izaskr avatar Jun 12 '19 11:06 izaskr

Hi, I customized the codes to a classification task, and added some comments along with the codes...hope this would be helpful.. https://github.com/zhujohn9604/TextClassification_GPT

zhujohn9604 avatar Jun 25 '20 14:06 zhujohn9604