This SageMaker model package provides a REST API to classify news text into four topics: World, Sports, Business, or Sci/Tech, with a confidence score.
Use it to organize content feeds, tag articles at ingestion time, or build topic-aware recommendation and monitoring pipelines.
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 ag_news 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.
The label set is fixed to the four AG News topics: World, Sports,
Business, and Sci/Tech. Text outside those topics is still forced into
one of the four.
Trained on news articles; accuracy on other genres will be lower.
Measured performance
Accuracy 94.4 percent, macro-F1 0.944, measured on 20,000 held-out examples from AG News.
The split is seeded (70/20/10, seed 42) and was not used in training.
Real-time endpoint on ml.m5.large: 268 ms median per request (282 ms p95).
Throughput on the same instance: about 23 texts per second at a batch size of 32.
Highlights
Tag incoming news as World, Sports, Business, or Sci/Tech as it hits the ingest pipe
A four-way news taxonomy with confidence - not a generic topic model you have to interpret
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 based on the SageMaker instance you run. The five instance types (ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.c5.xlarge, ml.c5.2xlarge) span general-purpose and compute-optimized families, letting you match capacity to your workload. Each instance comes in two modes: batch, for processing groups of text at once, and real-time, for live endpoint requests. This gives you 10 combinations. Pricing scales with instance size and mode, so cost tracks the hours each endpoint or batch job runs. The underlying AWS infrastructure is billed separately.
Top-of-mind questions for buyers
What counts as one billable host hour for these inference dimensions?
One host hour is one hour that a chosen SageMaker instance runs your model. Real-time endpoints accrue hours while the endpoint stays live and waiting for requests. Batch jobs accrue hours only while the job runs. Each running instance is metered separately, so multiple instances multiply the hours.
Am I charged when a real-time endpoint is idle or a batch job is not running?
A real-time endpoint accrues host hours whenever it stays deployed, even with no incoming text. To stop software charges, delete the endpoint. A batch job charges only for the hours it actively runs, then stops. Underlying AWS infrastructure is billed separately by AWS.
How does batch mode billing differ from real-time mode for the same instance type?
Both modes meter the same instance by the hour, but the trigger differs. Real-time bills for continuous endpoint uptime, so it suits steady live traffic. Batch bills only during a processing job, so it suits scoring large groups of text on demand. You pick per instance type.
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": ["The UN security council voted on the resolution"]}
Batch transform sample input data
The UN security council voted on the resolution
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.
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.