311 – Fine tuning GPT2 using custom documents​

Code generated in the video can be downloaded from here:
https://github.com/bnsreenu/python_for_microscopists/blob/master/311_fine_tuning_GPT2.ipynb

All other code:
https://github.com/bnsreenu/python_for_microscopists

This tutorial explains the simple process of fine-tuning GPT2 using your own documents. It also demonstrates the advantages of structuring your training data as Q & A rather than long text.

Source

admin

ClicGo Demo