Commit 6282a1be authored by lintangsutawika's avatar lintangsutawika
Browse files

resolved merg conflict

parents c5d27743 d4546ef8
...@@ -38,6 +38,7 @@ def simple_evaluate( ...@@ -38,6 +38,7 @@ def simple_evaluate(
write_out: bool = False, write_out: bool = False,
log_samples: bool = True, log_samples: bool = True,
gen_kwargs: str = None, gen_kwargs: str = None,
weight_by_size: bool = False,
): ):
"""Instantiate and evaluate a model on a list of tasks. """Instantiate and evaluate a model on a list of tasks.
...@@ -155,6 +156,7 @@ def simple_evaluate( ...@@ -155,6 +156,7 @@ def simple_evaluate(
decontamination_ngrams_path=decontamination_ngrams_path, decontamination_ngrams_path=decontamination_ngrams_path,
write_out=write_out, write_out=write_out,
log_samples=log_samples, log_samples=log_samples,
weight_by_size=weight_by_size,
) )
if lm.rank == 0: if lm.rank == 0:
...@@ -197,6 +199,7 @@ def evaluate( ...@@ -197,6 +199,7 @@ def evaluate(
decontamination_ngrams_path=None, decontamination_ngrams_path=None,
write_out: bool = False, write_out: bool = False,
log_samples: bool = True, log_samples: bool = True,
weight_by_size: bool = False,
): ):
"""Instantiate and evaluate a model on a list of tasks. """Instantiate and evaluate a model on a list of tasks.
......
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