Hello. We can’t give you any specific advice unless we know which model and dataset is causing the error…
If you don’t put the data set in the HF data set repository, autotrain won’t work properly.
Basically, that error occurs when the program is not passed the number of types of data it expects.
As a general rule, I think it’s easier to get it to work if you first try running a very simple sample that seems to work without a problem, and then replace it with your own model and data.
It seems that this can also be caused by bugs or insufficient performance in the library, and in such cases it is difficult to solve the problem on your own.