AutoNLP backend gives this error on uploading a training file:
Model is binary classification
INFO [1/1] Copying /home/vv/git/hf/csvDatasets/train.csv to /home/vv/.huggingface/autonlp/projects/Vasan/autonlp-data-item_detection/raw/train.csv…
INFO Uploading files to the dataset hub…
INFO Successfully uploaded the files!
INFO [1/1] Registering file train.csv into project ‘train.csv’…
ERROR Oops! Something failed in AutoNLP backend…
ERROR Error code: 422; Details: ‘[{‘loc’: [‘body’, ‘split’], ‘msg’: ‘value is not a valid integer’, ‘type’: ‘type_error.integer’}]’
The content of the file I tried to upload is:
sentence,label
body,body
leg,leg
chewbakka,not
pita,pita
Note: If I try to load again, the error disappears, but the message:
INFO Uploading files to the dataset hub…
INFO Files did not change since last upload!
Yupee! Your files have been uploaded.
It looks like it did not load anything, since the file had not changed (but it did not load succesffully the first time!)
Any suggestion is welcome…