"tests/test_models/vscode:/vscode.git/clone" did not exist on "139c6f0c7175d7f20bd0632678e52066daa5a246"
Commit 624fb207 authored by haileyschoelkopf's avatar haileyschoelkopf
Browse files

reenable bootstrapping

parent e4bdffd0
...@@ -470,10 +470,10 @@ def evaluate( ...@@ -470,10 +470,10 @@ def evaluate(
# hotfix: bleu, chrf, ter seem to be really expensive to bootstrap # hotfix: bleu, chrf, ter seem to be really expensive to bootstrap
# so we run them less iterations. still looking for a cleaner way to do this # so we run them less iterations. still looking for a cleaner way to do this
if False: # bootstrap_iters > 0: if bootstrap_iters > 0:
stderr = lm_eval.api.metrics.stderr_for_metric( stderr = lm_eval.api.metrics.stderr_for_metric(
metric=task.aggregation()[metric], metric=task.aggregation()[metric],
bootstrap_iters=min(bootstrap_iters, 1000) bootstrap_iters=min(bootstrap_iters, 100)
if metric in ["bleu", "chrf", "ter"] if metric in ["bleu", "chrf", "ter"]
else bootstrap_iters, else bootstrap_iters,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment