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

Ananthu357
/
Ananthus-BAAI-for-contracts

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:360
loss:CosineSimilarityLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Ananthu357/Ananthus-BAAI-for-contracts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Ananthu357/Ananthus-BAAI-for-contracts with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Ananthu357/Ananthus-BAAI-for-contracts")
    
    sentences = [
        "Deadline for submitting project schedule.",
        "Variation",
        "The Railway shall have the right to let other contracts in connection with the works. The Contractor shall afford other Contractors reasonable opportunity for the storage of their materials and the execution of their works and shall properly connect and coordinate his work with theirs. If any part of the Contractor’s work depends upon proper execution or result upon the work of another Contractor(s), the Contractor shall inspect and promptly report to the Engineer any defects in such works that render it unsuitable for such proper execution and results. The Contractor's failure so-to inspect and report shall constitute an acceptance of the other Contractor's work as fit and proper for the reception of his work, except as to defects which may develop in the other Contractor's work after the execution of his work.",
        "The quantities set out in the accepted Schedule of Rates with items of works quantified are the estimated quantities of the works"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Ananthus-BAAI-for-contracts
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Ananthu357's picture
Ananthu357
Add new SentenceTransformer model.
2063bad verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    12.7 kB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    737 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    1.34 GB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. about 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. about 2 years ago