Datasets:
Update metrics/zero_scrolls.py
Browse files- metrics/zero_scrolls.py +4 -8
metrics/zero_scrolls.py
CHANGED
@@ -5,15 +5,11 @@ from copy import deepcopy
|
|
5 |
import datasets
|
6 |
|
7 |
# fmt: off
|
8 |
-
from .rouge import compute_rouge,
|
9 |
-
|
10 |
-
from .accuracy import \
|
11 |
-
compute_accuracy # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/accuracy.py
|
12 |
from .f1 import compute_f1 # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/f1.py
|
13 |
-
from .exp_similarity import
|
14 |
-
|
15 |
-
from .concordance_index import \
|
16 |
-
compute_concordance_index # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/concordance_index.py
|
17 |
|
18 |
# fmt: on
|
19 |
|
|
|
5 |
import datasets
|
6 |
|
7 |
# fmt: off
|
8 |
+
from .rouge import compute_rouge, postprocess_text as rouge_postprocess_text # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/rouge.py
|
9 |
+
from .accuracy import compute_accuracy # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/accuracy.py
|
|
|
|
|
10 |
from .f1 import compute_f1 # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/f1.py
|
11 |
+
from .exp_similarity import compute_exp_similarity # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/exp_similarity.py
|
12 |
+
from .concordance_index import compute_concordance_index # From: https://huggingface.co/datasets/tau/zero_scrolls/raw/main/metrics/concordance_index.py
|
|
|
|
|
13 |
|
14 |
# fmt: on
|
15 |
|