Overview
Python predict
SageMaker predictor.predict example returning positive or negative sentiment
Python predict
POST /invocations
Runs inside your own AWS account: your text is processed on a SageMaker endpoint you control, inside your VPC, and is never sent to a third-party API.
This SageMaker model package provides a REST api to analyze the sentiment of English sentences.
The API accepts input as JSON, CSV or plain text, and identifies the sentiment (positive or negative) and provides a confidence level (float number from 0 to 1).
Use it to score product reviews and app store feedback, triage support tickets by tone, moderate community content, or track sentiment trends across a review backlog.
We welcome your feedback at support@sigmodata.com
Model and training data Version 3 is a ModernBERT-base (answerdotai/ModernBERT-base) text classifier fine-tuned with PyTorch and Hugging Face Transformers on the public IMDB movie review, SST-2 (GLUE), and dair-ai/emotion datasets, and served as ONNX. The model package runs in network isolation on SageMaker, so no data leaves your account. It supports real-time endpoints and batch transform, and takes JSON, CSV, or plain text.
Known limitations
- English only. Other languages are not supported.
- Binary output (positive or negative). There is no neutral class, so neutral text is forced into the closer of the two labels.
- Tuned for short review-style text. Split long documents into sentences or passages before sending.
Measured performance
- Accuracy 95.4 percent, macro-F1 0.954, measured on 20,000 held-out examples from the public IMDB, SST-2 (GLUE), and dair-ai/emotion datasets. The split is seeded (70/20/10, seed 42) and was not used in training.
- Real-time endpoint on ml.m5.large: 263 ms median per request (275 ms p95).
- Throughput on the same instance: about 23 texts per second at a batch size of 32.
Highlights
- Score English reviews and comments as positive or negative, with a confidence between 0 and 1
- Runs inside your own AWS account and VPC - text is never sent to a third-party API
- 95.4 percent accuracy (macro-F1 0.954) on 20,000 held-out examples; about 23 texts per second on ml.m5.large
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.m5.large Inference (Batch) Recommended | Model inference on the ml.m5.large instance type, batch mode | $0.10 |
ml.m5.large Inference (Real-Time) Recommended | Model inference on the ml.m5.large instance type, real-time mode | $0.10 |
ml.c4.2xlarge Inference (Batch) | Model inference on the ml.c4.2xlarge instance type, batch mode | $0.10 |
ml.c4.4xlarge Inference (Batch) | Model inference on the ml.c4.4xlarge instance type, batch mode | $0.10 |
ml.c4.8xlarge Inference (Batch) | Model inference on the ml.c4.8xlarge instance type, batch mode | $0.10 |
ml.c4.xlarge Inference (Batch) | Model inference on the ml.c4.xlarge instance type, batch mode | $0.10 |
ml.c5.18xlarge Inference (Batch) | Model inference on the ml.c5.18xlarge instance type, batch mode | $0.10 |
ml.c5.2xlarge Inference (Batch) | Model inference on the ml.c5.2xlarge instance type, batch mode | $0.10 |
ml.c5.4xlarge Inference (Batch) | Model inference on the ml.c5.4xlarge instance type, batch mode | $0.10 |
ml.c5.9xlarge Inference (Batch) | Model inference on the ml.c5.9xlarge instance type, batch mode | $0.10 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
No refunds offered but you may cancel at any time
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker model
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.
Version release notes
Important: this version replaces the model. Every prediction may differ from version 2, so re-check any threshold you tuned against it before upgrading.
- Model is now ModernBERT-base, fine-tuned on the public IMDB, SST-2 (GLUE), and dair-ai/emotion datasets. Version 2 shipped a much older recurrent model.
- 95.4 percent accuracy, macro-F1 0.954, measured on 20,000 held-out examples.
- Inference container rebuilt on Amazon Linux 2023 to clear the HIGH and CRITICAL CVEs in the previous Debian base.
- Request and response formats are unchanged: JSON, CSV, or plain text in; label plus confidence out.
Additional details
Inputs
- Summary
A JSON object with a "texts" array of English strings to classify (or a CSV file, one text per line, for batch transform).
- Input MIME type
- application/json, text/csv
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
Field name | Description | Constraints | Required |
|---|---|---|---|
texts | List of text strings to classify | - | Yes |
Resources
Vendor resources
Support
Vendor support
Support contact: Email: support@sigmodata.com Support URL: https://www.sigmodata.com/contact
Support description: Email support@sigmodata.com or https://www.sigmodata.com/contact . We reply within one business day, Monday through Friday, US Pacific time.
AWS infrastructure support
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.
Similar products



