Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

amentaga-nttd
/
example

Sentence Similarity
sentence-transformers
Safetensors
albert
feature-extraction
Generated from Trainer
dataset_size:10
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use amentaga-nttd/example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use amentaga-nttd/example with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("amentaga-nttd/example")
    
    sentences = [
        "What processes are used to separate the raw liquid mix from natural gas in a gas recycling plant?",
        "2016 ►M43 (*1) ◄ 21 September 2017 ►M43 (*2) ◄ [▼M28](./../../../legal-content/EN/AUTO/?uri=celex:32014R0895 \"32014R0895: INSERTED\") 23. Formaldehyde, oligomeric reaction products with aniline (technical MDA) EC No: 500-036-1 CAS No: 25214-70-4 Carcinogenic (category 1B) 22 February 2016 ►M43 (*1) ◄ 22 August 2017 ►M43 (*2) ◄ — 24. Arsenic acid EC No: 231-901-9 CAS No: 7778-39-4 Carcinogenic (category 1A) 22 February 2016 22 August 2017 — 25. Bis(2-methoxyethyl) ether (diglyme) EC No: 203-924-4 CAS No: 111-96-6 Toxic for reproduction (category 1B) 22 February 2016 ►M43 (*1) ◄ 22 August 2017 ►M43 (*2) ◄ — 26. 1,2-dichloroethane (EDC) EC No: 203-458-1 CAS No: 107-06-2 Carcinogenic (category 1B) 22 May 2016 22 November 2017 — 27.",
        "1. Member States shall ensure that their competent authorities establish at least one AI regulatory sandbox at national level, which shall be operational by 2 August 2026. That sandbox may also be established jointly with the competent authorities of other Member States. The Commission may provide technical support, advice and tools for the establishment and operation of AI regulatory sandboxes.\n\nThe obligation under the first subparagraph may also be fulfilled by participating in an existing sandbox in so far as that participation provides an equivalent level of national coverage for the participating Member States.",
        "and that boils in a range of approximately 149 °C to 205 °C.) 649-345-00-4 232-489-3 8052-41-3 P Natural gas condensates (petroleum); Low boiling point naphtha — unspecified (A complex combination of hydrocarbons separated as a liquid from natural gas in a surface separator by retrograde condensation. It consists mainly of hydrocarbons having carbon numbers predominantly in the range of C2 to C20. It is a liquid at atmospheric temperature and pressure.) 649-346-00-X 265-047-3 64741-47-5 P Natural gas (petroleum), raw liquid mix; Low boiling point naphtha — unspecified (A complex combination of hydrocarbons separated as a liquid from natural gas in a gas recycling plant by processes such as refrigeration or absorption. It consists mainly of"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
example
187 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
amentaga-nttd's picture
amentaga-nttd
Upload folder using huggingface_hub
f7708ef verified 10 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 10 months ago
  • checkpoint-4
    Upload folder using huggingface_hub 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    27.2 kB
    Upload folder using huggingface_hub 10 months ago
  • config.json
    829 Bytes
    Upload folder using huggingface_hub 10 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload folder using huggingface_hub 10 months ago
  • model.safetensors
    46.7 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 10 months ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub 10 months ago
  • special_tokens_map.json
    970 Bytes
    Upload folder using huggingface_hub 10 months ago
  • tokenizer.json
    2.27 MB
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_config.json
    1.44 kB
    Upload folder using huggingface_hub 10 months ago