Model reference · open weights
h2ovl-mississippi is an open-weight language model from h2oai. h2ovl-mississippi-800m (BF16) weighs 1.7 GB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the h2oai/h2ovl-mississippi-800m model card, 2026-10-01
What it is
| Released by | h2oai |
|---|---|
| Released | 2024-10-16 |
| Parameters | 826M |
| VRAM | 1.7 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB | 20 | all 8K | 11.6 GB |
| RTX 4060 Ti 16 GB | 29 | all 8K | 15.4 GB |
| RTX 3090 24 GB | 49 | all 8K | 23.4 GB |
| RTX 4090 24 GB | 49 | all 8K | 23.4 GB |
| RTX 5090 32 GB | 68 | all 8K | 31.0 GB |
| L40S 48 GB | 100 | all 8K | 44.0 GB |
| A100 80 GB | 185 | all 8K | 78.2 GB |
| H100 80 GB | 178 | all 8K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 217 | all 8K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 251 | all 8K | 107 GB |
| H200 141 GB | 327 | all 8K | 138 GB |
| B200 180 GB | 421 | all 8K | 176 GB |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 3.9 GB |
| 5 | 5.5 GB |
| 8 | 6.7 GB |
| 16 | 9.9 GB |
| 32 | 16.3 GB |
| 64 | 29.2 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| h2ovl-mississippi-800m (above) ↗ | 826M | BF16 | 1.7 GB | RTX 3060 12 GB |
| h2ovl-mississippi-2b ↗ | 2.2B | BF16 | 4.3 GB | RTX 3060 12 GB |
From the model card
[📜 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.
| Models | Params (B) | Avg. Score | MMBench | MMStar | MMMUVAL | Math Vista | Hallusion | AI2DTEST | OCRBench | MMVet |
|---|---|---|---|---|---|---|---|---|---|---|
| Qwen2-VL-2B | 2.1 | 57.2 | 72.2 | 47.5 | 42.2 | 47.8 | 42.4 | 74.7 | 797 | 51.5 |
| H2OVL-Mississippi-2B | 2.1 | 54.4 | 64.8 | 49.6 | 35.2 | 56.8 | 36.4 | 69.9 | 782 | 44.7 |
| InternVL2-2B | 2.1 | 53.9 | 69.6 | 49.8 | 36.3 | 46.0 | 38.0 | 74.1 | 781 | 39.7 |
| Phi-3-Vision | 4.2 | 53.6 | 65.2 | 47.7 | 46.1 | 44.6 | 39.0 | 78.4 | 637 | 44.1 |
| MiniMonkey | 2.2 | 52.7 | 68.9 | 48.1 | 35.7 | 45.3 | 30.9 | 73.7 | 794 | 39.8 |
| MiniCPM-V-2 | 2.8 | 47.9 | 65.8 | 39.1 | 38.2 | 39.8 | 36.1 | 62.9 | 605 | 41.0 |
| InternVL2-1B | 0.8 | 48.3 | 59.7 | 45.6 | 36.7 | 39.4 | 34.3 | 63.8 | 755 | 31.5 |
| PaliGemma-3B-mix-448 | 2.9 | 46.5 | 65.6 | 48.3 | 34.9 | 28.7 | 32.2 | 68.3 | 614 | 33.1 |
| H2OVL-Mississippi-0.8B | 0.8 | 43.5 | 47.7 | 39.1 | 34.0 | 39.0 | 29.6 | 53.6 | 751 | 30.0 |
| DeepSeek-VL-1.3B | 2.0 | 39.6 | 63.8 | 39.9 | 33.8 | 29.8 | 27.6 | 51.5 | 413 | 29.2 |
pip install transformers torch torchvision einops timm peft sentencepiece flash_attn
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}')
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.
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
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.