Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
Persian
English
bert
feature-extraction
Generated from Trainer
dataset_size:131157
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Run this model with HF Jobs
Run codersan/FaMiniLM on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/codersan/FaMiniLM. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/codersan/FaMiniLM on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Training in progress, epoch 6
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:4d7fb798ec9158ce7016b388017f9167a6b983fb2b4f1be5a87a0c8d519ad24fsize 90864192123version https://git-lfs.github.com/spec/v1oid sha256:926fc6041e5872dea8398b76028294cb16dc124cc2e5fa3b91318ae99c45893fsize 90864192
123version https://git-lfs.github.com/spec/v1oid sha256:0a5b5ccc1aceb147576b0d78800df013380e00399ebfdc5b4f8ef36379e583c3size 38513123version https://git-lfs.github.com/spec/v1oid sha256:d9502bb4358feece9294485d9806775365a8860ca5cfd8ac83dc8da67b9d38a5size 45454
model.safetensors+1-1
runs/Jul31_13-32-45_68f147f0ecc1/events.out.tfevents.1753968767.68f147f0ecc1.18.0+2-2