Autotrain Trainings Tab: Error Loading Dataset

Iā€™m encountering this error on a Binary Text Classification Model. My dataset appears to be formatted correctly, so Iā€™m at a lossā€¦

Error

There was a problem while converting your dataset files.

You can fix it by editing your training data.

format_source

Formatting data for the selected task

FAILED

Error details

Error type: DatasetGenerationError Details: An error occurred while generating the dataset

Context

{ ā€œrequest_idā€: ā€œda6df7034a5b2193708acad14cb6113dā€, ā€œidā€: 49521, ā€œfnameā€: ā€œwhywontyouwork.csvā€, ā€œsplitā€: 4, ā€œcol_mappingā€: { ā€œTitle and Descriptions:\nTitle: Desktop Tower\n, Description: Desktop tower, intel i5-3470, 8GB RAM, 250GB SSD\n Condition: GOOD\n Note: Click on pictures below to view larger image\nSummarization: intel i5-3470 desktop tower 8gb ram 250gb SSDā€: ā€œtextā€, ā€œCorrectā€: ā€œtargetā€ } }

AutoTrain - HuggingFace

A potential solution is to ensure that there are no trailing spaces at the end of each row in your csv file. You can address this by replacing ā€˜\s*$ā€™ with an empty string for every row.