1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to LLMs in Python

Connected

Exercise

Using the fine-tuned model

The model has been fine-tuned. Now you ready to use on some new data and generate some classifications. Let's see how well your fine-tuned model does at tagging new interactions as either low or high risk for churn.

Your fine-tuned model and the tokenizer have been loaded for you.

Instructions

100 XP
  • Tokenize the new data.
  • Pass the tokenized inputs into the fine-tuned model, disabling gradients.
  • Extract the new predictions.