Sentence Similarity
sentence-transformers
Safetensors
Persian
bert
feature-extraction
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use PartAI/Tooka-SBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use PartAI/Tooka-SBERT with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("PartAI/Tooka-SBERT") sentences = [ "درنا از پرندگان مهاجر با پاهای بلند و گردن دراز است.", "درناها با قامتی بلند و بالهای پهن، از زیباترین پرندگان مهاجر به شمار میروند.", "درناها پرندگانی کوچک با پاهای کوتاه هستند که مهاجرت نمیکنند.", "ایران برای بار دیگر توانست به مدال طلا دست یابد." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,11 @@ base_model:
|
|
| 38 |
|
| 39 |
> [!warning] **Important**
|
| 40 |
>
|
| 41 |
-
> We recently released the next generation of this model available at
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
# SentenceTransformer
|
| 44 |
|
|
|
|
| 38 |
|
| 39 |
> [!warning] **Important**
|
| 40 |
>
|
| 41 |
+
> We recently released the next generation of this model available at:
|
| 42 |
+
>
|
| 43 |
+
> [Tooka-SBERT-V2-Small](https://huggingface.co/PartAI/Tooka-SBERT-V2-Small)
|
| 44 |
+
>
|
| 45 |
+
> [Tooka-SBERT-V2-Large](https://huggingface.co/PartAI/Tooka-SBERT-V2-Large)
|
| 46 |
|
| 47 |
# SentenceTransformer
|
| 48 |
|