ULMFiT_Text_Classification
ULMFiT_Text_Classification copied to clipboard
How can i do fix this problem
NameError Traceback (most recent call last)
NameError: name 'TextLMDataBunch' is not defined
Try to run the code on Python3 instead of 2 and use this line
learn = language_model_learner(data_lm, arch=AWD_LSTM, drop_mult=0.7) instead of learn = language_model_learner(data_lm, pretrained_model=URLs.WT103, drop_mult=0.7)