Skip to content

Commit 49c348d

Browse files
author
Ricardo Rei
authored
Merge pull request #248 from asharma-coursera/patch-1
Fix compare method for reference free models
2 parents 01049f1 + 4555dbd commit 49c348d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comet/cli/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def compare_command() -> None:
436436
parser.error(
437437
"{} requires -r/--references or -d/--sacrebleu_dataset.".format(cfg.model)
438438
)
439-
439+
references = cfg.references if cfg.references is not None else None
440440
if not cfg.disable_cache:
441441
model.set_embedding_cache()
442442

0 commit comments

Comments
 (0)