Learn practical skills, build real-world projects, and advance your career
%reload_ext autoreload
%autoreload 2
%matplotlib inline
from fastai.text import *

Download the dataset

Sample Data

path=untar_data(URLs.IMDB_SAMPLE);path.ls()
[PosixPath('/home/ubuntu/.fastai/data/imdb_sample/data_lm.pkl'),
 PosixPath('/home/ubuntu/.fastai/data/imdb_sample/tmp'),
 PosixPath('/home/ubuntu/.fastai/data/imdb_sample/data_save.pkl'),
 PosixPath('/home/ubuntu/.fastai/data/imdb_sample/texts.csv'),
 PosixPath('/home/ubuntu/.fastai/data/imdb_sample/models')]