class gensim.utils.SaveLoad[source]

Objects which inherit from this class have save/load functions, which un/pickle them to disk.

This uses pickle for de/serializing, so objects must not contain unpicklable attributes, such as lambda functions etc.


load(fname[, mmap]) Load a previously saved object from file (also see save).
save(fname_or_handle[, separately, ...]) Save the object to file (also see load).