Skip to content

-Bugfix for failing load_dataset.py when there is an empty line in CS…#235

Open
cderinbogaz wants to merge 1 commit into
minimaxir:masterfrom
cderinbogaz:master
Open

-Bugfix for failing load_dataset.py when there is an empty line in CS…#235
cderinbogaz wants to merge 1 commit into
minimaxir:masterfrom
cderinbogaz:master

Conversation

@cderinbogaz

Copy link
Copy Markdown

I have realised that load_dataset.py fails if there is an empty string exist in loaded CSV file. That causes script to give the following error:
raw_text += start_token + row[0] + end_token + "\n"
IndexError: list index out of range

Problem was fixed after this commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant