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 SentenceTransformer model = SentenceTransformer("Waqf-AI/arabic-splade-efficient") 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
File size: 274 Bytes
4a8c0a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"__version__": {
"pytorch": "2.12.0+cu130",
"sentence_transformers": "5.5.1",
"transformers": "5.5.0"
},
"default_prompt_name": null,
"model_type": "SparseEncoder",
"prompts": {
"document": "",
"query": ""
},
"similarity_fn_name": "dot"
} |