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

AhmedZaky1
/
DIMI-embedding-sts-matryoshka

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

Instructions to use AhmedZaky1/DIMI-embedding-sts-matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AhmedZaky1/DIMI-embedding-sts-matryoshka with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AhmedZaky1/DIMI-embedding-sts-matryoshka")
    
    sentences = [
        "أنتِ مسيحية",
        "شخص يقطع بطاطا",
        "أي نظام لا يعمل لنا؟ | So which system isn't working for us?",
        "لذا أنت لست مسيحياً"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
DIMI-embedding-sts-matryoshka
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
AhmedZaky1's picture
AhmedZaky1
Update README.md
c3efd0e verified 12 months ago
  • 1_Pooling
    Add new SentenceTransformer model. about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    11.3 kB
    Update README.md 12 months ago
  • config.json
    583 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • model.safetensors
    541 MB
    xet
    Add new SentenceTransformer model. about 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. about 1 year ago
  • tokenizer.json
    1.78 MB
    Add new SentenceTransformer model. about 1 year ago
  • tokenizer_config.json
    2.05 kB
    Add new SentenceTransformer model. about 1 year ago
  • vocab.txt
    761 kB
    Add new SentenceTransformer model. about 1 year ago