Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:7033
loss:GISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run SamagraDataGov/embedding_finetuned 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/SamagraDataGov/embedding_finetuned. 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/SamagraDataGov/embedding_finetuned 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 SamagraDataGov/embedding_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use SamagraDataGov/embedding_finetuned with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("SamagraDataGov/embedding_finetuned") sentences = [ "How will the performance of CBBOs be assessed in the third and fourth year?", "' (iv) In third and fourth year, performance of the CBBOs will be assessed based on - (a) issuing Share Certificates to each member in third year, if any; (b) audited Financial Statements for FPOs for second year and third year in due time and filing as required; (c) MoU and vendor registration as per Business Plan with Marketing Agencies/Institutional Buyers; (d) trading/uploading of produce in e-NAM/other sources, if any; (e) second tranche equity grant to FPOs, if any; and (f) second tranche of credit guarantee facility, if any . (v) In the fifth year, performance of the CBBOs will be assessed based on (a) audited Statements of accounts of FPO and filing it; (b) 100% of agri-business plan executed and value chain developed; (c) revenue model showing financial growth in last 3 consecutive years; (d) detailed project completion Report; and (e) third tranche of credit guarantee facility if any.'", "'5. Tussock caterpillar, Notolopus (=Orygyia) postica , Lymantriidae, Lepidoptera Symptom of damage: Defoliation. Nature of damage: Caterpillars of the moth feed on the leaves. Egg: Eggs are laid in clusters on the leaves and covered over with hairs. Larva: Caterpillars are gregarious in young stages. Full grown larva possess a brown head, a pair of long pencil of hairs projecting forwardly from the prothorax, yellowish tuft of hairs arising from the lateral side of the first two abdominal segment and long brownish hairs arising from 8 th abdominal segment. Pupa: Pupation takes place in silken cocoon. Adult: Small adult with yellowish brown wings. Female moth is wingless. Presence of bipectinate antenna.'", "'The Kisan Credit Card (KCC) scheme was introduced in 1998 for issue of Kisan Credit Cards to farmers on the basis of their holdings for uniform adoption by the banks so that farmers may use them to readily purchase agriculture inputs such as seeds, fertilizers, pesticides etc. and draw cash for their production needs. The scheme was further extended for the investment credit requirement of farmers viz. allied and non-farm activities in the year 2004. The scheme was further revisited in 2012 by a working Group under the Chairmanship of Shri T. M. Bhasin, CMD, Indian Bank with a view to simplify the scheme and facilitate issue of Electronic Kisan Credit Cards. The scheme provides broad guidelines to banks for operationalizing the KCC scheme. Implementing banks will have the discretion to adopt the same to suit institution/location specific requirements.'" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download 1_Pooling/config.json from SamagraDataGov/embedding_finetuned: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/SamagraDataGov/embedding_finetuned/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://SamagraDataGov/embedding_finetuned/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/SamagraDataGov/embedding_finetuned/resolve/main/1_Pooling/config.json
296 Bytes
| { | |
| "word_embedding_dimension": 384, | |
| "pooling_mode_cls_token": true, | |
| "pooling_mode_mean_tokens": false, | |
| "pooling_mode_max_tokens": false, | |
| "pooling_mode_mean_sqrt_len_tokens": false, | |
| "pooling_mode_weightedmean_tokens": false, | |
| "pooling_mode_lasttoken": false, | |
| "include_prompt": true | |
| } |