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

sabber
/
worksphere-regulations-embedding_bge

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

Instructions to use sabber/worksphere-regulations-embedding_bge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sabber/worksphere-regulations-embedding_bge with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sabber/worksphere-regulations-embedding_bge")
    
    sentences = [
        "How should we proceed if the installed valve or its appurtenances do not conform to the City's criteria, and what steps are involved in remedying the situation?",
        "1.1 SUMMARY:\n2. The valve shall perform as intended with no deformation, leaking or damage of any kind for the pressure ranges indicated.\n3. Before acceptance of the installed valve, provide the City the opportunity to inspect and operate the valve.\na. The City will assess the ease of operating the ball valves and corporation stops, where applicable.\n4. The Combination Air Valve assembly shall be free from any leaks.\nB. Non-Conforming Work\n1. Ifaccess and operation of the valve or its appurtenances does not meet the City's criteria, the Contractor will remedy the situation until it meets the City's criteria, at the Contractor's expense.\n3.8. SYSTEM STARTUP [NOT USED]\n3.9 ADJUSTING [NOT USED]\n3.10 CLEANING [NOT USED]\n3.11 CLOSEOUT ACTIVITIES [NOT USED]\n3.12, PROTECTION [NOT USED]\n3.13 MAINTENANCE [NOT USED]\n3.14 ATTACHMENTS [NOT USED]",
        "b. Miscellaneous Areas:\nlayer.. , 1 = . , 2 = 3). , 3 = Take corrective action if an adequate bond does not exist between the. , 1 = . , 2 = . , 3 = current and underlying layer to ensure an adequate bond will be achieved. , 1 = . , 2 = . , 3 = during subsequent placement operations.. , 1 = . , 2 = 4). , 3 = The untrimmed core height must be in accordance with the requirements in. , 1 = . , 2 = . , 3 = Table 17.. , 1 = . , 2 = 5). , 3 = If the cores are an acceptable height, trim the cores immediately after. , 1 = . , 2 = . , 3 = obtaining the cores in accordance with Tex-207-F.. , 1 = . , 2 = . , 3 = Any core that does not meet the requirements in Table 17 will be rejected.. , 1 = . , 2 = 6). , 3 = more. , 1 = . , 2 = . , 3 = The City may request additional cores to be taken within the area. If. , 1 = . , 2 = 7). , 3 = than 2 cores are",
        "4. Other Activities:\na. Rental of storage units, rental of storage space for recreational vehicles (RV) and boats, and the sale of moving related items are allowed uses.\nb. No other land use or business activity within storage units is allowed.\nc. The rental of moving trucks and moving related equipment shall constitute an Equipment Sales and Rental use.\nd. The sale and leasing of recreational vehicles (RVs) and boats shall constitute an Automotive Sales and Leasing use."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
worksphere-regulations-embedding_bge
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
sabber's picture
sabber
Add new SentenceTransformer model
61c93f3 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    44.3 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    740 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model over 1 year ago