Overview
OpenMed Disease NER 33M (NCBI) from OpenMed tags 1 entity type in English text, among them Disease, and returns each one as a span (label, matched text, character offsets, confidence). On the sample sentence it returns Disease "ataxia telangiectasia" (0.93); Disease "T-cell leukaemia" (0.92). Our measurement on the NCBI Disease test set (400 documents, 379 gold spans): exact-span F1 0.713, precision 0.658, recall 0.778; a baseline that only remembers training strings scores 0.638. 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 Disease NER 33M (NCBI) is a 12-layer token-classification model published by OpenMed on Hugging Face: 33.2M parameters (12 layers, 12 attention heads, hidden size 384, 30,522-token vocabulary), 66.4MB of weights, licensed Apache-2.0. Entity types: Disease.
Measured quality
On the NCBI Disease test set (400 documents, 379 gold spans) a prediction counts only when start, end and label all match: precision 0.658, recall 0.778, F1 0.713; ignoring the label, span F1 is 0.713. This is one public test set; evaluate on your own text before relying on it.
Request and response
Request: {"inputs": ["Mutations cause ataxia telangiectasia and T-cell leukaemia in some families."]} Response (first entities of the sample): {"results": [{"entities": [{"label": "Disease", "text": "ataxia telangiectasia", "start": 16, "end": 37}, {"label": "Disease", "text": "T-cell leukaemia", "start": 42, "end": 58}]}], "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.
- Subscribe to this listing and copy the model package ARN from the subscription.
- Create a model from that ARN with network isolation on.
- Create an endpoint on ml.t2.medium.
- Send the sample request below.
- 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 cause ataxia telangiectasia and T-cell leukaemia in some families.']})) 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-PathologyDetect-ElectraMed-33M, 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
- 66.4MB, 33.2M-parameter token-classification model that runs on ml.t2.medium, the smallest SageMaker real-time instance type
- Measured exact-span F1 0.713 against 0.638 for a memorised-names baseline on the NCBI Disease test set
- Returns whole entity spans with label, text, character offsets and score for up to 64 texts per request
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
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?
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
Initial release
Additional details
Inputs
- Summary
OpenMed Disease NER 33M (NCBI): Disease spans with offsets, exact-span F1 0.71 (precision 0.66, recall 0.78) on NCBI Disease test set; memorised-names baseline 0.64. 33.2M parameters, 66.4MB, Apache-2.0, private.
- Input MIME type
- application/json
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.