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
Run this model with HF Jobs
Run CadenShokat/modernbert-embed-aws on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CadenShokat/modernbert-embed-aws. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CadenShokat/modernbert-embed-aws on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Ctrl+K