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

tonnnnnnnnnnnnn
/
semantic_text_sim-v1

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:81000
loss:CosineSimilarityLoss
dataset_size:8100
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use tonnnnnnnnnnnnn/semantic_text_sim-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tonnnnnnnnnnnnn/semantic_text_sim-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tonnnnnnnnnnnnn/semantic_text_sim-v1")
    
    sentences = [
        "Koyomi Araragi is an aloof boy who holds a strange, supernatural secret which inadvertently leads him to others with similar stories. Gods, spirits and afflictions can be pesky things, taking important memories or causing unusual tendencies – a fact that Koyomi and others are unfortunately aware of. Using the help of an eccentric homeless man, Koyomi is able to help new friends he meets along the way with their own paranormal conundrums…",
        "What is the name of the manga with the description \"For decades, the brave warriors of the Northern Heavenly Sect fought to keep the world safe from the evil Silent Night. But when the fourth generation leader is accused of colluding with the enemy, he is forced to disband the sect and commit suicide to protect his son, Moowon. With no family and allies left, Moowon leads a dreary life under close surveillance... until a surprise attack from the Silent Night gives him a chance to escape to the mountains. There, the young warrior trains to master the fighting techniques of his predecessors, before the mysterious disappearance of a loved one brings him back to the mainland. Follow Moowon as he embarks on a journey to avenge his father’s death and take down the villains who threaten to plunge the world into darkness!\"",
        "What is a manga about a student with a disability who is ridiculed by the school's bullies until someone appears to stand by his side?",
        "What manga has a protagonist named Kindaichi who travels to various places where a murder has taken place, typically involving ghosts, curses, myths and folklore of significant events from the distant past, and solves the mystery using ingenious deductions of curious clues and his cool magic?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
semantic_text_sim-v1
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tonnnnnnnnnnnnn's picture
tonnnnnnnnnnnnn
Add new SentenceTransformer model
8720d38 verified 7 months ago
  • 1_Pooling
    Add new SentenceTransformer model 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    29.4 kB
    Add new SentenceTransformer model 7 months ago
  • config.json
    636 Bytes
    Add new SentenceTransformer model 7 months ago
  • config_sentence_transformers.json
    296 Bytes
    Add new SentenceTransformer model 7 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 7 months ago
  • modules.json
    368 Bytes
    Add new SentenceTransformer model 7 months ago
  • sentence_bert_config.json
    60 Bytes
    Add new SentenceTransformer model 7 months ago
  • special_tokens_map.json
    732 Bytes
    Add new SentenceTransformer model 7 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 7 months ago
  • tokenizer_config.json
    1.53 kB
    Add new SentenceTransformer model 7 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 7 months ago