Let’s fine-tune Meta’s Llama 3.1 model on openai/gsm8k dataset using QLoRA.

Install the dependencies

First, let’s install the libraries required for fine-tuning. We'll be install the latest versions (at the time of writing) of the libraries.

Get hands-on with 1400+ tech skills courses.