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

sobamchan
/
sentence-t5-base

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

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

  • Libraries
  • sentence-transformers

    How to use sobamchan/sentence-t5-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sobamchan/sentence-t5-base")
    
    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
sentence-t5-base
443 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sobamchan's picture
sobamchan
Add new SentenceTransformer model
2fae59c verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • 2_Dense
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.98 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.52 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    199 Bytes
    Add new SentenceTransformer model about 1 year ago
  • custom_transformer.py
    2.3 kB
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    439 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    505 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    2.54 kB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    2.42 MB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    20.9 kB
    Add new SentenceTransformer model about 1 year ago