Hello, there!
I am very interested on your project.
Even though I don't know GPT2 model, I have many experience of tensorflow, pythorch, ImageAI.
I am now performing the artificial intelligence task of training the images captured with IP cameras, custom object detection and picking up the correspond objects with the delta robot.
Compared to that project, your project will not be so difficult.
Best Respect.