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

  • Log In
  • Sign Up

amentaphd
/
snowflake-artic-embed-l

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

Instructions to use amentaphd/snowflake-artic-embed-l with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use amentaphd/snowflake-artic-embed-l with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("amentaphd/snowflake-artic-embed-l")
    
    sentences = [
        "What criteria must Member States consider when establishing penalties for infringements of the specified Regulation, and what is the deadline for notifying the Commission about these rules?",
        "Enforcement\n\n1.\n\nMember States shall lay down the rules on penalties applicable to infringements of this Regulation and shall take all measures necessary to ensure that they are implemented. The penalties provided for must be effective, proportionate and dissuasive taking into account, in particular, the nature, duration, recurrence and gravity of the infringement. Member States shall, by 31 December 2024, notify the Commission of those rules and of those measures and shall notify it without delay of any subsequent amendment affecting them.\n\n2.",
        "Within the transitional periods established, Member States shall progressively reduce their respective gaps with regard to the new minimum levels of taxation. However, where the difference between the national level and the minimum level does not exceed 3 % of that minimum level, the Member State concerned may wait until the end of the period to adjust its national level.",
        "AR 10. ‘Indirect political contribution’ refers to those political contributions made through an intermediary organisation such as a lobbyist or charity, or support given to an organisation such as a think tank or trade association linked to or supporting particular political parties or causes.\n\nAR 11. When determining ‘comparable position’ in this standard, the undertaking shall consider various factors, including level of responsibility and scope of activities undertaken.\n\nAR 12. The undertaking may provide the following information on its financial or in-kind contributions with regard to its lobbying expenses:\n\n(a)\n\nthe total monetary amount of such internal and external expenses; and\n\n(b)"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
snowflake-artic-embed-l
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
amentaphd's picture
amentaphd
Upload folder using huggingface_hub
fb1b084 verified about 1 year ago
  • 1_Pooling
    Upload folder using huggingface_hub about 1 year ago
  • eval
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    32.3 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    666 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • config_sentence_transformers.json
    292 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    1.34 GB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • modules.json
    368 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    732 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    1.47 kB
    Upload folder using huggingface_hub about 1 year ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub about 1 year ago