Should the inputs, outputs, and references be list of str or str?
I was wondering why we each example in a dataset is a list of str? Should it not be just str? Many dataset are just using a list of one item.
I guess sometimes you have multiple human references so that makes sense to me. What am I missing?
https://github.com/Multi-Agent-LLMs/mallm/blob/ba8e8cef3333870693274ceceeeeb60a0a758ff8/mallm/utils/types.py#L62-L65
Also, only the context needs to be str. What else can the inputs and outputs be if not str? Can they be dicts or smth?
https://github.com/Multi-Agent-LLMs/mallm/blob/ba8e8cef3333870693274ceceeeeb60a0a758ff8/mallm/utils/types.py#L71-L75
@lkaesberg Git said you wrote this code but feel free to give it to the person that has made this design choice to explain.
I did this to support a wider array of tasks. Some example tasks.
Tasks with multiple inputs: multi-document summarization (MultiNews)
Tasks with multiple contexts: paraphrase type generation (ETPC)
Tasks with multiple references
Currently only str are supported. I did not think about other types yet.
Got it, let's keep it this way then. I added checks for things being lists of only string too here: 26c26cb34aae3f2d0de9b265c604c5169c0a1eba