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

  • Log In
  • Sign Up

Stevenf232
/
context_fine-tuned-SapBERT

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:27120
loss:ContrastiveLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Stevenf232/context_fine-tuned-SapBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Stevenf232/context_fine-tuned-SapBERT with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Stevenf232/context_fine-tuned-SapBERT")
    
    sentences = [
        "anencephaly [SEP] Sequential observations of exencephaly and subsequent morphological changes by mouse exo utero development system: analysis of t",
        "Hemostatic Disorders [SEP] Pathological processes involving the integrity of blood circulation. Hemostasis depends on the integrity of BLOOD VESSELS, blood",
        "Pentylenetetrazole [SEP] A pharmaceutical agent that displays activity as a central nervous system and respiratory stimulant. It is considered a non-comp",
        "Epilepsy [SEP] A disorder characterized by recurrent episodes of paroxysmal brain dysfunction due to a sudden, disorderly, and excessive neuron"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
context_fine-tuned-SapBERT
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Stevenf232's picture
Stevenf232
Add new SentenceTransformer model
1396374 verified 3 months ago
  • 1_Pooling
    Add new SentenceTransformer model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    15.6 kB
    Add new SentenceTransformer model 3 months ago
  • config.json
    704 Bytes
    Add new SentenceTransformer model 3 months ago
  • config_sentence_transformers.json
    282 Bytes
    Add new SentenceTransformer model 3 months ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model 3 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 3 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 3 months ago
  • tokenizer.json
    706 kB
    Add new SentenceTransformer model 3 months ago
  • tokenizer_config.json
    382 Bytes
    Add new SentenceTransformer model 3 months ago