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

  • Log In
  • Sign Up

yazied49
/
NAdine3

Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
Generated from Trainer
dataset_size:20000
loss:CosineSimilarityLoss
Model card Files Files and versions
xet
Community

Instructions to use yazied49/NAdine3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use yazied49/NAdine3 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("yazied49/NAdine3")
    
    sentences = [
        "Question: Is this describing a (1) directly correlative relationship, (2) conditionally causative relationship, (3) causative relationship, or (0) no relationship.",
        "C: Iron deficiency anemia in the mother; normal Hb levels in the fetus",
        "This is a conditionally causative relationship",
        "C: Decreasing carbohydrate intake, increasing fat intake"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
NAdine3
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
yazied49's picture
yazied49
Upload config.json
9beef82 verified 11 months ago
  • .ipynb_checkpoints
    Initial upload about 1 year ago
  • 1_Pooling
    Upload config.json 11 months ago
  • .gitattributes
    1.75 kB
    Initial upload about 1 year ago
  • README.md
    18 kB
    Initial upload about 1 year ago
  • Untitled.ipynb
    13.8 kB
    Initial upload about 1 year ago
  • config.json
    619 Bytes
    xet
    Upload config.json 11 months ago
  • config_sentence_transformers.json
    214 Bytes
    Initial upload about 1 year ago
  • model.safetensors
    471 MB
    xet
    Initial upload about 1 year ago
  • modules.json
    242 Bytes
    Initial upload about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Initial upload about 1 year ago
  • special_tokens_map.json
    1.02 kB
    Initial upload about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Initial upload about 1 year ago
  • tokenizer_config.json
    1.51 kB
    Initial upload about 1 year ago
  • unigram.json
    14.8 MB
    xet
    Initial upload about 1 year ago