Transformers: Universal Sentence Encoder

Created on 15 Jan 2020  路  10Comments  路  Source: huggingface/transformers

馃専New model addition

Model description

Encoder of greater-than-word length text trained on a variety of data.

Open Source status

Additional context

Standard for sentence embedding, but would like to compare to other methods without having to rely on Tensorflow hub.

wontfix

Most helpful comment

+1 !!
At reply.ai we have been using USE a lot for Semantic Retrieval. What most impressed us was the Q&A dual encoder model. Works better than anything else I know in case you need semantic similarity between a query and contexts.
It's true that Tensorflow Hub makes it super easy to work with. But we use your Transformers lib for everything else. So would be nice to have it all in one place.

All 10 comments

+1 !!
At reply.ai we have been using USE a lot for Semantic Retrieval. What most impressed us was the Q&A dual encoder model. Works better than anything else I know in case you need semantic similarity between a query and contexts.
It's true that Tensorflow Hub makes it super easy to work with. But we use your Transformers lib for everything else. So would be nice to have it all in one place.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Bump. I would appreciate this, as it would be handy to have a model geared toward semantic similarity rather than auto-encoding/ auto-regression, as all of the other default models are.
Thanks!

+1. I think this could be a great addition.

+1

This might be a more appropriate model to port: https://tfhub.dev/google/universal-sentence-encoder-multilingual-large/3

The model in the OP was updated with the one linked above, alongwith addition of 15 languages.

+1.

I started working on this independently here. Would be great to get some help from anyone interested to get it done faster.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

delip picture delip  路  3Comments

alphanlp picture alphanlp  路  3Comments

zhezhaoa picture zhezhaoa  路  3Comments

yspaik picture yspaik  路  3Comments

hsajjad picture hsajjad  路  3Comments