Hi, I am using the following code to generate embeddings for sentences.
from sentence_transformers import SentenceTransformer
sentences = [“This is an example sentence”, “Each sentence is converted”]
model = SentenceTransformer(‘sentence-transformers/paraphrase-xlm-r-multilingual-v1’)
embeddings = model.encode(sentences)
print(embeddings)
Now I generate synthetic data using these embeddings and I am using SMOTE for that.
Now I have synthetic embeddings generated by SMOTE.
How can I convert these synthetic embeddings into text?
appreciate the help!
Thank you