From 983e8d1e7489dcec6f9528e6483bc31d5707d64c Mon Sep 17 00:00:00 2001 From: "clementine@huggingface.co" Date: Wed, 28 Feb 2024 13:39:04 +0000 Subject: [PATCH] fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6270dc31..568394cf 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ from lighteval.metrics import Metrics ```python # Adds the metric to the metric list! -extend_enum(Metrics, "ifeval_metric", ifeval_metrics) +extend_enum(Metrics, "metric_name", metric_function) if __name__ == "__main__": print("Imported metric") ```