Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:29992
loss:CosineSimilarityLoss
text-embeddings-inference
Instructions to use rossieRuby/nyayadrishti-bert-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rossieRuby/nyayadrishti-bert-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("rossieRuby/nyayadrishti-bert-v2") sentences = [ "What did the Court direct the State Government to do?", "In the consolidated proceeding therefore the tribunal had to decide firstly whether the bunga was the property of the Golden Temple. If it decided that, all the claims would necessarily fall 338 through. But if it held that the bunga was not the property of the Golden Temple it had to adjudicate on the respective claims of Jaswant Singh, Kesar Singh and Balwant Singh. By majority, the tribunal held that the bunga was not the property of the Golden Temple. It therefore had to decide to which of the three claimants under section 5, if any, the bunga could be held to belong. It negatived the claims of Kesar Singh and Jaswant Singh. As to Balwant Singh 's claim it held by a majority that Balwant Singh had no personal or private right in the bunga. It further held that the bunga was wakf property dedicated to the pilgrims to the Golden Temple and that the descendants of Maharaja Sher Singh were the managers of the bunga.", "The second meeting was held on the 29th March, 1952, and the third on the 14th of June, 1952. The expert member was not present at any other meeting except the first and on the 27th of 741 May, 1952, he wrote a letter to the Chief Commissioner stating that he was proceeding to Europe on the 3rdd June, 1952, for a period of three months.", "It is necessary to mention in this connection that on September 21, 1984 this Court while granting special leave made an order of stay of operation of the High Court judgment pending hearing of the appeal. But subsequently on March 18, 1986 after hearing the learned counsels the interim order of stay was recalled in consideration of the fact that U.P. Public Service Commission had already cancelled the candidature of the appellant and withdrawn the recommendation made in his favour for the reason inter alia that he lacked in five years experience in Drug testing. This Court also directed the State Government to appoint a member or one Indian Administrative Service to function as the Food & Drug Controller, U.P. PG NO 42 It has been urged on behalf of the appellant, Dr. Bindal that the order of the Public Service Commission in cancelling the candidature of the appellant and withdrawing the recommendation made in his favour is wholly illegal and bad in as much as the Government has considered the certificates produced by the appellant and found that the appellant had the requisite experience of five years in Drug testing and as such he was appointed by the Government as Food and Drug Controller, U.P." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle