From b99a45b444c7115271c74ced922b8fe6ff66424d Mon Sep 17 00:00:00 2001 From: Tristan Barennes <150427779+TristanPy@users.noreply.github.com> Date: Tue, 1 Apr 2025 09:36:52 +0400 Subject: [PATCH] Update section3.ipynb error with the command "from datasets import evaluate" --- course/fr/chapter3/section3.ipynb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/course/fr/chapter3/section3.ipynb b/course/fr/chapter3/section3.ipynb index 27d9d6bc..36a27dc2 100644 --- a/course/fr/chapter3/section3.ipynb +++ b/course/fr/chapter3/section3.ipynb @@ -143,9 +143,10 @@ }, "outputs": [], "source": [ - "from datasets import load_metric\n", + "!pip install evaluate\n", + "import evaluate\n", "\n", - "metric = load_metric(\"glue\", \"mrpc\")\n", + "metric = evaluat.load(\"glue\", \"mrpc\")\n", "metric.compute(predictions=preds, references=predictions.label_ids)" ] },