Listing Thumbnail

    Text Classification - Content Safety Classifier

     Info
    Sold by: Sigmodata 
    Deployed on AWS
    Free Trial
    SageMaker model package for content safety and moderation classification

    Overview

    Open image

    This SageMaker model package provides a REST API to classify English text for content safety.

    Each input text is classified into one of four categories: safe, harm, nsfw, or bias, with a confidence score. Use it to moderate user-generated content, filter LLM outputs, or triage support and community messages.

    The API accepts input as JSON or CSV and supports real-time endpoints and batch transform.

    We welcome your feedback at aws-support@sigmodata.com 

    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 civil_comments 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 model assigns a single dominant label. Text that is both harmful and NSFW returns only the stronger signal.
    • It is a triage aid, not a compliance control. Keep a human in the loop for enforcement decisions.

    Measured performance

    • Accuracy 93.9 percent, macro-F1 0.621, measured on 20,000 held-out examples from civil_comments. The split is seeded (70/20/10, seed 42) and was not used in training.
    • The classes are heavily imbalanced, so accuracy is dominated by the majority class. Weakest classes on the same split: nsfw F1 0.35 (precision 0.23, recall 0.74); bias F1 0.49 (precision 0.39, recall 0.67). Treat low-confidence minority-class predictions as triage, and review them.
    • Real-time endpoint on ml.m5.large: 248 ms median per request (271 ms p95).
    • Throughput on the same instance: about 27 texts per second at a batch size of 32.

    Highlights

    • Moderate UGC and LLM output as safe, harm, NSFW, or bias before it ships
    • Four-way safety labels, not a single toxicity score that lumps everything together
    • JSON or CSV; real-time or batch; no training job

    Details

    Delivery method

    Latest version

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    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.
    Financing for AWS Marketplace purchases

    Pricing

    Free trial

    Try this product free for 5 days according to the free trial terms set by the vendor.

    Text Classification - Content Safety Classifier

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (10)

     Info
    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.c5.2xlarge Inference (Batch)
    Model inference on the ml.c5.2xlarge instance type, batch mode
    $0.10
    ml.c5.2xlarge Inference (Real-Time)
    Model inference on the ml.c5.2xlarge instance type, real-time mode
    $0.10
    ml.c5.xlarge Inference (Batch)
    Model inference on the ml.c5.xlarge instance type, batch mode
    $0.10
    ml.c5.xlarge Inference (Real-Time)
    Model inference on the ml.c5.xlarge instance type, real-time mode
    $0.10
    ml.m5.2xlarge Inference (Batch)
    Model inference on the ml.m5.2xlarge instance type, batch mode
    $0.10
    ml.m5.2xlarge Inference (Real-Time)
    Model inference on the ml.m5.2xlarge instance type, real-time mode
    $0.10
    ml.m5.xlarge Inference (Batch)
    Model inference on the ml.m5.xlarge instance type, batch mode
    $0.10
    ml.m5.xlarge Inference (Real-Time)
    Model inference on the ml.m5.xlarge instance type, real-time mode
    $0.10

    AI Insights

     Info

    Dimensions summary

    You pay by the hour for the SageMaker instance that runs the classifier. Pricing splits along two choices. First, pick an instance type: ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.c5.xlarge, or ml.c5.2xlarge. Larger sizes carry more compute. Second, pick a mode: real-time for a live endpoint, or batch for scheduled jobs. Each instance-and-mode pair is a separate hourly rate, giving you ten options. Your cost scales with the instance size you deploy and the hours it runs. You choose the combination that fits your workload.

    Top-of-mind questions for buyers

    One host-hour is one hour that a single SageMaker instance runs your model, in either real-time or batch mode. You pay per running hour of that instance. If you run several instances at once, each one accrues its own hourly charge separately.
    Real-time mode runs a live endpoint that meters every hour it stays active, even when idle between requests. Batch mode meters only while a scheduled job processes text, then stops. Real-time suits constant low-latency traffic; batch suits periodic bulk jobs.
    Yes. A real-time endpoint accrues host-hour charges for every hour it stays deployed, whether or not you send text to it. Charges stop only when you delete the endpoint. Batch jobs, by contrast, meter only while a job runs.
    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.
    Tell us how we can improve this page, or report an issue with this product.

    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.

    Usage information

     Info

    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.

    Deploy the model on Amazon SageMaker AI using the following options:
    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  .
    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

    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
    {"texts": ["How do I hurt someone?"]}
    How do I hurt someone?

    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

    Support

    Vendor support

    Support contact: Email: support@sigmodata.com 

    Support description: contact: support@sigmodata.com 

    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

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    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.