Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
knoriy authored Dec 13, 2023
1 parent 86d3f1e commit faec8a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clara/eval/test_zeroshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def main(args):
##############
dataset.setup()

zeroshot_weights, all_texts = zeroshot_classifier(model, classes, templates)
zeroshot_weights, all_texts = zeroshot_text(model, classes, templates)
tops = run(model, zeroshot_weights, dataset.test_dataloader(), metric, args.task)

return tops
Expand All @@ -130,4 +130,4 @@ def main(args):

tops = main(args)

pprint(tops)
pprint(tops)

0 comments on commit faec8a5

Please sign in to comment.