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
/
newfa_e5base2

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

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

  • Libraries
  • sentence-transformers

    How to use codersan/newfa_e5base2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codersan/newfa_e5base2")
    
    sentences = [
        "نمونه هایی از تئوری های توطئه ها که به نظر می رسد درست است؟",
        "آیا نظریه های توطئه ای وجود دارد که احتمالاً صادق است؟نظریه های توطئه ای که معلوم شد درست است؟",
        "بازیگران پانتومیم در حال اجرا بر روی صحنه هستند.",
        "چرا میل الکترون فلورین کمتر از کلر است ، در حالی که فلورین الکترونگاتیو ترین عنصر است؟"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
newfa_e5base2
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
codersan's picture
codersan
Add new SentenceTransformer model
0795ea4 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
    17.7 kB
    Add new SentenceTransformer model 10 months ago
  • config.json
    714 Bytes
    Add new SentenceTransformer model 10 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 10 months ago
  • model.safetensors
    1.11 GB
    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
    964 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.18 kB
    Add new SentenceTransformer model 10 months ago