text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train = pd.read_csv('../input/train.tsv', sep='\t')
test = pd.read_csv('../input/test.tsv', sep='\t')
train['Sentiment'] = train['Sentiment'].apply(str)

data = TextList.from_df(train, cols='Phrase').split_by_rand_pct(0.2).label_for_lm().databunch(bs=48)

learn = language_model_learner(data, AWD_LSTM, drop_mult=0.3)

learn.lr_find()

learn.recorder.plot()