How to Train a Generative Pre-training Transformer

Hello everyone,

I’m looking to train a Generative Pre-training Transformer and i wanted to ask if can anyone help me, because i want to create a small model that can be trained using text files and can provide some answers. I don’t expect it to be an expert in all topics, but it would be sufficient if it can answer a few questions on a specific topic. Can anyone help me with this?

Thank you!