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.
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.
Access real-time vendor security and compliance information through their Trust Center powered by Drata or Vanta. Review certifications and security standards before purchase.
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.
You pay by the hour for the GPU instance that runs ReaderLM v2, which converts HTML into Markdown or JSON. Pricing splits into two modes. Batch mode covers seven ml.g4dn instance sizes for processing large sets of URLs at once. Real-time mode covers ml.g4dn and ml.g5 instance sizes for on-demand requests. Within each mode, cost scales with instance size: larger instances hold more compute and carry a higher hourly rate. You choose the mode and size to match your throughput needs, then pay only for the hours the instance runs.
Top-of-mind questions for buyers
What does one HostHrs unit cover, and how is it counted?
One HostHrs unit equals one hour that a single chosen GPU instance runs the ReaderLM v2 model. You are billed per hour of instance runtime, per instance. Running two instances doubles the hourly software charge. Counting is based on how long the instance stays active.
Am I charged when the instance is stopped or idle?
The hourly software charge applies while the instance runs. Fully stopped instances stop accruing software charges. You still pay for the hours the instance stays active, even with low request volume. Underlying AWS infrastructure fees may apply separately depending on your setup.
How does batch mode differ from real-time mode for my bill?
Both modes bill per instance-hour. Batch mode runs the model to process large sets of URLs together, suited for scheduled bulk jobs. Real-time mode keeps an instance available for on-demand, per-request conversion. You pay for the hours the instance runs in whichever mode you select.
jina.ai+1
Helpful?
Vendor refund policy
Refunds to be processed under the conditions specified in EULA.
How can we make this page better?
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
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.
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:
Real-time inference
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 .
Batch transform
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 .
The following table describes supported input data fields for real-time inference and batch transform.
Field name
Description
Constraints
Required
model
It should be a fixed value: "ReaderLM-v2".
Type: FreeText
Yes
prompt
Prompt to the model with input, instructions and expected return type set.
Please refer to the `create_prompt` function in the example notebook at https://github.com/jina-ai/jina-sagemaker/blob/main/notebooks/Reader-LM.ipynb for usage details.
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.
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.