1. Learn
  2. /
  3. Courses
  4. /
  5. Working with Llama 3

Connected

Exercise

Guiding customer support responses

You work for an e-commerce company and are integrating Llama into a customer support assistant. The assistant answers frequently asked questions, but you've noticed that responses are too repetitive.

You need to modify decoding parameters to encourage more varied wording while keeping responses informative.

The model is already instantiated with a model using llama_cpp and is stored in llm.

Instructions

100 XP
  • Set the temperature parameter so that responses are less repetitive and more dynamic.