Closed glicerico closed 4 years ago
My bad, I didn't realize that the pickle file I was using was corrupt, so BertModel was not processing the test corpus correctly. Re-training and getting a proper pickle file, I do get the WSD tags in the output file
I noticed that the output after running BertModel.py is the same as the test-file, with the fields perhaps arranged in a different order, but there are no WSD tags. The line that writes the output file in the code: https://github.com/uhh-lt/bert-sense/blob/bfecb3c0e677d36ccfab4e2131ef9183995efaef/BERT_Model.py#L530 seems to simply write the same tree structure as the test file.