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

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

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

  • Libraries
  • sentence-transformers

    How to use codersan/FaLabse_Mizan4 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codersan/FaLabse_Mizan4")
    
    sentences = [
        "Most women can't understand why this happens.",
        "بیشتر زنان دلیل این کار را درک نمی‌کنند ",
        " سخت از خود در غضب بود که آن چه را به آسانی و صراحت می‌توانست نزد خود تصمیم بگیرد، قادر به بیان آن در حضور شاهزاده خانم تورسکی نیست. زیرا این زن در نظر او تجسم همان نیروی بیدادگری بود که بر زندگی ظاهری او حکومت می‌کرد و مانع ابراز عشق و عفو و نمایاندن احساساتش بود.",
        "آقای تالبویز: چه روزهای خوشی، عجب روزهای ‌خوشی!"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
FaLabse_Mizan4 / 2_Dense
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
codersan's picture
codersan
Add new SentenceTransformer model
c5e3457 verified 9 months ago
  • config.json
    114 Bytes
    Add new SentenceTransformer model 9 months ago
  • model.safetensors
    2.36 MB
    xet
    Add new SentenceTransformer model 9 months ago