This SageMaker model package provides a REST API to detect the dominant emotion in English text.
Each input text is classified into one of six emotions: sadness, joy, love, anger, fear, or surprise, with a confidence score. Use it for customer feedback analysis, social listening, or conversational analytics.
The API accepts input as JSON or CSV and supports real-time endpoints and batch transform.
Model and training data
The model is a ModernBERT-base (answerdotai/ModernBERT-base) text classifier
fine-tuned with PyTorch and Hugging Face Transformers on the public dair-ai/emotion dataset.
It runs in network isolation on SageMaker, so no data leaves your account.
Known limitations
English only. Other languages are not supported.
The model was fine-tuned on inputs up to 512 tokens. Longer text is
accepted, but accuracy is only characterized to that length; split long
documents into passages before sending.
Returns one dominant emotion from a fixed set of six. Mixed or absent
emotion is still mapped to the closest label.
Trained on short social media text; longer formal prose is out of
domain.
Measured performance
Accuracy 93.2 percent, macro-F1 0.903, measured on 4,000 held-out examples from the public dair-ai/emotion dataset.
The split is seeded (70/20/10, seed 42) and was not used in training.
Real-time endpoint on ml.m5.large: 262 ms median per request (271 ms p95).
Throughput on the same instance: about 24 texts per second at a batch size of 32.
Highlights
Label user text as sadness, joy, love, anger, fear, or surprise, with a confidence score
Six emotions, not just positive/negative - built for social, support, and UGC triage
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
You pay by the hour for the compute instance running the model, not by text volume. Pricing splits along two lines. First, choose an instance size across two families: general-purpose ml.m5 (large, xlarge, 2xlarge) and compute-optimized ml.c5 (xlarge, 2xlarge). Larger instances carry higher hourly rates. Second, choose a mode: batch, which processes text in scheduled jobs, or real-time, which serves a live endpoint. Each size and mode pairing is billed separately per host hour. You run these instances in your own AWS account.
Top-of-mind questions for buyers
What does one host hour cover, and does text volume affect the charge?
One host hour is one hour that your chosen instance runs the model in your AWS account. Charges accrue by running time, not by how much text you send. Sending more text within a running hour does not raise the host-hour charge. You send JSON, CSV, or plain text and get a label plus a confidence score.
Am I charged when a real-time endpoint sits idle or a batch job is not running?
Real-time endpoints bill per host hour while the endpoint stays running, even with no requests. Stop the endpoint to end software charges. Batch mode bills only while a job runs, then stops when the job finishes. Underlying AWS storage or other resources may still incur separate AWS fees.
How do batch mode and real-time mode differ for my bill?
Real-time mode keeps a live endpoint running and bills every host hour it stays up, suiting steady request traffic. Batch mode runs a scheduled job over your data, then stops, so you pay only for job runtime. Batch suits large one-off datasets; real-time suits continuous, on-demand classification.
www.sigmodata.com
Helpful?
Vendor refund policy
No refunds offered but you may cancel at any time
How can we make this page better?
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Deploy the model on Amazon SageMaker AI using the following options:
Real-time inference
Deploy the model as an API endpoint for your applications. When you send data to the endpoint, SageMaker processes it and returns results by API response. The endpoint runs continuously until you delete it. You're billed for software and SageMaker infrastructure costs while the endpoint runs. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Deploy models for real-time inference .
Batch transform
Deploy the model to process batches of data stored in Amazon Simple Storage Service (Amazon S3). SageMaker runs the job, processes your data, and returns results to Amazon S3. When complete, SageMaker stops the model. You're billed for software and SageMaker infrastructure costs only during the batch job. Duration depends on your model, instance type, and dataset size. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Batch transform for inference with Amazon SageMaker AI .
Version release notes
Important: security update. The inference container is rebuilt on Amazon
Linux 2023, replacing a Debian base that carried HIGH and CRITICAL CVEs
with no fixed version available upstream.
The model itself is unchanged. This version is exported from the same
fine-tuned checkpoint as version 1.
Request and response formats are unchanged: JSON or CSV in, label plus
confidence out.
Additional details
Inputs
Outputs
Usage instructions
Sample notebooks
Inputs
Summary
A JSON object with a "texts" array of strings to classify (or a CSV file, one text per line, for batch transform).
Input MIME type
application/json, text/csv
Real-time inference sample input data
{"texts": ["I am so happy today everything is going great"]}
Batch transform sample input data
I am so happy today everything is going great
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Wipro's Face Emotion Agent is an AWS-native AI solution that analyzes customer facial expressions in real-time to assess product feedback and engagement. Built on Amazon Rekognition and SageMaker, it identifies emotions like happiness, sadness, anger, and surprise with 95%+ accuracy—enabling brands to enhance customer experience through actionable emotion-driven insights via RESTful APIs.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.