text_plain_output_1.png
(df_train.shape, df_valid.shape)

path = Path('../input/')

path.ls()

src = ItemLists(path, TextList.from_df(df_train, path='.', cols=1), TextList.from_df(df_valid, path='.', cols=1))

data = src.label_from_df(cols=2).databunch(bs=48)

data.vocab.itos[:10]

data.train_ds[0][0]

data.train_ds[0][0].data[:10]