Hi, thank you for sharing the codes!
However, there is still something wrong with the dataset you provided. In corpus_preprocessed.txt, the indexes are numbers, whereas in relation_train.txt, the query indexes are Q+numbers. This results in the error:
File "arcii.py", line 40, in get_texts texts1.append(all_words[t_].split(' ')) KeyError: 'Q1'
Hi, thank you for sharing the codes! However, there is still something wrong with the dataset you provided. In corpus_preprocessed.txt, the indexes are numbers, whereas in relation_train.txt, the query indexes are Q+numbers. This results in the error:
File "arcii.py", line 40, in get_texts texts1.append(all_words[t_].split(' ')) KeyError: 'Q1'
Could you help update the dataset?