Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:3312
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use CadenShokat/modernbert-embed-aws with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use CadenShokat/modernbert-embed-aws with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("CadenShokat/modernbert-embed-aws") sentences = [ "S3 buckets. Before creating a bucket, make sure that you choose the bucket type that best fits your application and performance requirements. For more information about the various bucket types and the appropriate use cases for each, see Buckets. The following sections provide more information about general purpose buckets, including bucket naming rules, quotas, and bucket configuration details. For a list of restriction and limitations related to Amazon S3 buckets see, General purpose bucket quotas, limitations, and restrictions. Topics • General purpose buckets overview • Common general purpose bucket patterns • Permissions • Managing public access to general purpose buckets • General purpose buckets configuration options • General purpose buckets operations General purpose buckets overview API Version 2006-03-01 53 Amazon", "What should you test for your DB instance?", "Where can you find a list of restrictions and limitations related to Amazon S3 buckets?", "What does the 'Get started' section provide?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle