How use the dataset to train my model GPT

#1
by luisaarias - opened

Hi, I'm just getting started and want to train my GPT-2 model to generate answers directly from questions in this dataset. But unfortunately, I don't know how to use this page in this case. How can I use the dataset to train my GPT model?

Hi, I'm just getting started and want to train my GPT-2 model to generate answers directly from questions in this dataset. But unfortunately, I don't know how to use this page in this case. How can I use the dataset to train my GPT model?

Hey, Luis, I believe you should format the dataset first before tokenizing in this case. Try to concatenate each question and answer pair into one string, then you should be able to tokenize and train the model.

This comment has been hidden (marked as Off-Topic)
reddrex changed discussion status to closed
reddrex changed discussion status to open

Sign up or log in to comment