Listing Thumbnail

    Hierarchical Visual Document Parsing

     Info
    Deployed on AWS
    Free Trial
    This model leverages a lightweight Vision-Language Model (VLM) to transform document images into a structured, hierarchical JSON representation. By representing documents as hierarchies, it unlocks a powerful and versatile way to capture layout and meaning in a unified format.

    Overview

    This model utilizes a lightweight Vision Language Model (VLM) to convert document images into a structured, hierarchical JSON format.

    By modeling documents as visual-semantic hierarchies, the model provides a unified representation that captures both layout and meaning, enabling intelligent document understanding and automation.

    Key Capabilities:

    Hierarchical Representation: Each document is modeled as a tree-like structure, where nodes correspond to layout elements , such as titles, paragraphs, tables, and form fields and branches represent their visual and logical relationships. This unified format accommodates complex structures including multi-column layouts, nested forms, and irregular content blocks.

    Preserved Reading Order with Layout Integrity: Unlike traditional OCR pipelines, this model maintains the correct reading flow while preserving layout fidelity. Multi-column documents, embedded tables, and nested components are accurately interpreted and organized, ensuring that semantic coherence and visual context remain intact.

    Semantic Relationship Modeling: The hierarchical structure supports explicit parent-child relationships, enabling deep semantic linkage between document elements. For instance, in structured forms, field labels (e.g., "Name:") are directly linked to their values ("John Doe"), and entire sections can be grouped under relevant headers. This enables precise extraction of not just content, but context and dependencies. This flexible and extensible representation makes the system highly adaptable to diverse document types, supporting advanced use cases in document parsing, semantic search, data extraction, and downstream automation.


    IMPORTANT USAGE INFORMATION:

    After subscribing to this product and creating a SageMaker endpoint, billing occurs on an HOURLY BASIS for as long as the endpoint is running.

    -Charges apply even if the endpoint is idle and not actively processing requests.

    -To stop charges, you MUST DELETE the endpoint in your SageMaker console.

    -Simply stopping requests will NOT stop billing.

    This ensures you are only billed for the time you actively use the service.

    Highlights

    • Recognized Element Types: * Headers - Section titles and document headings * Questions - Form labels such as "Name:" or "Date of Birth:" * Answers - Corresponding values like "Jane Doe" or "March 5, 1982" * Other - Unstructured content, including paragraphs and descriptive text * Parent - Child Relationships - Hierarchical links that provide structural and contextual context

    Details

    Delivery method

    Latest version

    Deployed on AWS

    Unlock automation with AI agent solutions

    Fast-track AI initiatives with agents, tools, and solutions from AWS Partners.
    AI Agents

    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

    Free trial

    Try this product free for 15 days according to the free trial terms set by the vendor.

    Hierarchical Visual Document Parsing

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

     Info
    Dimension
    Description
    Cost/host/hour
    ml.g4dn.12xlarge Inference (Batch)
    Recommended
    Model inference on the ml.g4dn.12xlarge instance type, batch mode
    $23.76
    ml.g4dn.12xlarge Inference (Real-Time)
    Recommended
    Model inference on the ml.g4dn.12xlarge instance type, real-time mode
    $23.76
    ml.g5.xlarge Inference (Batch)
    Model inference on the ml.g5.xlarge instance type, batch mode
    $5.94
    ml.g5.2xlarge Inference (Batch)
    Model inference on the ml.g5.2xlarge instance type, batch mode
    $5.94
    ml.g5.4xlarge Inference (Batch)
    Model inference on the ml.g5.4xlarge instance type, batch mode
    $5.94
    ml.g5.12xlarge Inference (Batch)
    Model inference on the ml.g5.12xlarge instance type, batch mode
    $23.76
    ml.g5.xlarge Inference (Real-Time)
    Model inference on the ml.g5.xlarge instance type, real-time mode
    $5.94
    ml.g5.2xlarge Inference (Real-Time)
    Model inference on the ml.g5.2xlarge instance type, real-time mode
    $5.94
    ml.g5.4xlarge Inference (Real-Time)
    Model inference on the ml.g5.4xlarge instance type, real-time mode
    $5.94
    ml.g5.12xlarge Inference (Real-Time)
    Model inference on the ml.g5.12xlarge instance type, real-time mode
    $23.76

    Vendor refund policy

    No refunds are possible.

    How can we make this page better?

    We'd like to hear your feedback and ideas on how to improve this page.
    We'd like to hear your feedback and ideas on how to improve this page.

    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

    This application leverages a lightweight Vision-Language Model (VLM) to transform document images into a structured, hierarchical JSON representation. By representing documents as hierarchies, we unlock a powerful and versatile way to capture layout and meaning in a unified format.

    Additional details

    Inputs

    Summary

    Input Format

    Chat Completion

    Example Payload

    Online Image Example

    { "model": "/opt/ml/model", "messages": [ { "role": "user", "content": [ { "type": "image_url", "url": "https://raw.githubusercontent.com/JohnSnowLabs/visual-nlp-workshop/7f5eec01dd96897dccb064d1e42a4ef2e90083a0/jupyter/data/funsd/83823750.png " } ] } ] }

    For additional parameters:

    Offline Image Example (Base64)

    { "model": "/opt/ml/model", "messages": [ {"role": "system", "content": "You are a helpful medical assistant."}, { "role": "user", "content": [ { "type": "image_url", "image_url": "data:image/jpeg;base64,..." } ] } ] }

    Reference:

    Important Notes: Model Path Requirement: Always set "model": "/opt/ml/model" (SageMaker's fixed model location)

    Input MIME type
    application/json
    https://github.com/JohnSnowLabs/spark-nlp-workshop/tree/master/products/sagemaker/models/JSL-FormParsing-VLM-3B/inputs/real-time
    https://github.com/JohnSnowLabs/spark-nlp-workshop/tree/master/products/sagemaker/models/JSL-FormParsing-VLM-3B/inputs/batch

    Support

    Vendor support

    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 AWS 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.