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

Connected

Exercise

Saving custom recipes

The customer has now asked you for a modification in the requirements. This time, they'd like to increase the number of parameters and use the Llama 3.2 model with 3B parameters. You make this modification to your dictionary, and then save it as a YAML file.

The yaml library has been pre-imported.

Instructions

100 XP
  • Specify the new model requirement, the torchtune.models.llama3_2.llama3_2_3b model, in your dictionary.
  • Save the requirements as a YAML file named custom_recipe.yaml.