pytorch-openai-transformer-lm
pytorch-openai-transformer-lm copied to clipboard
Instructions for encoding own sentences
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
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