Skip to content

Commit c31aced

Browse files
committed
Merge branch 'main' of https://github.com/ignorejjj/FlashRAG into main
2 parents 3ffa8ef + 1f0efd3 commit c31aced

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flashrag/evaluator/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class F1_Score(BaseMetric):
5252
def __init__(self, config):
5353
super().__init__(config)
5454

55-
def token_level_scores(self, prediction: str, ground_truths: str):
55+
def token_level_scores(self, prediction: str, ground_truths: list):
5656
final_metric = {"f1": 0, "precision": 0, "recall": 0}
5757
if isinstance(ground_truths, str):
5858
ground_truths = [ground_truths]

flashrag/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.3dev0"
1+
__version__ = "0.1.4dev0"

0 commit comments

Comments
 (0)