oborchers / Fast_Sentence_Embeddings

Compute Sentence Embeddings Fast!
GNU General Public License v3.0
619 stars 83 forks source link

S3E pooling? #67

Open KnutJaegersberg opened 2 years ago

KnutJaegersberg commented 2 years ago

From this research, Sentence Embedding via Semantic Subspace Analysis (S3E) allows us to construe sentence embeddings which are competitive with sentence bert. [Sentence Embedding via Semantic Subspace Analysis](https://github.com/BinWang28/Sentence-Embedding-S3E)

Would be handy to have in your library? I'm not a pythoneer, but from what I get from others code is it seems not very complicated to implement:

https://github.com/deepset-ai/FARM/blob/master/examples/embeddings_extraction_s3e_pooling.py