lanyunshi / ConversationalKBQA

15 stars 2 forks source link

How to embed answers #2

Closed SRL94 closed 2 years ago

SRL94 commented 2 years ago

The Conversation History Encoder embeds the questions by feeding glove word embeddings to a Bi-LSTM. How do you encode the answers?

lanyunshi commented 2 years ago

Hi,

It should be the same way as the questions. You can refer to the code policy.ranker.forward_answer() for more details.