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]
The community tab is the place to discuss and collaborate with the HF community!