Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:2730
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use jimmydzj2006/snowflake-arctic-embed-xs_finetuned_aipolicy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use jimmydzj2006/snowflake-arctic-embed-xs_finetuned_aipolicy with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("jimmydzj2006/snowflake-arctic-embed-xs_finetuned_aipolicy") sentences = [ "What steps can be taken to mitigate the risks associated with GAI systems?", "Action ID: GV-4.3-003\nSuggested Action: Verify information sharing and feedback mechanisms among individuals and\norganizations regarding any negative impact from GAI systems.\nGAI Risks: Information Integrity; Data\nPrivacy", "48. The definitions of 'equity' and 'underserved communities' can be found in the Definitions section of this framework as well as in Section 2 of The Executive Order On Advancing Racial Equity and Support [for Underserved Communities Through the Federal Government. https://www.whitehouse.gov/](https://www.whitehouse.gov) briefing-room/presidential-actions/2021/01/20/executive-order-advancing-racial-equity-and-support for-underserved-communities-through-the-federal-government/\n\n49. Id.", "Action ID: GV-6.1-001\nSuggested Action: Categorize different types of GAI content with associated third-party rights (e.g.,\ncopyright, intellectual property, data privacy).\nGAI Risks: Data Privacy; Intellectual\nProperty; Value Chain and\nComponent Integration" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle