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

  • Log In
  • Sign Up

tasksource
/
ettin-17m-embed

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:7376192
loss:AnglELoss
loss:CoSENTLoss
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use tasksource/ettin-17m-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tasksource/ettin-17m-embed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tasksource/ettin-17m-embed")
    
    sentences = [
        "what is paediatric clinical psychology",
        "Pediatric neuropsychology (paediatric in the UK) is a sub-speciality within the field of clinical neuropsychology that studies the relationship between brain health and behaviour in children.any pediatric neuropsychologists are involved in teaching, research, supervision, and training of undergraduate and graduate students in the field. In the United States undergraduate and graduate psychology programs generally do not offer a track in pediatric neuropsychology, per se.",
        "“Real” hummus, should contain about 175 calories, out of which 70-80 calories are contributed by fat. The average Israeli eats 8-10 kilograms (18-22 pounds) of hummus every year, so we’re talking about extra 15,000 calories which can make him gain about 2.5kg of body weight each year. So you can see how excessive consumption of the packaged product might be fattening over the years. The common serving size of hummus (real hummus, that is), which is around one cup (220-240g) may contain 400-450 calories. And every pita (“pita bread”) contains another 270, so it’s not really “dietary”.",
        "Pediatrics (also spelled paediatrics or pædiatrics) is the branch of medicine that involves the medical care of infants, children, and adolescents. The American Academy of Pediatrics recommends people be under pediatric care up to the age of 21.[1] A medical practitioner who specializes in this area is known as a pediatrician, or paediatrician. The word pediatrics and its cognates mean healer of children; they derive from two Greek words: παῖς (pais child) and ἰατρός (iatros doctor, healer)."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ettin-17m-embed
70.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
sileod's picture
sileod
Add new SentenceTransformer model
6132e97 verified 5 months ago
  • 1_Pooling
    Add new SentenceTransformer model 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    145 kB
    Add new SentenceTransformer model 5 months ago
  • config.json
    1.25 kB
    Add new SentenceTransformer model 5 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 5 months ago
  • model.safetensors
    67.2 MB
    xet
    Add new SentenceTransformer model 5 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 5 months ago
  • sentence_bert_config.json
    58 Bytes
    Add new SentenceTransformer model 5 months ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model 6 months ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model 5 months ago
  • tokenizer_config.json
    20.8 kB
    Add new SentenceTransformer model 5 months ago