BioGPT icon indicating copy to clipboard operation
BioGPT copied to clipboard

How to get last layer embedding

Open rajkumar-surana opened this issue 1 year ago • 0 comments

I was trying to get last layer embedding that too of only one token[should i go with first token or I can pool]. How can I do that? I want to get embeddings for query-query or query-passage similarity tasks.. Thanks

rajkumar-surana avatar May 09 '23 16:05 rajkumar-surana