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

Waqf-AI
/
arabic-splade-efficient

sentence-transformers
Safetensors
Arabic
distilbert
sparse-encoder
splade
arabic
retrieval
Model card Files Files and versions
xet
Community

Instructions to use Waqf-AI/arabic-splade-efficient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Waqf-AI/arabic-splade-efficient with sentence-transformers:

    from sentence_transformers import SparseEncoder
    
    model = SparseEncoder("Waqf-AI/arabic-splade-efficient")
    
    queries = ["Which planet is known as the Red Planet?"]
    documents = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    ]
    
    query_embeddings = model.encode_query(queries)
    document_embeddings = model.encode_document(documents)
    
    similarities = model.similarity(query_embeddings, document_embeddings)
    print(similarities)
  • Notebooks
  • Google Colab
  • Kaggle
arabic-splade-efficient / checkpoint-500
545 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Abdelkareem's picture
Abdelkareem
Upload folder using huggingface_hub
4a8c0a7 verified 4 months ago
  • 1_SpladePooling
    Upload folder using huggingface_hub 4 months ago
  • README.md
    16.1 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    624 Bytes
    Upload folder using huggingface_hub 4 months ago
  • config_sentence_transformers.json
    273 Bytes
    Upload folder using huggingface_hub 4 months ago
  • model.safetensors
    542 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modules.json
    307 Bytes
    Upload folder using huggingface_hub 4 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 4 months ago
  • sentence_bert_config.json
    221 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    2.92 MB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    323 Bytes
    Upload folder using huggingface_hub 4 months ago
  • trainer_state.json
    1.07 kB
    Upload folder using huggingface_hub 4 months ago