Finetuning GPT-J6B for custom dataset

How to prepare the dataset to feed GPT-J6B for finetuning.
Any steps or tutorial is appreciated. Thanks