Open ghost opened 4 years ago
I encountered this same error. I ran download_tweets.py on Windows, and the resulting CSV had blank lines between each row. The blank lines produce rows with length 0, thus the IndexError.
I removed the blank lines, which got things working. (Bless Notepad++ for this feature, I had a 40+ MB csv.)
This Stack Overflow post has more info on why the blank lines appear on Windows.
Chupachis, did you resolve this issue? I'm also consistently running into the same one. As I'm not running the download script in Windows I haven't experienced lanekelly's error. Tks
Hi there, I'm trying to train a .CSV of downloaded tweets. Whenever I try to start the finetuning process, I get a IndexError Out of Range error. I looked around and saw somebody seemed to have had the same kind of issue https://github.com/minimaxir/gpt-2-simple/issues/77
I get that same issue if I try running the finetuning again, but I guess it's because I need to restart Python everytime the finetuning ends, even if it doesn't really start. Restarting the runtime just takes me back to the original error, the out of range one.