how to get the word embedding from finbert models

#3
by rajnishrajput12 - opened

how to get the word embedding from finbert models
like we can get the embeddings from other bert model using
from sentence_transformers import SentenceTransformer
model = SentenceTransformer(r"C:\Users***\Downloads\paraphrase_minibert")
sent_embedding = model.encode("this is sample text to get word embeddings")

Sign up or log in to comment