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

  • Log In
  • Sign Up

thenlper
/
gte-large

Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
OpenVINO
English
bert
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
26

Instructions to use thenlper/gte-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thenlper/gte-large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thenlper/gte-large")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

📋 Documentation Enhancement Suggestion

#26 opened 3 months ago by
CroviaTrust

Are any of your pretrained models available for commercial use?

#25 opened 11 months ago by
sjonnal3

Error while loading model

#19 opened almost 2 years ago by
iabhishekofficial

Using gte-large locally for embedding pdf documents for llama cpp model with langchain.

4
#18 opened about 2 years ago by
namantjeaswi

[AUTOMATED] Model Memory Requirements

#17 opened about 2 years ago by
model-sizer-bot

Running the model on GPU

#16 opened over 2 years ago by
Jaglinux

关于预训练和微调数据集构造请教

👍 2
3
#14 opened over 2 years ago by
Fspace
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs