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

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

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

  • Libraries
  • sentence-transformers

    How to use codersan/FaMiniLM with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("codersan/FaMiniLM")
    
    sentences = [
        "عواقب ممنوعیت یادداشت های 500 روپیه و 1000 روپیه در مورد اقتصاد هند چیست؟",
        "آیا باید در فیزیک و علوم کامپیوتر دو برابر کنم؟",
        "چگونه اقتصاد هند پس از ممنوعیت 500 1000 یادداشت تحت تأثیر قرار گرفت؟",
        "آیا آلمان در اجازه پناهندگان سوری به کشور خود اشتباه کرد؟"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
FaMiniLM
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
codersan's picture
codersan
Update README.md
5ae5259 verified 9 months ago
  • 1_Pooling
    Add new SentenceTransformer model 11 months ago
  • runs
    Training in progress, epoch 14 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    7.35 kB
    Update README.md 9 months ago
  • config.json
    678 Bytes
    Training in progress, epoch 1 11 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 11 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 11 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 11 months ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model 11 months ago
  • special_tokens_map.json
    695 Bytes
    Training in progress, epoch 1 11 months ago
  • tokenizer.json
    712 kB
    Training in progress, epoch 1 11 months ago
  • tokenizer_config.json
    1.46 kB
    Training in progress, epoch 1 11 months ago
  • training_args.bin
    5.62 kB
    xet
    Training in progress, epoch 1 11 months ago
  • vocab.txt
    232 kB
    Training in progress, epoch 1 11 months ago