Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

sentence-transformers
/
LaBSE

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
JAX
ONNX
Safetensors
bert
feature-extraction
Eval Results
text-embeddings-inference
Model card Files Files and versions
xet
Community
24

Instructions to use sentence-transformers/LaBSE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sentence-transformers/LaBSE with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sentence-transformers/LaBSE")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Add evaluation results for model sentence-transformers/LaBSE revision e34fab64a3011d2176c99545a93d5cbddc9a91b7

#24 opened 2 months ago by
Samoed

📋 Documentation Enhancement Suggestion

#23 opened 3 months ago by
CroviaTrust

📋 Documentation Enhancement Suggestion

#22 opened 3 months ago by
CroviaTrust

📋 Documentation Enhancement Suggestion

#21 opened 3 months ago by
CroviaTrust

📋 Documentation Enhancement Suggestion

#20 opened 3 months ago by
CroviaTrust

📋 Documentation Enhancement Suggestion

#19 opened 3 months ago by
CroviaTrust

Add new SentenceTransformer model with an openvino backend

#18 opened 9 months ago by
santhosh

Upload 3 files

#11 opened over 1 year ago by
Krazybeautiful85

Supported languages

👍 3
2
#2 opened over 3 years ago by
grofte

LabSE training error

1
#1 opened almost 4 years ago by
ryjovsky
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs