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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

codersan
/
FaLaBSE_Mizan2

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_Mizan2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use codersan/FaLaBSE_Mizan2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codersan/FaLaBSE_Mizan2")
    
    sentences = [
        "بیشتر زنان دلیل این کار را درک نمی‌کنند ",
        "Most women can't understand why this happens.",
        "feeling with confusion and annoyance that what he could decide easily and clearly by himself, he could not discuss before Princess Tverskaya, who to him stood for the incarnation of that brute force which would inevitably control him in the life he led in the eyes of the world, and hinder him from giving way to his feeling of love and forgiveness.",
        "MR TALLBOYS: Happy days, happy days!"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
FaLaBSE_Mizan2 / 2_Dense
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
codersan's picture
codersan
Add new SentenceTransformer model
b687369 verified 12 months ago
  • config.json
    114 Bytes
    Add new SentenceTransformer model 12 months ago
  • model.safetensors
    2.36 MB
    xet
    Add new SentenceTransformer model 12 months ago