Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prioritize using default templates from card over task #1596

Merged
merged 9 commits into from
Feb 13, 2025
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
Loading