We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ffa8ef + 1f0efd3 commit c31acedCopy full SHA for c31aced
flashrag/evaluator/metrics.py
@@ -52,7 +52,7 @@ class F1_Score(BaseMetric):
52
def __init__(self, config):
53
super().__init__(config)
54
55
- def token_level_scores(self, prediction: str, ground_truths: str):
+ def token_level_scores(self, prediction: str, ground_truths: list):
56
final_metric = {"f1": 0, "precision": 0, "recall": 0}
57
if isinstance(ground_truths, str):
58
ground_truths = [ground_truths]
flashrag/version.py
@@ -1 +1 @@
1
-__version__ = "0.1.3dev0"
+__version__ = "0.1.4dev0"
0 commit comments