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

  • Log In
  • Sign Up

CarloSgara
/
t5_large_model

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

Instructions to use CarloSgara/t5_large_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use CarloSgara/t5_large_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("CarloSgara/t5_large_model")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
t5_large_model
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Carlo Sgaravatti
Initial commit
d139c3d almost 2 years ago
  • 1_Pooling
    Initial commit almost 2 years ago
  • 2_Dense
    Initial commit almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.62 kB
    Initial commit almost 2 years ago
  • config.json
    1.53 kB
    Initial commit almost 2 years ago
  • config_sentence_transformers.json
    170 Bytes
    Initial commit almost 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Initial commit almost 2 years ago
  • modules.json
    461 Bytes
    Initial commit almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Initial commit almost 2 years ago
  • special_tokens_map.json
    2.54 kB
    Initial commit almost 2 years ago
  • spiece.model
    792 kB
    xet
    Initial commit almost 2 years ago
  • tokenizer.json
    2.42 MB
    Initial commit almost 2 years ago
  • tokenizer_config.json
    20.9 kB
    Initial commit almost 2 years ago