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

Dibachain
/
Diba-Embed

Sentence Similarity
sentence-transformers
Safetensors
GGUF
Persian
English
diba_embed
feature-extraction
text-embeddings
persian
farsi
iran
retrieval
rag
semantic-search
multilingual
dibachain
llama.cpp
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Dibachain/Diba-Embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Dibachain/Diba-Embed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Dibachain/Diba-Embed", trust_remote_code=True)
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
Diba-Embed
3.44 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
DibaAi's picture
DibaAi
Release
b85fa1d 15 days ago
  • 1_Pooling
    Release 15 days ago
  • 2_Normalize
    Release 15 days ago
  • .gitattributes
    1.74 kB
    Release 15 days ago
  • LICENSE
    11.4 kB
    Release 15 days ago
  • NOTICE
    565 Bytes
    Release 15 days ago
  • README.md
    12.6 kB
    Release 15 days ago
  • config.json
    972 Bytes
    Release 15 days ago
  • config_sentence_transformers.json
    215 Bytes
    Release 15 days ago
  • configuration_diba_embed.py
    550 Bytes
    Release 15 days ago
  • diba-embed-f16.bin
    1.2 GB
    xet
    Release 15 days ago
  • diba-embed-q4_k_m.bin
    396 MB
    xet
    Release 15 days ago
  • diba-embed-q8_0.bin
    639 MB
    xet
    Release 15 days ago
  • generation_config.json
    117 Bytes
    Release 15 days ago
  • merges.txt
    1.67 MB
    Release 15 days ago
  • model.safetensors
    1.19 GB
    xet
    Release 15 days ago
  • modeling_diba_embed.py
    437 Bytes
    Release 15 days ago
  • modules.json
    349 Bytes
    Release 15 days ago
  • tokenizer.json
    11.4 MB
    xet
    Release 15 days ago
  • tokenizer_config.json
    9.95 kB
    Release 15 days ago
  • vocab.json
    2.78 MB
    Release 15 days ago