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

Vinsuka
/
legora_model

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

Instructions to use Vinsuka/legora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Vinsuka/legora_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Vinsuka/legora_model")
    
    sentences = [
        "What is the duration of the period mentioned in the text?",
        ". The only excep Ɵon to the requirement that the plainƟff must be a lending i nsƟtuƟon in order to invoke the provisions of the Act is contained in SecƟon 25, in terms of which a person who inter alia knowingly draws a cheque which is subsequently dishonoured by the bank for want of funds is guilty of an offence under the Act, and proceedings can be insƟtuted against such person in the Magistrate’s",
        "? The 1st question of law is formulated on the basis that , the 1st Defendant is the licensee of the 2nd Defendant and therefore, the 1st Defendant cannot claim prescriptive title to the subject matter",
        ".50,000/ - (that is , a period of 36 months) but such “Facility” is subject to review on 30 /09/2000”, (that is, a period of about only 5 months from the date of P4)"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
legora_model / eval
5.82 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Vinsuka's picture
Vinsuka
Upload folder using huggingface_hub
d52ad1b verified about 1 year ago
  • Information-Retrieval_evaluation_dim_128_results.csv
    1.18 kB
    Upload folder using huggingface_hub about 1 year ago
  • Information-Retrieval_evaluation_dim_256_results.csv
    1.17 kB
    Upload folder using huggingface_hub about 1 year ago
  • Information-Retrieval_evaluation_dim_512_results.csv
    1.13 kB
    Upload folder using huggingface_hub about 1 year ago
  • Information-Retrieval_evaluation_dim_64_results.csv
    1.18 kB
    Upload folder using huggingface_hub about 1 year ago
  • Information-Retrieval_evaluation_dim_768_results.csv
    1.16 kB
    Upload folder using huggingface_hub about 1 year ago