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

tomaarsen
/
t5gemma-s-gooaq-cmnrl

Sentence Similarity
sentence-transformers
Safetensors
English
t5gemma
feature-extraction
dense
Generated from Trainer
dataset_size:90000
loss:CachedMultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use tomaarsen/t5gemma-s-gooaq-cmnrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tomaarsen/t5gemma-s-gooaq-cmnrl with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/t5gemma-s-gooaq-cmnrl")
    
    sentences = [
        "what is the difference between trojan virus and worm?",
        "Worms spread from computer to computer, but unlike a virus, it has the capability to travel without any help from a person. ... A Trojan horse is not a virus. It is a destructive program that looks as a genuine application. Unlike viruses, Trojan horses do not replicate themselves but they can be just as destructive.",
        "You're usually no longer infectious 24 hours after starting a course of antibiotics, but this time period can sometimes vary. For example, the antibiotics may take longer to work if your body takes longer to absorb them, or if you're taking other medicine that interacts with the antibiotics.",
        "Eating salt raises the amount of sodium in your bloodstream and wrecks the delicate balance, reducing the ability of your kidneys to remove the water. The result is a higher blood pressure due to the extra fluid and extra strain on the delicate blood vessels leading to the kidneys."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
t5gemma-s-gooaq-cmnrl
339 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomaarsen's picture
tomaarsen HF Staff
Add new SentenceTransformer model
938879f verified 4 months ago
  • 1_Pooling
    Add new SentenceTransformer model 4 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 4 months ago
  • README.md
    27 kB
    Add new SentenceTransformer model 4 months ago
  • config.json
    2.87 kB
    Add new SentenceTransformer model 4 months ago
  • config_sentence_transformers.json
    306 Bytes
    Add new SentenceTransformer model 4 months ago
  • model.safetensors
    304 MB
    xet
    Add new SentenceTransformer model 4 months ago
  • modules.json
    242 Bytes
    Add new SentenceTransformer model 4 months ago
  • sentence_bert_config.json
    61 Bytes
    Add new SentenceTransformer model 4 months ago
  • tokenizer.json
    34.4 MB
    xet
    Add new SentenceTransformer model 4 months ago
  • tokenizer_config.json
    576 Bytes
    Add new SentenceTransformer model 4 months ago