Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Extract sentence embedding from GPT2

$
0
0

How can I get embedding of an input sentence as output from GPT2. I want to build semantic search on my text corpus by creating sentence embeddings using GPT2. I have implementation of the same using bert-base-nli-mean-tokens.
Need help to build it using GPT2.
Regards
Sanjoy

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles