Week 3 lab: upgrade to the new "lighteval" API

In week 3’s lab, the old “evaluate” API is used ( GitHub - huggingface/evaluate: 🤗 Evaluate: A library for easily evaluating machine learning models and datasets. · GitHub ). I’d like to upgrade the Jupiter’s notebook, in order to use the new “lighteval” API ( GitHub - huggingface/lighteval: Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends · GitHub ). This should be more efficient, but works according to a different paradigm that is not really clear to me. Can anybody help me to upgrade the notebook to this new API?