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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Ayushi054
/
CourtInsight-BNS-Encoder

Sentence Similarity
sentence-transformers
Safetensors
English
nomic_bert
legal
legal-retrieval
bns
indian-law
semantic-search
information-retrieval
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Ayushi054/CourtInsight-BNS-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Ayushi054/CourtInsight-BNS-Encoder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Ayushi054/CourtInsight-BNS-Encoder", trust_remote_code=True)
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
CourtInsight-BNS-Encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 37 commits
Ayushi054's picture
Ayushi054
Add CourtInsight BNS Encoder model card
7d69e41 verified about 2 months ago
  • 1_Pooling
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    4.08 kB
    Add CourtInsight BNS Encoder model card about 2 months ago
  • config.json
    2.43 kB
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • config_sentence_transformers.json
    284 Bytes
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • configuration_hf_nomic_bert.py
    1.96 kB
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • model.safetensors
    547 MB
    xet
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • modeling_hf_nomic_bert.py
    104 kB
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • modules.json
    277 Bytes
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • sentence_bert_config.json
    241 Bytes
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • tokenizer.json
    712 kB
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • tokenizer_config.json
    391 Bytes
    Upload CourtInsight BNS Encoder V3 about 2 months ago
  • training_args.bin
    5.59 kB
    xet
    Upload CourtInsight BNS Encoder V3 about 2 months ago