Sentence Similarity
sentence-transformers
Safetensors
Hindi
English
Bengali
bert
feature-extraction
Generated from Trainer
dataset_size:4536
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use harshdevjha/indicclaimver-labse-retriever with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use harshdevjha/indicclaimver-labse-retriever with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("harshdevjha/indicclaimver-labse-retriever") sentences = [ "Srijan Scam: Patna High Court Rejects Bail Plea Of Accused In Money Laundering Case", "The Patna High Court, presided over by Justice Madhuresh Prasad, rejected the bail plea of Pranav Kumar Ghosh, former Secretary of SMVSSL, accused in a money laundering case tied to the Srijan Scam involving fraudulent transfers and misappropriation of government funds under a conspiracy with officials and bank employees. Ghosh was arrested in 2021. The court found no reasonable grounds to believe he is not guilty or unlikely to reoffend, rejecting his claim of involvement below Rs. 1 crore under Section 45 PMLA proviso, as the case involves several crores. Prosecution alleged Ghosh received Rs. 25 lakh as undocumented home loan and was involved in auditing (2003-2004) and tax consultancy (2007-2008) for SMVSSL", "Escalating his attack on Nitish Kumar, Narendra Modi today raked up the issue of Patna blasts to allege that the Bihar Chief Minister was insensitive and had \"arrogantly\" refused a proper probe into the attack which he claimed was aimed at him and other BJP leaders. Modi said Kumar was enjoying a \"mehfil\" (party) when bombs were exploding at his election rally in Patna last week and drew a contrast with Chhattisgarh Chief Minister Raman Singh, saying he had sensitively handled the situation after naxal attack on a Congress rally earlier this year. \"Such a big thing happened in Patna… He (Kumar) was in a mehfil (bash) in Rajgir and they -- JD(U) leaders -- were enjoying a sumptuous meal. When he was asked about any likely security lapse, he arrogantly dismissed it. There was no mention of any inquiry,\" the BJP's Prime Ministerial candidate said at an election rally here. \"Terrorists carried out attack in Patna. One blast after another occurred. There was a conspiracy to blast our dais and to kill BJP leaders,\" he said. Terming Kumar's attitude as \"callous\", Modi said there was \"no trace\" of pain on the Chief Minister's face in the wake of the explosions and that he behaved as if some pleasant thing had happened.", "The Karnataka High Court declared Section 17 of the Maintenance and Welfare of Parents and Senior Citizens Act, 2007, ultra vires Section 30 of the Advocates’ Act, 1961, as it barred advocates from representing parties before tribunals. Justice M Nagaprasanna ruled that senior citizens, often unable to defend themselves, require legal aid under Article 21, and Section 17 cannot override advocates' rights post-2011 amendment. The court allowed a petition by 82-year-old K. Srinivas Ganiga, quashed a Deputy Commissioner order, and remitted the case for advocate representation. It emphasized that legal assistance streamlines proceedings without delay" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!