huggingface / setfit

Efficient few-shot learning with Sentence Transformers
https://hf.co/docs/setfit
Apache License 2.0
2.24k stars 222 forks source link

Extract generated text embeddings? #546

Closed calliebradley closed 2 months ago

calliebradley commented 2 months ago

Hi, I would like to generate text embeddings from my data using SetFit but then be able to view the generated text and use it to train a different classifier for comparison. I know SetFit generates straight embeddings but can I translate it into text to view like this?

calliebradley commented 2 months ago

Hi again, in case anyone else comes along with m

calliebradley commented 2 months ago

Hi again, in case anyone else comes along with my same question - I realized the generated text pairs are not additionally generated text, but generated pairings of the existing text data. I'm going to use my trained SetFit model to do comparative embeddings as a derived feature to compare to another classifier instead.