1. Learn
  2. /
  3. Courses
  4. /
  5. Fine-Tuning with Llama 3

Connected

Exercise

Saving preprocessed datasets

As part of your customer service chatbot project, you now have prepared a dataset for fine-tuning a Llama model. The next step is to save the dataset so that you can reload it later without having to repeat the preprocessing steps. This will allow your team to reuse the dataset across multiple experiments and iterations.

Instructions

100 XP
  • Save the preprocessed dataset ds to disk.
  • Load the saved dataset into a new variable ds_preprocessed.
  • Print the first element of ds_preprocessed.