Lesson4-IMDB LanguageModelData.from_text_files

(Sam) #1

After having generated datamodel md as:

md = LanguageModelData.from_text_files(PATH, TEXT, **FILES, bs=bs, bptt=bptt, min_freq=10)

I want to give myself and my computer a break.

Is there a way to save the md?
my TEXT object is saved as a pickle.
md happens to be a generator and hence can’t be pickled.
Can I build md from the pickled TEXT?