How to use textbooks for fine-tuning LLM

Hello, I want to use Lit-parrot for fine-tuning a Text generating open source model. How to train the model using text books?