When I try to run:
data_lm = (TextFilesList.from_folder(path)
#Inputs: all the text files in path
.filter_by_folder(include=['train', 'test'])
#We may have other temp folders that contain text files so we only keep what's in train and test
.random_split_by_pct(0.1)
#We randomly split and keep 10% (10,000 reviews) for validation
.label_for_lm()
#We want to do a language model so we label accordingly
.databunch())
I get:
TypeError: ufunc βaddβ did not contain a loop with signature matching types dtype(β<U32β) dtype(β<U32β) dtype(β<U32β)```
Any suggestions?