memray / OpenNMT-kpg-release

Keyphrase Generation
MIT License
216 stars 34 forks source link

about keyphrase representation in General-to-Specific Transfer Labeling for Domain Adaptable Keyphrase Generation #57

Closed sjchasel closed 1 year ago

sjchasel commented 2 years ago

I note that you visualize phrases with T-SNE projection in your new paper. Could you tell me what method did you use to get the phrase representation?

memray commented 1 year ago

We used BERT-base to generate phrase embeddings: feed-forward each phrase independently as a sequence and take the [CLS] embedding as the phrase embedding.