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

cafierom
/
5Epoch_905_Statin_Contrastive

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

Instructions to use cafierom/5Epoch_905_Statin_Contrastive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use cafierom/5Epoch_905_Statin_Contrastive with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cafierom/5Epoch_905_Statin_Contrastive")
    
    sentences = [
        "C[C@H](CCCC(C)(C)O)[C@H]1CC[C@H]2[C@@H]3CC=C4C[C@@H](O)CC[C@]4(C)[C@H]3CC[C@]12C",
        "CC[C@H](C)C(=O)O[C@H]1C[C@@H](C)C=C2C=C[C@H](C)[C@H](CCC(O)C[C@@H](O)CC([O-])=O)[C@@H]12",
        "C[C@@H]1C[C@H](OC(C)=O)C2[C@@H](CC[C@@H]3C[C@@H](O)CC(=O)O3)[C@@H](C)C=CC2=C1",
        "CC(C)c1nc(c(-c2ccc(F)cc2)n1CC[C@@H](O)C[C@@H](O)CC([O-])=O)-c1ccc(F)cc1"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
5Epoch_905_Statin_Contrastive
434 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
cafierom's picture
cafierom
Add new SentenceTransformer model
62b08b3 verified 9 months ago
  • 1_Pooling
    Add new SentenceTransformer model 9 months ago
  • .gitattributes
    1.52 kB
    initial commit 9 months ago
  • README.md
    19.8 kB
    Add new SentenceTransformer model 9 months ago
  • config.json
    612 Bytes
    Add new SentenceTransformer model 9 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 9 months ago
  • model.safetensors
    433 MB
    xet
    Add new SentenceTransformer model 9 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 9 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 9 months ago
  • special_tokens_map.json
    125 Bytes
    Add new SentenceTransformer model 9 months ago
  • tokenizer.json
    669 kB
    Add new SentenceTransformer model 9 months ago
  • tokenizer_config.json
    1.22 kB
    Add new SentenceTransformer model 9 months ago
  • vocab.txt
    213 kB
    Add new SentenceTransformer model 9 months ago