Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

thenlper
/
gte-large-zh

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thenlper/gte-large-zh")
    
    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

gte是否支持微调,有没有微调脚本?Does gte support fine-tuning? Is there any fine-tuning script?

👍 2
#4 opened over 2 years ago by
mechigo

Does gte model need prefix for short-long form query?

1
#2 opened over 2 years ago by
Lucas510

Any example for cross-encoding?

1
#1 opened over 2 years ago by
dcalsky
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs