Hi,
I wanted to try AutoTrain but Iâm unable to upload the dataset (a Token Classification task).
After I choose the file to upload there is a modal to choose the Split type (Training / Validation / Auto) and map columns. After clicking âAdd to projectâ button âUploading your file. This may take up to a few minutes, depending on your connection speed.â message appears and it never disappears. From the Network tab in the browserâs dev tools I can see that there is some kind of CORS error.
@radames itâs a 193MB CSV file. At first I tried Firefox a few times and then Chrome.
After first (failed) try Iâve noticed that a new dataset was created - but it wasnât connected to the AutoTrainâs project. Projectâs AutoTrain data page was still empty. So I deleted it in the hope that the whole process will be successful in the next try.
When creating a project in AutoTrain, an associated dataset repo is created on the HuggingFace Hub to store your data files.
When you upload a file through AutoTrain, it tries to push it to that dataset repo. Since you deleted it, that dataset repo cannot be found (hence the 404 - not found error).
Creating a dataset repo named âautotrain-data-inouts-token-classificationâ on the HuggingFace Hub should solve your last issue.