Closed anindyasdas closed 3 years ago
can you please tell which code you are referring to?
Hello, The following module /EmbedKGQA/blob/master/KGQA/RoBERTa/main.py
Line_no: 404
it replaces the entity name with 'NE' (named entity) in the question. It helps slightly in performance, since entity information is not needed in question embedding. However it is not strictly necessary, you can just remove the '[]' brackets and proceed as well.
what standard time is michigan? ---> what standard time is michigan NE 'what team is cristiano ronaldo play for NE'
question = question_1+'NE'+question_2