Sentence Similarity
sentence-transformers
Safetensors
gte
feature-extraction
Generated from Trainer
dataset_size:46338
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
custom_code
Eval Results (legacy)
Instructions to use amentaphd/snowflake-artic-embed-m-v2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use amentaphd/snowflake-artic-embed-m-v2.0 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("amentaphd/snowflake-artic-embed-m-v2.0", trust_remote_code=True) sentences = [ "What is the definition of 'Union processing capacity' and how does it relate to the location of processing operations for strategic raw materials?", "(9)\n\n‘Union processing capacity’ means an aggregate of the maximum annual production volumes of processing operations for strategic raw materials, excluding such operations that are typically located at or near the extraction site, located in the Union;\n\n(10)\n\n‘recycling’ means recycling as defined in Article 3, point (17), of Directive 2008/98/EC;\n\n(11)\n\n‘Union recycling capacity’ means an aggregate of the maximum annual production volume of recycling operations for strategic raw materials after re- processing, including the sorting and pre-treatment of waste, and its processing into secondary raw materials, located in the Union;\n\n(12)", "206-44-0 205-912-4 Fluoranthene (16) 118-74-1 204-273-9 Hexachlorobenzene X (17) 87-68-3 201-765-5 Hexachlorobutadiene X (18) 608-73-1 210-168-9 Hexachlorocyclohexane X (19) 34123-59-6 251-835-4 Isoproturon (20) 7439-92-1 231-100-4 Lead and its compounds (21) 7439-97-6 231-106-7 Mercury and its compounds X (22) 91-20-3 202-049-5 Naphthalene (23) 7440-02-0 231-111-4 Nickel and its compounds (24) not applicable not applicable Nonylphenols X (5) (25) not applicable not applicable Octylphenols (6) (26) 608-93-5 210-172-0 Pentachlorobenzene X (27) 87-86-5 201-778-6 Pentachlorophenol (28) not applicable not applicable Polyaromatic hydrocarbons (PAH) (7) X (29) 122-34-9 204-535-2 Simazine (30) not applicable not applicable Tributyltin compounds X", "7.\n\nThe principles governing public procurement procedures, including the principles of proportionality, non-discrimination, equal treatment, transparency and competition, shall be observed as regards all economic operators involved in the public procurement procedure. The investigation of foreign subsidies pursuant to this Regulation shall not result in the contracting authority or the contracting entity treating the economic operators concerned in a way that is contrary to those principles. Environmental, social and labour requirements shall apply to economic operators in accordance with Directives 2014/23/EU, 2014/24/EU and 2014/25/EU, or other Union law.\n\n8." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit ·
37116f4
verified ·
0
Parent(s):
initial commit
Browse files- .gitattributes +35 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|