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

silma-ai
/
silma-embedding-matryoshka-v0.1

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

Instructions to use silma-ai/silma-embedding-matryoshka-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use silma-ai/silma-embedding-matryoshka-v0.1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("silma-ai/silma-embedding-matryoshka-v0.1")
    
    sentences = [
        "هذا شخص سعيد",
        "هذا كلب سعيد",
        "هذا شخص سعيد جدا",
        "اليوم هو يوم مشمس"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
silma-embedding-matryoshka-v0.1
543 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
karimouda's picture
karimouda
Update README.md
011e3b0 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    25.4 kB
    Update README.md over 1 year ago
  • config.json
    699 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • config_sentence_transformers.json
    195 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • model.safetensors
    541 MB
    xet
    Add new SentenceTransformer model almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer.json
    1.78 MB
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer_config.json
    2.02 kB
    Add new SentenceTransformer model almost 2 years ago
  • vocab.txt
    761 kB
    Add new SentenceTransformer model almost 2 years ago