Error when training with very few examples
aliasaria opened this issue · comments
ali asaria commented
Loaded train dataset with 39 examples.
...
raise ValueError(f'Unknown split "{split}". Should be one of {list(name2len)}.')
ValueError: Unknown split "test". Should be one of ['train'].
I believe this happens when you have less than 100 examples. Warn users better about this error or prevent it in the first place.
Tony Salomone commented
I think this was unrelated to number of samples and is fixed now in main.