deep learning for text and sequences figure training and validation loss wit hout using pret rained word embeddings figure training and validation accuracy wit hout using pret rained word embeddings validation accuracy stalls in the low so in this casepretrained word embeddings outperform jointly learned embeddings if you increase the number of training samplesthis will quickly stop being the case--try it as an exercise finallylet' evaluate the model on the test data firstyou need to tokenize the test data listing tokenizing he dat of he est set test_dir os path join(imdb_dir'test'labels [texts [for label_type in ['neg''pos']dir_name os path join(test_dirlabel_typefor fname in sorted(os listdir(dir_name))if fname[- :=txt' open(os path join(dir_namefname)texts append( read()licensed to