sentence-transformers / LaBSE

huggingface.co
Total runs: 682.8K
24-hour runs: 0
7-day runs: 62.3K
30-day runs: -369.3K
Model's Last Updated: March 06 2025
sentence-similarity

Introduction of LaBSE

Model Details of LaBSE

LaBSE

This is a port of the LaBSE model to PyTorch. It can be used to map 109 languages to a shared vector space.

Usage (Sentence-Transformers)

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

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

Full Model Architecture
SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
  (2): Dense({'in_features': 768, 'out_features': 768, 'bias': True, 'activation_function': 'torch.nn.modules.activation.Tanh'})
  (3): Normalize()
)
Citing & Authors

Have a look at LaBSE for the respective publication that describes LaBSE.

Runs of sentence-transformers LaBSE on huggingface.co

682.8K
Total runs
0
24-hour runs
0
3-day runs
62.3K
7-day runs
-369.3K
30-day runs

More Information About LaBSE huggingface.co Model

LaBSE huggingface.co

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.

sentence-transformers LaBSE online free

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:

https://huggingface.co/sentence-transformers/LaBSE

LaBSE install

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.

LaBSE install url in huggingface.co:

https://huggingface.co/sentence-transformers/LaBSE

Url of LaBSE

Provider of LaBSE huggingface.co

sentence-transformers
ORGANIZATIONS

Other API from sentence-transformers