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.

ReaderLM v2
By:
Latest Version:
1.0
1.5B parameter language model that converts raw HTML into beautifully formatted markdown or JSON
Product Overview
ReaderLM v2 is a 1.5B parameter language model that converts raw HTML into beautifully formatted markdown or JSON with superior accuracy and improved longer context handling. ReaderLM v2 handles up to 512K tokens combined input and output length and offers multilingual support across 29 languages, including English, Chinese, Japanese, Korean, French, Spanish, Portuguese, German, Italian, Russian, Vietnamese, Thai, Arabic, and more. Thanks to its new training paradigm and higher-quality training data, ReaderLM v2 is a significant leap forward from its predecessor, particularly in handling long-form content and markdown syntax generation. While the first generation approached HTML-to-markdown conversion as a "selective-copy" task, v2 treats it as a true translation process. This shift enables the model to masterfully leverage markdown syntax, excelling at generating complex elements like code fences, nested lists, tables, and LaTeX equations.
Key Data
Version
By
Type
Model Package
Highlights
High-Accuracy HTML-to-Markdown Conversion with Improved Stability: Transforms raw HTML into well-structured markdown, preserving complex elements like nested lists, tables, and LaTeX equations, while addressing degeneration issues such as repetition and looping in long sequences.
Direct HTML-to-JSON Extraction: Allows users to directly convert HTML to JSON using customizable schemas, eliminating the need for intermediate markdown conversion.
Longer Context and Multilingual Support: Handles up to 512K tokens in combined input and output length, and supports 29 languages, making it ideal for diverse and large-scale web data processing.
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.g4dn.4xlarge | $7.20 | |
ml.g4dn.16xlarge | $26.10 | |
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.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
Model input is in the format below:
Input MIME type
text/csvSample input data
Output
Summary
Model output is in the format below:
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
ReaderLM v2
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