SentenceTransformer based on Snowflake/snowflake-arctic-embed-l
This is a
sentence-transformers
model finetuned from
Snowflake/snowflake-arctic-embed-l
. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'What are the main objectives of the directives mentioned in the text regarding greenhouse gas emissions and carbon dioxide storage, and how do they relate to environmental protection and sustainability within the European Union?',
'(24) Directive 2003/87/EC of the European Parliament and of the Council of 13 October 2003 establishing a scheme for greenhouse gas emission allowance trading within the Union and amending Council Directive 96/61/EC (OJ L 275, 25.10.2003, p. 32).\n\n(25) Directive 2009/31/EC of the European Parliament and of the Council of 23 April 2009 on the geological storage of carbon dioxide and amending Council Directive 85/337/EEC, European Parliament and Council Directives 2000/60/EC, 2001/80/EC, 2004/35/EC, 2006/12/EC, 2008/1/EC and Regulation (EC) No 1013/2006 (OJ L 140, 5.6.2009, p. 114).\n\n(26) Directive 2014/23/EU of the European Parliament and of the Council of 26 February 2014 on the award of concession contracts (OJ L 94, 28.3.2014, p. 1).',
'Article 33\n\nResponsibility and liability for drawing up and publishing the financial statements and the management report\n\n▼M4\n\n1.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Approximate statistics based on the first 1000 samples:
sentence_0
sentence_1
type
string
string
details
min: 11 tokens
mean: 35.24 tokens
max: 206 tokens
min: 4 tokens
mean: 193.39 tokens
max: 512 tokens
Samples:
sentence_0
sentence_1
How is materiality defined in the context of an entity's sustainability reporting as per QC 4?
QC 4. Materiality is an entity-specific aspect of relevance based on the nature or magnitude, or both, of the items to which the information relates, as assessed in the context of the undertaking’s sustainability reporting (see chapter 3 of this Standard).
Faithful representation
QC 5. To be useful, the information must not only represent relevant phenomena, it must also faithfully represent the substance of the phenomena that it purports to represent. Faithful representation requires information to be (i) complete, (ii) neutral and (iii) accurate.
What procedure must be followed for the adoption of implementing acts as mentioned in the text?
Those implementing acts shall be adopted in accordance with the examination procedure referred to in Article 22a(2).
3.
Articles 9, 9a and 10 shall apply to maritime transport activities in the same manner as they apply to other activities covered by the EU ETS with the following exception with regard to the application of Article 10.
How should monitoring points be distributed for groundwater bodies that flow across Member State boundaries to effectively estimate groundwater flow?
The network shall include sufficient representative monitoring points to estimate the groundwater level in each groundwater body or group of bodies taking into account short and long-term variations in recharge and in particular:
— for groundwater bodies identified as being at risk of failing to achieve environmental objectives under Article 4, ensure sufficient density of monitoring points to assess the impact of abstractions and discharges on the groundwater level,
— for groundwater bodies within which groundwater flows across a Member State boundary, ensure sufficient monitoring points are provided to estimate the direction and rate of groundwater flow across the Member State boundary.
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of amentaphd snowflake-artic-embed-l on huggingface.co
78
Total runs
-15
24-hour runs
-3
3-day runs
-2
7-day runs
17
30-day runs
More Information About snowflake-artic-embed-l huggingface.co Model
snowflake-artic-embed-l huggingface.co
snowflake-artic-embed-l huggingface.co is an AI model on huggingface.co that provides snowflake-artic-embed-l's model effect (), which can be used instantly with this amentaphd snowflake-artic-embed-l model. huggingface.co supports a free trial of the snowflake-artic-embed-l model, and also provides paid use of the snowflake-artic-embed-l. Support call snowflake-artic-embed-l model through api, including Node.js, Python, http.
snowflake-artic-embed-l huggingface.co is an online trial and call api platform, which integrates snowflake-artic-embed-l's modeling effects, including api services, and provides a free online trial of snowflake-artic-embed-l, you can try snowflake-artic-embed-l online for free by clicking the link below.
amentaphd snowflake-artic-embed-l online free url in huggingface.co:
snowflake-artic-embed-l is an open source model from GitHub that offers a free installation service, and any user can find snowflake-artic-embed-l on GitHub to install. At the same time, huggingface.co provides the effect of snowflake-artic-embed-l install, users can directly use snowflake-artic-embed-l installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
snowflake-artic-embed-l install url in huggingface.co: