language:-enlicense:apache-2.0tags:-sentence-transformers-sentence-similarity-feature-extraction-dense-generated_from_trainer-dataset_size:3312-loss:MatryoshkaLoss-loss:MultipleNegativesRankingLossbase_model:nomic-ai/modernbert-embed-basewidget:-source_sentence:>- 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 Amazonsentences:-WhatshouldyoutestforyourDBinstance?->- Where can you find a list of restrictions and limitations related to Amazon S3 buckets?-Whatdoesthe'Get started'sectionprovide?-source_sentence:>- geographies use DynamoDB to build modern, serverless applications that can start small and scale globally. DynamoDB scales to support tables of virtually any size while providing consistent single-digit millisecond performance and high availability. For events, such as Amazon Prime Day, DynamoDB powers multiple high-traffic Amazon properties and systems, including Alexa, Amazon.com sites, and all Amazon fulfillment centers. For such events, DynamoDB APIs have handled trillions of calls from Amazon properties and systems. DynamoDB continuously serves hundreds of customers with tables that have peak traffic of over half a million requests per second. It also serves hundreds of customers whose table sizes exceed 200 TB, and processes over one billion requests per hour. Topics • Characteristics of DynamoDB • DynamoDB usesentences:->- What ensures that tasks are always started on secure and patched infrastructure?->- What state is the environment in while Elastic Beanstalk creates your AWS resources?-WhatisthepeaktrafficthatDynamoDBservesforsomecustomers?-source_sentence:>- Amazon Bedrock? 1 Amazon Bedrock User Guide • Create applications that reason through how to help a customer – Build agents that use foundation models, make API calls, and (optionally) query knowledge bases in order to reason through and carry out tasks for your customers. • Adapt models to specific tasks and domains with training data – Customize an Amazon Bedrock foundation model by providing training data for fine-tuning or continued-pretraining in order to adjust a model's parameters and improve its performance on specific tasks or in certain domains. • Improve your FM-based application's efficiency and output – Purchase Provisioned Throughput for a foundation model in order to run inference on models more efficiently and at discounted rates. • Determinesentences:-HowcanyouaccessAmazonAPIGateway?-WhatallocationstrategyisrecommendedforSpotbestpractice?-Whatisthepurposeofadaptingmodelstospecifictasksanddomains?-source_sentence:>- you create the example application, Elastic Beanstalk creates the following resources: • EC2 instance – An Amazon EC2 virtual machine configured to run web apps on the platform you selected. Every platform runs a different set of software, configuration files, and scripts to support a specific language version, framework, web container, or combination thereof. Most platforms use either Apache or nginx as a reverse proxy to forward web traffic to your web app, serve static assets, and generate access and error logs. You can connect to your Amazon EC2 instances to view configuration and logs. Step 2 - Deploy your application 10 AWS Elastic Beanstalk Developer Guide • Instance security group – An Amazon EC2 security group will be createdsentences:->- What allows a client to securely access private API resources inside a VPC?->- What resources does Elastic Beanstalk create when you create the example application?-WherecanyoufindmoreinformationaboutusingACLs?-source_sentence:>- change). Saved configuration A saved configuration is a template that you can use as a starting point for creating unique environment configurations. You can create and modify saved configurations, and apply them to environments, using the Elastic Beanstalk console, EB CLI, AWS CLI, or API. The API and the AWS CLI refer to saved configurations as configuration templates. Platform A platform is a combination of an operating system, programming language runtime, web server, application server, and Elastic Beanstalk components. You design and target your web application to a platform. Elastic Beanstalk provides a variety of platforms on which you can build your applications. For details, see Elastic Beanstalk platforms. Elastic Beanstalk web server environments The following diagram shows an examplesentences:-WhatcanyougrantotherpeoplepermissiontodoinyourAWSaccount?-Howcanthefleetrequestbedeleted?-WhatdotheAPIandtheAWSCLIrefertosavedconfigurationsas?pipeline_tag:sentence-similaritylibrary_name:sentence-transformersmetrics:-cosine_accuracy@1-cosine_accuracy@3-cosine_accuracy@5-cosine_accuracy@10-cosine_precision@1-cosine_precision@3-cosine_precision@5-cosine_precision@10-cosine_recall@1-cosine_recall@3-cosine_recall@5-cosine_recall@10-cosine_ndcg@10-cosine_mrr@10-cosine_map@100model-index:-name:EmbedAWSDocsresults:-task:type:information-retrievalname:InformationRetrievaldataset:name:dim768type:dim_768metrics:-type:cosine_accuracy@1value:0.002717391304347826name:CosineAccuracy@1-type:cosine_accuracy@3value:0.22554347826086957name:CosineAccuracy@3-type:cosine_accuracy@5value:0.5081521739130435name:CosineAccuracy@5-type:cosine_accuracy@10value:0.6983695652173914name:CosineAccuracy@10-type:cosine_precision@1value:0.002717391304347826name:CosinePrecision@1-type:cosine_precision@3value:0.07518115942028984name:CosinePrecision@3-type:cosine_precision@5value:0.10163043478260869name:CosinePrecision@5-type:cosine_precision@10value:0.06983695652173912name:CosinePrecision@10-type:cosine_recall@1value:0.002717391304347826name:CosineRecall@1-type:cosine_recall@3value:0.22554347826086957name:CosineRecall@3-type:cosine_recall@5value:0.5081521739130435name:CosineRecall@5-type:cosine_recall@10value:0.6983695652173914name:CosineRecall@10-type:cosine_ndcg@10value:0.30319890292610013name:CosineNdcg@10-type:cosine_mrr@10value:0.18024823153899258name:CosineMrr@10-type:cosine_map@100value:0.1931834404953386name:CosineMap@100-task:type:information-retrievalname:InformationRetrievaldataset:name:dim512type:dim_512metrics:-type:cosine_accuracy@1value:0name:CosineAccuracy@1-type:cosine_accuracy@3value:0.17119565217391305name:CosineAccuracy@3-type:cosine_accuracy@5value:0.49728260869565216name:CosineAccuracy@5-type:cosine_accuracy@10value:0.6766304347826086name:CosineAccuracy@10-type:cosine_precision@1value:0name:CosinePrecision@1-type:cosine_precision@3value:0.057065217391304345name:CosinePrecision@3-type:cosine_precision@5value:0.09945652173913044name:CosinePrecision@5-type:cosine_precision@10value:0.06766304347826087name:CosinePrecision@10-type:cosine_recall@1value:0name:CosineRecall@1-type:cosine_recall@3value:0.17119565217391305name:CosineRecall@3-type:cosine_recall@5value:0.49728260869565216name:CosineRecall@5-type:cosine_recall@10value:0.6766304347826086name:CosineRecall@10-type:cosine_ndcg@10value:0.2883913649143213name:CosineNdcg@10-type:cosine_mrr@10value:0.16803291062801948name:CosineMrr@10-type:cosine_map@100value:0.18227351655190474name:CosineMap@100-task:type:information-retrievalname:InformationRetrievaldataset:name:dim256type:dim_256metrics:-type:cosine_accuracy@1value:0.008152173913043478name:CosineAccuracy@1-type:cosine_accuracy@3value:0.1875name:CosineAccuracy@3-type:cosine_accuracy@5value:0.4945652173913043name:CosineAccuracy@5-type:cosine_accuracy@10value:0.6657608695652174name:CosineAccuracy@10-type:cosine_precision@1value:0.008152173913043478name:CosinePrecision@1-type:cosine_precision@3value:0.06249999999999999name:CosinePrecision@3-type:cosine_precision@5value:0.09891304347826087name:CosinePrecision@5-type:cosine_precision@10value:0.06657608695652174name:CosinePrecision@10-type:cosine_recall@1value:0.008152173913043478name:CosineRecall@1-type:cosine_recall@3value:0.1875name:CosineRecall@3-type:cosine_recall@5value:0.4945652173913043name:CosineRecall@5-type:cosine_recall@10value:0.6657608695652174name:CosineRecall@10-type:cosine_ndcg@10value:0.28990281751237307name:CosineNdcg@10-type:cosine_mrr@10value:0.17309459109730865name:CosineMrr@10-type:cosine_map@100value:0.18770616923880445name:CosineMap@100-task:type:information-retrievalname:InformationRetrievaldataset:name:dim128type:dim_128metrics:-type:cosine_accuracy@1value:0.002717391304347826name:CosineAccuracy@1-type:cosine_accuracy@3value:0.1875name:CosineAccuracy@3-type:cosine_accuracy@5value:0.44021739130434784name:CosineAccuracy@5-type:cosine_accuracy@10value:0.5842391304347826name:CosineAccuracy@10-type:cosine_precision@1value:0.002717391304347826name:CosinePrecision@1-type:cosine_precision@3value:0.0625name:CosinePrecision@3-type:cosine_precision@5value:0.08804347826086956name:CosinePrecision@5-type:cosine_precision@10value:0.058423913043478264name:CosinePrecision@10-type:cosine_recall@1value:0.002717391304347826name:CosineRecall@1-type:cosine_recall@3value:0.1875name:CosineRecall@3-type:cosine_recall@5value:0.44021739130434784name:CosineRecall@5-type:cosine_recall@10value:0.5842391304347826name:CosineRecall@10-type:cosine_ndcg@10value:0.25437162359674753name:CosineNdcg@10-type:cosine_mrr@10value:0.151576518288475name:CosineMrr@10-type:cosine_map@100value:0.16929779832410816name:CosineMap@100-task:type:information-retrievalname:InformationRetrievaldataset:name:dim64type:dim_64metrics:-type:cosine_accuracy@1value:0.008152173913043478name:CosineAccuracy@1-type:cosine_accuracy@3value:0.15760869565217392name:CosineAccuracy@3-type:cosine_accuracy@5value:0.33695652173913043name:CosineAccuracy@5-type:cosine_accuracy@10value:0.4782608695652174name:CosineAccuracy@10-type:cosine_precision@1value:0.008152173913043478name:CosinePrecision@1-type:cosine_precision@3value:0.05253623188405797name:CosinePrecision@3-type:cosine_precision@5value:0.0673913043478261name:CosinePrecision@5-type:cosine_precision@10value:0.047826086956521734name:CosinePrecision@10-type:cosine_recall@1value:0.008152173913043478name:CosineRecall@1-type:cosine_recall@3value:0.15760869565217392name:CosineRecall@3-type:cosine_recall@5value:0.33695652173913043name:CosineRecall@5-type:cosine_recall@10value:0.4782608695652174name:CosineRecall@10-type:cosine_ndcg@10value:0.2095240678369969name:CosineNdcg@10-type:cosine_mrr@10value:0.12627782091097317name:CosineMrr@10-type:cosine_map@100value:0.14429296766748773name:CosineMap@100
Embed AWS Docs
This is a sentence-transformers model finetuned from nomic-ai/modernbert-embed-base on the json dataset. It maps sentences & paragraphs to a 768-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("CadenShokat/modernbert-embed-aws")
# Run inference
sentences = [
'change). Saved configuration A saved configuration is a template that you can use as a starting point for creating unique environment configurations. You can create and modify saved configurations, and apply them to environments, using the Elastic Beanstalk console, EB CLI, AWS CLI, or API. The API and the AWS CLI refer to saved configurations as configuration templates. Platform A platform is a combination of an operating system, programming language runtime, web server, application server, and Elastic Beanstalk components. You design and target your web application to a platform. Elastic Beanstalk provides a variety of platforms on which you can build your applications. For details, see Elastic Beanstalk platforms. Elastic Beanstalk web server environments The following diagram shows an example',
'What do the API and the AWS CLI refer to saved configurations as?',
'What can you grant other people permission to do in your AWS account?',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.5572, 0.1425],# [0.5572, 1.0000, 0.1790],# [0.1425, 0.1790, 1.0000]])
Approximate statistics based on the first 1000 samples:
positive
anchor
type
string
string
details
min: 8 tokens
mean: 156.95 tokens
max: 265 tokens
min: 6 tokens
mean: 13.51 tokens
max: 32 tokens
Samples:
positive
anchor
such as the Kubernetes Dashboard and the section called “Horizontal Pod Autoscaler”. In this topic you learn how to install the Metrics Server. • the section called “Deploy apps with Helm” – The Helm package manager for Kubernetes helps you install and manage applications on your Kubernetes cluster. This topic helps you install and run the Helm binaries so that you can install and manage charts using the Helm CLI on your local computer. • the section called “Tagging your resources” – To help you manage your Amazon EKS resources, you can assign your own metadata to each resource in the form of tags. This topic describes tags and shows you how to create them. • the section called “Service
What is the section called that helps you install the Metrics Server?
out orchestrations through cyclically interpreting inputs and producing outputs by using a foundation model. An agent can be used to carry out customer requests. For more information, see Automate tasks in your application using AI agents. • Retrieval augmented generation (RAG) – The process involves: 1. Querying and retrieving information from a data source 2. Augmenting a prompt with this information to provide better context to the foundation model 3. Obtaining a better response from the foundation model using the additional context For more information, see Retrieve data and generate AI responses with Amazon Bedrock Knowledge Bases. • Model customization – The process of using training data to adjust the model parameter values in a base model in order to
Where can you find more information about AI agents?
An application that allows your customers to register, discover, and subscribe to your API products (API Gateway usage plans), manage their API keys, and view their usage metrics for your APIs. Edge-optimized API endpoint The default hostname of an API Gateway API that is deployed to the specified Region while using a CloudFront distribution to facilitate client access typically from across AWS Regions. API API Gateway concepts 9 Amazon API Gateway Developer Guide requests are routed to the nearest CloudFront Point of Presence (POP), which typically improves connection time for geographically diverse clients. See API endpoints. Integration request The internal interface of a WebSocket API route or REST API method in API Gateway, in which you map the body of
What is the internal interface of a WebSocket API route or REST API method in API Gateway called?
@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}
}