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

omarelshehy
/
Arabic-STS-Matryoshka

Sentence Similarity
sentence-transformers
Safetensors
Arabic
xlm-roberta
feature-extraction
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use omarelshehy/Arabic-STS-Matryoshka with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use omarelshehy/Arabic-STS-Matryoshka with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("omarelshehy/Arabic-STS-Matryoshka")
    
    sentences = [
        "هذا شخص سعيد",
        "هذا كلب سعيد",
        "هذا شخص سعيد جدا",
        "اليوم هو يوم مشمس"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Arabic-STS-Matryoshka
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
omarelshehy's picture
omarelshehy
Update README.md
a00be77 verified almost 2 years ago
  • 1_Pooling
    Upload folder using huggingface_hub almost 2 years ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub almost 2 years ago
  • README.md
    5.96 kB
    Update README.md almost 2 years ago
  • config.json
    714 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    2.24 GB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • performance_vs_embeddingsize.png
    24 kB
    Upload performance_vs_embeddingsize.png almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • special_tokens_map.json
    280 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • tokenizer_config.json
    1.15 kB
    Upload folder using huggingface_hub almost 2 years ago