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-v4

Sentence Similarity
sentence-transformers
Safetensors
Arabic
English
new
feature-extraction
Generated from Trainer
dataset_size:34436
loss:MatryoshkaLoss
loss:CoSENTLoss
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AhmedZaky1/DIMI-embedding-v4", trust_remote_code=True)
    
    sentences = [
        "الرجل يركب حصاناً",
        "رجل يُبث الجبن الممزق على البيتزا"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [2, 2]
  • Notebooks
  • Google Colab
  • Kaggle
DIMI-embedding-v4
1.24 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
AhmedZaky1's picture
AhmedZaky1
Update README.md
c3a3d1a verified 12 months ago
  • 1_Pooling
    Add new SentenceTransformer model 12 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 12 months ago
  • README.md
    9.81 kB
    Update README.md 12 months ago
  • config.json
    1.52 kB
    Add new SentenceTransformer model 12 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 12 months ago
  • model.safetensors
    1.22 GB
    xet
    Add new SentenceTransformer model 12 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 12 months ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model 12 months ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model 12 months ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model 12 months ago
  • tokenizer_config.json
    1.37 kB
    Add new SentenceTransformer model 12 months ago