Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

codersan
/
e5Fa_small_v2

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:15607
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use codersan/e5Fa_small_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use codersan/e5Fa_small_v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codersan/e5Fa_small_v2")
    
    sentences = [
        "دانلود کی بودی تو آخه از ماکان بند؟",
        "پس از فوت، عزل یا کناره‌گیری رهبری، در صورت تأخیر در تعیین رهبر جدید، طبق قانون شورایی با نام «شورای موقت رهبری» تشکیل می شود که اعضای آن مرکب از رئیس‌جمهور، رئیس قوة قضائیه و یکی از فقهای شورای نگهبان به انتخاب مجمع تشخیص مصلحت نظام می باشد.",
        "شرکت ما مانند سایر شرکت ها قطعات خریداری می کند.",
        "دانلود آهنگ کی بودی آخه تو از ماکان بند؟"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
e5Fa_small_v2
493 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
codersan's picture
codersan
Add new SentenceTransformer model
ff175d0 verified 10 months ago
  • 1_Pooling
    Add new SentenceTransformer model 10 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 10 months ago
  • README.md
    14.3 kB
    Add new SentenceTransformer model 10 months ago
  • config.json
    681 Bytes
    Add new SentenceTransformer model 10 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 10 months ago
  • model.safetensors
    471 MB
    xet
    Add new SentenceTransformer model 10 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 10 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 10 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model 10 months ago
  • special_tokens_map.json
    965 Bytes
    Add new SentenceTransformer model 10 months ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model 10 months ago
  • tokenizer_config.json
    1.2 kB
    Add new SentenceTransformer model 10 months ago