Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra-barikbin committed Jul 7, 2024
1 parent 426510f commit 469af96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lighteval/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ class Metrics(Enum):
corpus_level_fn=np.mean,
higher_is_better=True,
)
#How is to rename it to bow_f1_score?
f1_score = SampleLevelMetric(
metric="f1",
sample_level_fn=F1_score().compute,
Expand All @@ -209,7 +208,6 @@ class Metrics(Enum):
sample_level_fn=GenerativePreparator().prepare,
category=MetricCategory.GENERATIVE,
use_case=MetricUseCase.ACCURACY,
# CorpusLevelF1Score.compute expects LogprobCorpusMetricInput as input
corpus_level_fn=CorpusLevelF1Score(average="macro").compute,
higher_is_better=True,
)
Expand Down

0 comments on commit 469af96

Please sign in to comment.