from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/LaBSE')
embeddings = model.encode(sentences)
print(embeddings)
Evaluation Results
For an automated evaluation of this model, see the
Sentence Embeddings Benchmark
:
https://seb.sbert.net
LaBSE huggingface.co is an AI model on huggingface.co that provides LaBSE's model effect (), which can be used instantly with this sentence-transformers LaBSE model. huggingface.co supports a free trial of the LaBSE model, and also provides paid use of the LaBSE. Support call LaBSE model through api, including Node.js, Python, http.
LaBSE huggingface.co is an online trial and call api platform, which integrates LaBSE's modeling effects, including api services, and provides a free online trial of LaBSE, you can try LaBSE online for free by clicking the link below.
sentence-transformers LaBSE online free url in huggingface.co:
LaBSE is an open source model from GitHub that offers a free installation service, and any user can find LaBSE on GitHub to install. At the same time, huggingface.co provides the effect of LaBSE install, users can directly use LaBSE installed effect in huggingface.co for debugging and trial. It also supports api for free installation.