Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Transformers
Arabic
bert
feature-extraction
Hadith
Islam
Arabic
text-embeddings-inference
Instructions to use FDSRashid/QulBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use FDSRashid/QulBERT with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("FDSRashid/QulBERT") sentences = [ "هذا شخص سعيد", "هذا كلب سعيد", "هذا شخص سعيد جدا", "اليوم هو يوم مشمس" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use FDSRashid/QulBERT with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("FDSRashid/QulBERT") model = AutoModel.from_pretrained("FDSRashid/QulBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.299e990
-
Update README.md
Verified signatureea6cd33
-
Update README.md
Verified signature33715e2 -
Update README.md
Verified signature9cfac5e
-
Update README.md
38e7961
-
Delete model.safetensors
d5e303d
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (b7fc89a8872cfd5fae94e0e3e868b564b359ba38)ced0806 -
Create 1_Pooling/config.json
ec47449
-
Update README.md
30285cc -
Update README.md
5dcd1cc -
Update README.md
a649ad3 -
Update README.md
a941f8d -
Update README.md
3535b0d -
Upload 10 files
77b33ab -
initial commit
2baf2e9