IBM / unitxt

🦄 Unitxt: a python library for getting data fired up and set for training and evaluation
https://unitxt.rtfd.io
Apache License 2.0
134 stars 28 forks source link

Move templates to task #905

Open elronbandel opened 2 weeks ago

elronbandel commented 2 weeks ago

Add to the recipe an option to use the templates list from the task and use the first one by default. This simplify the construction of new cards assuming they will get their templates from the task. This also make the card purpose clearer: its job is only to align data to task. The rest is a bonus.

yoavkatz commented 2 weeks ago

How could it work in practice? Would the card not have templates? Or both the card and task will have templates?

Would it be specified via the template param or template_card_index param, or with a new template_task_index?

How could someone add a template "inline" in the card, if the task is already defined?

Maybe writing done examples will help.