[fastai.text] prerequisites for running TextList.from_csv


throws BrokenProcessPool' Error sometimes. Keep trying till it works!

count = 0
error = True
while error:
# Preprocessing steps
data = (TextList.from_csv(path, ‘train_rev.csv’, cols=‘text’)
error = False
print(f’failure count is {count}\n’)
except: # catch all exceptions
# accumulate failure count
count = count + 1
print(f’failure count is {count}’)

I am trying to run this code on a NLP dataset. However, my failure count keeps increasing and it never stops.
Is there any prerequisites for running TextList.from_csv ?

Referring to the following notebook from the course :

I am also stuck on it. seems it went in infinite loop, any help would be appreciated