How to use fine tuning in text

Hi!

I understand what fine tuning is. Also, I went through this: finetuning-in-pytorch however, most of the things what I found is about fine-tuning for image. Can someone please explain a bit (probably with a code) how to make use of fine-tuning for text? Is there any example to share?

Thank you