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

  • Log In
  • Sign Up

Stevenf232
/
context_fine-tuned-SapBERT1

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-SapBERT1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Stevenf232/context_fine-tuned-SapBERT1")
    
    sentences = [
        "1-bromo-1-chloro-2,2,2-trifluoroethane [SEP] ious degrees. Both compounds are metabolised in the same way as 1-bromo-1-chloro-2,2,2-trifluoroethane (halothane) to form reactive trifluoroacetyl halide intermediat",
        "Nephrotic Syndrome [SEP] A condition characterized by severe PROTEINURIA, greater than 3.5 g/day in an average adult. The substantial loss of protein in ",
        "Personality Disorders [SEP] A major deviation from normal patterns of behavior.\n    ",
        "Propylene Glycol [SEP] A clear, colorless, viscous organic solvent and diluent used in pharmaceutical preparations.\n    "
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
context_fine-tuned-SapBERT1
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Stevenf232's picture
Stevenf232
Add new SentenceTransformer model
e3b01cf 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.4 kB
    Add new SentenceTransformer model 3 months ago
  • config.json
    704 Bytes
    Add new SentenceTransformer model 3 months ago
  • config_sentence_transformers.json
    283 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