Sentence Similarity
sentence-transformers
Safetensors
Arabic
English
modernbert
feature-extraction
deprecated
text-embeddings-inference
Instructions to use ALJIACHI/bte-base-ar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ALJIACHI/bte-base-ar with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ALJIACHI/bte-base-ar") sentences = [ "هذا شخص سعيد", "هذا كلب سعيد", "هذا شخص سعيد جدا", "اليوم هو يوم مشمس" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
⚠️ This Model Is Deprecated
BTE-Base-Ar is deprecated and no longer maintained.
👉 Use the new, improved model instead: ALJIACHI/Mizan-Embeddings-0.1B
This model will not get any more updates, bug fixes or support. Please switch to Mizan-Embeddings-0.1B. It replaces BTE-Base-Ar and is better in performance, quality and Arabic language understanding.
Migration
To switch, just change the model name in your code:
from sentence_transformers import SentenceTransformer
# Old (deprecated)
# model = SentenceTransformer("ALJIACHI/bte-base-ar")
# New (recommended)
model = SentenceTransformer("ALJIACHI/Mizan-Embeddings-0.1B")
Check the Mizan-Embeddings-0.1B model card for full usage instructions and evaluation results.
Thank you for using BTE-Base-Ar, and for your support.
- Downloads last month
- 254