Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

PartAI
/
Tooka-SBERT-V2-Large

Sentence Similarity
sentence-transformers
Safetensors
Persian
bert
feature-extraction
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use PartAI/Tooka-SBERT-V2-Large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use PartAI/Tooka-SBERT-V2-Large with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("PartAI/Tooka-SBERT-V2-Large")
    
    sentences = [
        "درنا از پرندگان مهاجر با پاهای بلند و گردن دراز است.",
        "درناها با قامتی بلند و بال‌های پهن، از زیباترین پرندگان مهاجر به شمار می‌روند.",
        "درناها پرندگانی کوچک با پاهای کوتاه هستند که مهاجرت نمی‌کنند.",
        "ایران برای بار دیگر توانست به مدال طلا دست یابد."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Tooka-SBERT-V2-Large
1.42 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 11 commits
mohalisad's picture
mohalisad
Update README.md
b59682e verified 12 months ago
  • 1_Pooling
    Add model weights about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    6.84 kB
    Update README.md 12 months ago
  • config.json
    747 Bytes
    Add model weights about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add model weights about 1 year ago
  • model.safetensors
    1.41 GB
    xet
    Add model weights about 1 year ago
  • modules.json
    229 Bytes
    Add model weights about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add model weights about 1 year ago
  • special_tokens_map.json
    828 Bytes
    Add model weights about 1 year ago
  • tokenizer.json
    3.97 MB
    Add model weights about 1 year ago
  • tokenizer_config.json
    1.38 kB
    Add model weights about 1 year ago