Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:2828
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use freelawproject/modernbert-embed-base_finetune_512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use freelawproject/modernbert-embed-base_finetune_512 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("freelawproject/modernbert-embed-base_finetune_512") sentences = [ "search_document: The first respects the interest in which the litigation is being prosecuted, and the second is the failure of the plaintiff to either plead or prove a cause of action on his behalf as a stockholder. If this litigation had been honestly instituted by a stockholder for the protection of his and other stockholders ’ rights, and was not so evidently a suit instigated by a rival company for its own interests, we should strive to be astute to discover some remedy for a very evident wrong. The far reaching and flexible nature of equitable powers might, with proper proof and under other circumstances, enable us to do justice as between the stockholders of the Grey Creek Company and Chappell, its officer and director. But we have no inclination to struggle for this result, because it is a well settled principle that whenever it is made to appear that the suit was. not begun in good faith by a shareholder for the protection of his rights, but was in reality originated and prosecuted by another corporation for its own benefit, the court will consider what led the plaintiff to institute his suit, and, finding some other reason than a desire to protect stockholders ’ rights, will refuse to entertain the bill. Forrest v. Manchester, etc., R ' way Co., 4 De G., F. & J. 19 ( 65 Eng. Chan., 125 ) ; Filder v. London, etc., R ' way Co., 1 H. & M. 489 ; Belmont v. Erie R ' way Co. et al., 52 Barb. 637 ; Waterbury v. The Merchants ’ Union Express Co., 50 Barb. 157 ; Camblos v. The P. & R. R. R. Co., 4 Brewster, 563. Naturally, the cases respecting this proposition are limited, since the question could not often arise. It seldom happens that shareholders, otherwise than for the protection of their own interests, come into courts of equity to seek redress for wrongs done the corporation of which they are * 331members. But wherever it is apparent that this has been done, the courts have never hesitated to send the plaintiff out of court and refuse him relief.", "search_query: When can a shareholder's lawsuit be dismissed for lack of good faith?", "search_query: What are the requirements for filing a patent application in the United States?", "search_query: How are disputes over partnership assets and liabilities resolved in court?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Free Law Project commited on
Update readme to use organization model path
Browse files
README.md
CHANGED
|
@@ -250,7 +250,7 @@ Then you can load this model and run inference.
|
|
| 250 |
from sentence_transformers import SentenceTransformer
|
| 251 |
|
| 252 |
# Download from the 🤗 Hub
|
| 253 |
-
model = SentenceTransformer("
|
| 254 |
# Run inference
|
| 255 |
sentences = [
|
| 256 |
'search_document: . for one year ” ; this was eventually codified as part of G. L. c. 210, § 3, which also specified other grounds for dispensing with parental consent, such as current imprisonment of the parent for more than three years. Chapter 593, § 1, of the Acts of 1953, codified as G. L. c. 210, § 3A, first provided for an independent proceeding, prior to adoption proceedings proper, at which it could be determined whether parental consent was to be necessary for the adoption. Its purpose was to facilitate and expedite the process of adoption of children being held in temporary foster care. See the Department of Public Welfare recommendations, 1953 House Doc. No. 118, accompanying their draft bill,. 1953 House Doc. No. 124. The proceeding could be brought by the Department of Public Welfare or any appropriate child care agency having custody of the child. But the act was silent as to the standards to be applied in deciding when consent could be dispensed with, and in Consent to Adoption of a Minor, 345 Mass. 706 ( 1963 ), this court held that, in the absence of any other indication in the statute, the conditions set out in § 3 for direct adoptions were still to be met ; specifically, the court held that a finding of parental “ unsuitability, ” without a finding of * 638wilful desertion or neglect for a year, was not an adequate basis for a decree dispensing with the parental consent. The department had evidently not intended the § 3 conditions to be read into the independent § 3A proceeding. Therefore the department immediately sponsored St. 1964, c. 425, which provided that consent could be dispensed with “ if the court finds that the best interests of the child will be served by placement for adoption ” ; the court was not to be restricted by the § 3 conditions, but was to give “ due regard to the ability, capacity and fitness of the child ’ s parents. . . and to the plans proposed by the department or other agency initiating such petition. ” This statute thus broadened the factors the court could consider in deciding whether to proceed over the parent ’ s objections ; unsuitability besides desertion or neglect was now clearly an available ground.',
|
|
|
|
| 250 |
from sentence_transformers import SentenceTransformer
|
| 251 |
|
| 252 |
# Download from the 🤗 Hub
|
| 253 |
+
model = SentenceTransformer("Free-Law-Project/modernbert-embed-base_finetune_512")
|
| 254 |
# Run inference
|
| 255 |
sentences = [
|
| 256 |
'search_document: . for one year ” ; this was eventually codified as part of G. L. c. 210, § 3, which also specified other grounds for dispensing with parental consent, such as current imprisonment of the parent for more than three years. Chapter 593, § 1, of the Acts of 1953, codified as G. L. c. 210, § 3A, first provided for an independent proceeding, prior to adoption proceedings proper, at which it could be determined whether parental consent was to be necessary for the adoption. Its purpose was to facilitate and expedite the process of adoption of children being held in temporary foster care. See the Department of Public Welfare recommendations, 1953 House Doc. No. 118, accompanying their draft bill,. 1953 House Doc. No. 124. The proceeding could be brought by the Department of Public Welfare or any appropriate child care agency having custody of the child. But the act was silent as to the standards to be applied in deciding when consent could be dispensed with, and in Consent to Adoption of a Minor, 345 Mass. 706 ( 1963 ), this court held that, in the absence of any other indication in the statute, the conditions set out in § 3 for direct adoptions were still to be met ; specifically, the court held that a finding of parental “ unsuitability, ” without a finding of * 638wilful desertion or neglect for a year, was not an adequate basis for a decree dispensing with the parental consent. The department had evidently not intended the § 3 conditions to be read into the independent § 3A proceeding. Therefore the department immediately sponsored St. 1964, c. 425, which provided that consent could be dispensed with “ if the court finds that the best interests of the child will be served by placement for adoption ” ; the court was not to be restricted by the § 3 conditions, but was to give “ due regard to the ability, capacity and fitness of the child ’ s parents. . . and to the plans proposed by the department or other agency initiating such petition. ” This statute thus broadened the factors the court could consider in deciding whether to proceed over the parent ’ s objections ; unsuitability besides desertion or neglect was now clearly an available ground.',
|