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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vaktibabat
/
heart-e5

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

Instructions to use vaktibabat/heart-e5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use vaktibabat/heart-e5 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("vaktibabat/heart-e5")
    
    sentences = [
        "query: which structure forms the floor and part of the walls of the third ventricle",
        "passage: Calories Lost in an Hour Long Yoga Class High Calorie Burn. If you've decided to take up yoga with the intention of burning calories quickly to develop a fit body, Bikram and Vinyasa yoga are your top choices, according to HealthStatus. The website reports a 145-pound person will burn 461 calories in an hour-long Bikram yoga class; this form of yoga also goes by the name hot yoga. The same person will burn 574 calories in 60 minutes of Vinyasa yoga.",
        "passage: Ventricles of the Brain The rest of the CSF production is the result of transependymal flow from the brain to the ventricles. CSF flows from the lateral ventricles, through the interventricular foramens, and into the third ventricle, cerebral aqueduct, and the fourth ventricle.ateral ventricles. The largest cavities of the ventricular system are the lateral ventricles. Each lateral ventricle is divided into a central portion, formed by the body and atrium (or trigone), and 3 lateral extensions or horns of the ventricles.",
        "passage: Third Ventricle The floor of the third ventricle is formed by a number of structures including the hypothalamus, subthalamus, mammilary bodies, infundibulum (pituitary stalk), and the tectum of the midbrain. The lateral walls of the third ventricle are formed by the walls of the left and right thalamus."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
heart-e5
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
vaktibabat's picture
vaktibabat
Add new SentenceTransformer model
09970ff verified 3 months ago
  • 1_Pooling
    Add new SentenceTransformer model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    99.5 kB
    Add new SentenceTransformer model 3 months ago
  • config.json
    745 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
    712 kB
    Add new SentenceTransformer model 3 months ago
  • tokenizer_config.json
    552 Bytes
    Add new SentenceTransformer model 3 months ago