Listing Thumbnail

    OpenMed Oncology NER 65M - 130.4MB, 16 entity types on SageMaker

     Info
    Deployed on AWS
    16-type entity tagger, 65.2M parameters, 130.4MB, returns spans with character offsets on ml.t2.medium. Exact-span F1 0.59 vs 0.49 for a memorised-names baseline. Apache-2.0, private in your VPC.

    Overview

    OpenMed Oncology NER 65M from OpenMed tags 16 entity types in English text, among them Amino_acid, Anatomical_system, Cancer, Cell, and returns each one as a span (label, matched text, character offsets, confidence). On the sample sentence it returns Gene_or_gene_product "TP53" (0.90); Gene_or_gene_product "BRCA1" (0.90); Cancer "tumor" (0.75). Our measurement on the BioNLP 2013 Cancer Genetics test set (105 documents, 2,934 gold spans): exact-span F1 0.591, precision 0.571, recall 0.613; a baseline that only remembers training strings scores 0.492. Use it to tag or redact sensitive values before indexing or export, or to extract entities in a pipeline. The weights run on ml.t2.medium, the smallest SageMaker real-time instance type.

    Model details

    OpenMed Oncology NER 65M is a 6-layer token-classification model published by OpenMed on Hugging Face: 65.2M parameters (6 layers, 12 attention heads, hidden size 768, 28,996-token vocabulary), 130.4MB of weights, licensed Apache-2.0. Entity types: Amino_acid, Anatomical_system, Cancer, Cell, Cellular_component, Developing_anatomical_structure and 10 more.

    Measured quality

    On the BioNLP 2013 Cancer Genetics test set (105 documents, 2,934 gold spans) a prediction counts only when start, end and label all match: precision 0.571, recall 0.613, F1 0.591; ignoring the label, span F1 is 0.665. This is one public test set; evaluate on your own text before relying on it.

    Request and response

    Request: {"inputs": ["Mutations in TP53 and BRCA1 drive tumor growth in breast cancer cells."]} Response (first entities of the sample): {"results": [{"entities": [{"label": "Gene_or_gene_product", "text": "TP53", "start": 13, "end": 17}, {"label": "Gene_or_gene_product", "text": "BRCA1", "start": 22, "end": 27}, {"label": "Cancer", "text": "tumor", "start": 34, "end": 39}]}], "labels": "[...]"} Up to 64 texts per request, one result per text in the same order. Optional min_score (0 to 1) drops low-confidence spans. Offsets point into your original text, which is returned unchanged.

    Pricing

    Software fee: $0.05 per instance-hour, billed by AWS Marketplace on top of the SageMaker instance. Real-time on ml.t2.medium: $0.05 + $0.056 = about $0.106 per hour (us-east-1). Batch transform on ml.m5.large: $0.05 + $0.115 = about $0.165 per hour, billed only while the job runs. Delete the endpoint when you finish to stop charges. Burstable t2 instances suit evaluation and light traffic; measure throughput before sustained heavy use.

    Limits

    English text. Each word takes the label of its first word piece; long texts are read in overlapping windows, not cut off. Small models drift on very long or unusual text; test on your own data.

    Deploy in 5 steps

    Prerequisites: an AWS account, a SageMaker execution role, and boto3 with SageMaker permissions. No GPU and no VPC setup are needed.

    1. Subscribe to this listing and copy the model package ARN from the subscription.
    2. Create a model from that ARN with network isolation on.
    3. Create an endpoint on ml.t2.medium.
    4. Send the sample request below.
    5. Delete the endpoint, endpoint config and model when you are done. Time to value (estimate): typically under 10 minutes from subscription to first response, most of it SageMaker creating the endpoint. Sample code (the same calls we used to verify this package on a real endpoint): import boto3, json sm = boto3.client("sagemaker"); rt = boto3.client("sagemaker-runtime") arn = ""; role = "" sm.create_model(ModelName="m", ExecutionRoleArn=role, PrimaryContainer={"ModelPackageName": arn}, EnableNetworkIsolation=True) sm.create_endpoint_config(EndpointConfigName="m", ProductionVariants=[{"VariantName": "v", "ModelName": "m", "InstanceType": "ml.t2.medium", "InitialInstanceCount": 1}]) sm.create_endpoint(EndpointName="m", EndpointConfigName="m") sm.get_waiter("endpoint_in_service").wait(EndpointName="m") r = rt.invoke_endpoint(EndpointName="m", ContentType="application/json", Body=json.dumps({'inputs': ['Mutations in TP53 and BRCA1 drive tumor growth in breast cancer cells.']})) print(r["Body"].read().decode()) sm.delete_endpoint(EndpointName="m"); sm.delete_endpoint_config(EndpointConfigName="m"); sm.delete_model(ModelName="m")

    Support

    Email support@waltsoft.net . We reply within 1 business day (Monday to Friday). Covered: help deploying this model package on SageMaker, request and response format questions, and fixes for defects in the packaged container. Not covered: accuracy tuning on your own data, your application code, AWS account, IAM or quota issues, and custom model changes.

    FAQ

    Is my data sent anywhere? No. The model runs inside your SageMaker endpoint and the package is network-isolated. Which model is this? OpenMed/OpenMed-NER-OncologyDetect-TinyMed-65M, licensed Apache-2.0. How do I deploy it? Subscribe, then create a real-time endpoint or batch transform job from the model package.

    Highlights

    • 130.4MB, 65.2M-parameter token-classification model that runs on ml.t2.medium, the smallest SageMaker real-time instance type
    • Measured exact-span F1 0.591 against 0.492 for a memorised-names baseline on the BioNLP 2013 Cancer Genetics test set
    • Returns whole entity spans with label, text, character offsets and score for up to 64 texts per request

    Details

    Delivery method

    Latest version

    Deployed on AWS

    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

    OpenMed Oncology NER 65M - 130.4MB, 16 entity types on SageMaker

     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 (2)

     Info
    Dimension
    Description
    Cost/host/hour
    ml.t2.medium Inference (Real-Time)
    Recommended
    Model inference on the ml.t2.medium instance type, real-time mode
    $0.05
    ml.m5.large Inference (Batch)
    Recommended
    Model inference on the ml.m5.large instance type, batch mode
    $0.05

    Vendor refund policy

    No refunds.

    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

    Initial release

    Additional details

    Inputs

    Summary

    16-type entity tagger, 65.2M parameters, 130.4MB, returns spans with character offsets on ml.t2.medium. Exact-span F1 0.59 vs 0.49 for a memorised-names baseline. Apache-2.0, private in your VPC.

    Input MIME type
    application/json
    https://waltsoft-marketplace-assets.s3.amazonaws.com/ml-validation/openmed-ner-oncology-65m/sample.jsonl
    https://waltsoft-marketplace-assets.s3.amazonaws.com/ml-validation/openmed-ner-oncology-65m/sample.jsonl

    Support

    Vendor support

    Email support@waltsoft.net . Reply within 1 business day (Monday to Friday). Covers deployment help, request and response format questions and fixes for defects in the packaged container. Does not cover accuracy tuning on your data, your application code, AWS account, IAM or quota issues, or custom model changes.

    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.