Source code for epbd_bert.utility.pickle_utils import pickle [docs] def save(data, path): with open(path, "wb") as f: pickle.dump(data, f) [docs] def load(path): with open(path, "rb") as f: return pickle.load(f)