Skip to content

Commit

Permalink
Prioritize using default templates from card over task
Browse files Browse the repository at this point in the history
Signed-off-by: elronbandel <[email protected]>
  • Loading branch information
elronbandel committed Feb 11, 2025
1 parent 7d3d517 commit f41a1ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/unitxt/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,6 @@ def prepare(self):
# First try to use the defined defaults
if self.card.default_template is not None:
self.template = self.card.default_template
else:
self.template = self.card.task.default_template

# Than try to infer the default
if self.template is None:
Expand Down

0 comments on commit f41a1ae

Please sign in to comment.