Amazon Sagemaker
Amazon SageMaker is a fully-managed platform that enables developers and data scientists to quickly and easily build, train, and deploy machine learning models at any scale. With Amazon SageMaker, all the barriers and complexity that typically slow down developers who want to use machine learning are removed. The service includes models that can be used together or independently to build, train, and deploy your machine learning models.

Reader-LM 1.5b
By:
Latest Version:
1.0
Small Language Models for Cleaning and Converting HTML to Markdown
Product Overview
Jina Reader-LM 1.5 b is a small language model that converts HTML content to Markdown content, which is useful for content conversion tasks. The model is trained on a curated collection of HTML content and its corresponding Markdown content.
Key Data
Version
By
Type
Model Package
Highlights
Jina Reader-LM 1.5b is designed to efficiently convert noisy HTML into clean markdown, showcasing a novel approach to web content extraction that is both cost-effective and scalable.
Jina Reader-LM 1.5b has been optimized for long context support, handling up to 256K tokens, which is crucial for dealing with the intricacies of modern HTML, including inline CSS and scripts.
Jina Reader-LM 1.5b outperforms larger language models in the HTML-to-markdown conversion task, despite being significantly smaller in size, which is a testament to their specialized training and design for this specific task.
Not quite sure what you’re looking for? AWS Marketplace can help you find the right solution for your use case. Contact us
Pricing Information
Use this tool to estimate the software and infrastructure costs based your configuration choices. Your usage and costs might be different from this estimate. They will be reflected on your monthly AWS billing reports.
Contact us to request contract pricing for this product.
Estimating your costs
Choose your region and launch option to see the pricing details. Then, modify the estimated price by choosing different instance types.
Version
Region
Software Pricing
Model Realtime Inference$4.50/hr
running on ml.g5.xlarge
Model Batch Transform$2.70/hr
running on ml.g4dn.xlarge
Infrastructure PricingWith Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
With Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
Learn more about SageMaker pricing
SageMaker Realtime Inference$1.408/host/hr
running on ml.g5.xlarge
SageMaker Batch Transform$0.736/host/hr
running on ml.g4dn.xlarge
Model Realtime Inference
For model deployment as Real-time endpoint in Amazon SageMaker, the software is priced based on hourly pricing that can vary by instance type. Additional infrastructure cost, taxes or fees may apply.InstanceType | Realtime Inference/hr | |
---|---|---|
ml.p2.xlarge | $4.14 | |
ml.g4dn.4xlarge | $7.20 | |
ml.g4dn.16xlarge | $26.10 | |
ml.p2.16xlarge | $63.00 | |
ml.p3.16xlarge | $86.85 | |
ml.g5.xlarge Vendor Recommended | $4.50 | |
ml.g5.8xlarge | $32.85 | |
ml.g5.12xlarge | $49.50 | |
ml.g4dn.2xlarge | $3.96 | |
ml.g5.4xlarge | $16.74 | |
ml.g5.16xlarge | $63.00 | |
ml.p3.8xlarge | $45.00 | |
ml.p3.2xlarge | $12.60 | |
ml.p2.8xlarge | $32.40 | |
ml.g4dn.8xlarge | $13.68 | |
ml.g4dn.12xlarge | $20.25 | |
ml.g5.2xlarge | $8.55 | |
ml.g4dn.xlarge | $2.70 | |
ml.g5.48xlarge | $162.00 | |
ml.g5.24xlarge | $93.60 |
Usage Information
Model input and output details
Input
Summary
The model accepts JSON inputs. Inputs must be in the following format.
{
"model": "reader-lm-1.5b",
"prompt": "<html><head><title>Minimal Bullet Points</title></head><body><ul><li>hello</li><li>jina.ai</li></ul></body></html>",
"stream": false
}
Input MIME type
text/csvSample input data
Output
Summary
Model output is in the format below:
{
"id": "cmpl-cac7766133eb4b2487f308352ba8e655",
"object": "text_completion",
"created": 1726728498,
"model": "reader-lm-1.5b",
"choices": [
{
"index": 0,
"text": "* hello\n* jina.ai",
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null,
"prompt_logprobs": null
}
],
"usage": {
"prompt_tokens": 56,
"total_tokens": 66,
"completion_tokens": 10
}
}
Output MIME type
text/csvSample output data
Sample notebook
Additional Resources
End User License Agreement
By subscribing to this product you agree to terms and conditions outlined in the product End user License Agreement (EULA)
Support Information
Reader-LM 1.5b
We provide support for this model package through our enterprise support channel.
AWS Infrastructure
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.
Learn MoreRefund Policy
Refunds to be processed under the conditions specified in EULA.
Customer Reviews
There are currently no reviews for this product.
View allWrite a review
Share your thoughts about this product.
Write a customer review