Hello, so i have used bm25.py and it creates the .pkl file, now when i use editdis_retrieval.py when it goes to open the .pkl file it shows the error
bm25_dict = pickle.load(open('/hdd/zaki/Pratik/contrasmem/NMT_with_contrastive_memories/custom/data/retrieval/bm25_src.pkl','rb'))
_pickle.UnpicklingError: invalid load key, '['.
Hello, so i have used bm25.py and it creates the .pkl file, now when i use editdis_retrieval.py when it goes to open the .pkl file it shows the error
bm25_dict = pickle.load(open('/hdd/zaki/Pratik/contrasmem/NMT_with_contrastive_memories/custom/data/retrieval/bm25_src.pkl','rb')) _pickle.UnpicklingError: invalid load key, '['.