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

sentence-transformers
/
gtr-t5-large

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
t5
feature-extraction
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • sentence-transformers

    How to use sentence-transformers/gtr-t5-large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sentence-transformers/gtr-t5-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
gtr-t5-large
1.35 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits

This model has 1 file scanned as unsafe.

tomaarsen's picture
tomaarsen HF Staff
Remove deprecated (SEB) evaluation results section
51aab2c verified about 1 year ago
  • 1_Pooling
    upload over 4 years ago
  • 2_Dense
    Adding `safetensors` variant of this model (#2) about 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#2) about 2 years ago
  • README.md
    1.67 kB
    Remove deprecated (SEB) evaluation results section about 1 year ago
  • config.json
    1.38 kB
    upload over 4 years ago
  • config_sentence_transformers.json
    122 Bytes
    upload over 4 years ago
  • model.safetensors
    670 MB
    xet
    Adding `safetensors` variant of this model (#2) about 2 years ago
  • modules.json
    461 Bytes
    upload over 4 years ago
  • pytorch_model.bin
    670 MB
    xet
    upload over 4 years ago
  • sentence_bert_config.json
    53 Bytes
    upload over 4 years ago
  • special_tokens_map.json
    1.79 kB
    upload over 4 years ago
  • spiece.model
    792 kB
    xet
    upload over 4 years ago
  • tokenizer.json
    1.39 MB
    upload over 4 years ago
  • tokenizer_config.json
    1.92 kB
    upload over 4 years ago