Model reference · open weights

h2ovl-mississippi

Available as managed deployment LLMs h2oai Text gen 2 variants 47k dl/mo

h2ovl-mississippi is an open-weight language model from h2oai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byh2oai
TypeLanguage models
TaskText gen
Parameters (lead)826M
Runs withtransformers
Released2024-10-16
Popularity47k downloads / month
LicenceOpen weights

About

What h2ovl-mississippi is

[📜 H2OVL-Mississippi Paper] [🤗 HF Demo] [🚀 Quick Start]

The H2OVL-Mississippi-800M is a compact yet powerful vision-language model from H2O.ai, featuring 0.8 billion parameters. Despite its small size, it delivers state-of-the-art performance in text recognition, excelling in the Text Recognition segment of OCRBench and outperforming much larger models in this domain. Built upon the robust architecture of our H2O-Danube language models, the Mississippi-800M extends their capabilities by seamlessly integrating vision and language tasks.

Read the full model card

Key Features:

  • 0.8 Billion Parameters: Balance between performance and efficiency, making it suitable for OCR and document processing.
  • Trained on 19 million image-text pairs, with a focus on OCR, document comprehension, and chart, figure, and table interpretation, the model is optimized for superior OCR performance.

Benchmarks

Performance Comparison of Similar Sized Models Across Multiple Benchmarks - OpenVLM Leaderboard

ModelsParams (B)Avg. ScoreMMBenchMMStarMMMUVALMath VistaHallusionAI2DTESTOCRBenchMMVet
Qwen2-VL-2B2.157.272.247.542.247.842.474.779751.5
H2OVL-Mississippi-2B2.154.464.849.635.256.836.469.978244.7
InternVL2-2B2.153.969.649.836.346.038.074.178139.7
Phi-3-Vision4.253.665.247.746.144.639.078.463744.1
MiniMonkey2.252.768.948.135.745.330.973.779439.8
MiniCPM-V-22.847.965.839.138.239.836.162.960541.0
InternVL2-1B0.848.359.745.636.739.434.363.875531.5
PaliGemma-3B-mix-4482.946.565.648.334.928.732.268.361433.1
H2OVL-Mississippi-0.8B0.843.547.739.134.039.029.653.675130.0
DeepSeek-VL-1.3B2.039.663.839.933.829.827.651.541329.2

Quick Start

Install dependencies:

pip install transformers torch torchvision einops timm peft sentencepiece flash_attn

Sample demo:

import torch
from transformers import AutoConfig, AutoModel, AutoTokenizer

# Set up the model and tokenizer
model_path = 'h2oai/h2ovl-mississippi-800m'
config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
config.llm_config._attn_implementation = 'flash_attention_2'
model = AutoModel.from_pretrained(
    model_path,
    torch_dtype=torch.bfloat16,
    config=config,
    low_cpu_mem_usage=True,
    trust_remote_code=True).eval().cuda()
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True, use_fast=False)
generation_config = dict(max_new_tokens=2048, do_sample=True)

# pure-text conversation
question = 'Hello, how are you?'
response, history = model.chat(tokenizer, None, question, generation_config, history=None, return_history=True)
print(f'User: {question}\nAssistant: {response}')

# Example for single image
image_file = './examples/image.jpg'
question = '\nRead the text in the image.'
response, history = model.chat(tokenizer, image_file, question, generation_config, history=None, return_history=True)
print(f'User: {question}\nAssistant: {response}')

Prompt Engineering for JSON Extraction

Overview

This guide demonstrates how to create prompts for extracting information and converting it into structured JSON outputs. It starts with basic examples and progresses to more complex JSON structures, including handling data from images of tables and charts. The objective is to help users design effective prompts that can be used in various applications, such as natural language processing, chatbots, or data extraction from visual inputs.

Table of Contents

  1. Getting Started
  2. Extracting Simple Information
  3. Extracting Nested Information
  4. Extracting Lists and Arrays
  5. Extracting Tables
  6. Extracting Charts
  7. Best Practices

Getting Started

To get started with JSON extraction from images, it's essential to have a clear understanding of the visual content you want to extract and the structure of the desired JSON

From the published model card. Full card on the HuggingFace links in the sidebar.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys h2ovl-mississippi for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (h2ovl-mississippi below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"h2ovl-mississippi","messages":[{"role":"user","content":"Hello"}]}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms