Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

freelawproject
/
modernbert-embed-base_finetune_512

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:2828
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
modernbert-embed-base_finetune_512
600 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
rachelFLP's picture
rachelFLP
Update README.md
04f0141 verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    41.8 kB
    Update README.md about 1 year ago
  • config.json
    1.3 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    596 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    20.8 kB
    Add new SentenceTransformer model about 1 year ago