anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Answers questions about images, video and several images at once, and can point to things it finds. Made for developers who want an open 8B vision-language model for video questions, counting and captions.
Molmo2-8B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download allenai/Molmo2-8B
Molmo2-8B is an open vision-language model from the Allen Institute for AI. It understands single images, several images and video, and it can ground answers by pointing to places in them. It is built on Qwen3-8B with SigLIP 2 as its vision backbone, and it trains on public third-party datasets.
It suits developers and researchers who need an open model to answer questions about video and images, count objects or caption clips.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Media | Video analysts | Ask what appears in a clip | Ask which animal shows up in a video |
| Software | App developers | Add image and video understanding to a product | Caption short clips for a library |
| Robotics and vision | Vision engineers | Locate objects by points in video frames | Get point coordinates for a tracked object |
| Research | Multimodal researchers | Test an open vision-language model on counting and captioning | Compare answers on short videos |
If you only need text chat, or you cannot run an 8B model with a GPU, you can skip it.
It runs in Python through the transformers library on your own computer, with the card's pinned versions.
| Use case | Who | What they get back |
|---|---|---|
| Video question answering | Developers | A text answer about what happens in a video |
| Pointing in video | Vision teams | Point coordinates as time, x and y triplets |
| Counting and captioning | Researchers | Counts and short descriptions from images and clips |
You need a conda environment with Python 3.11, transformers pinned to 4.57.1, and a few vision packages. The model loads with trust_remote_code turned on.
pip install -U huggingface_hub hf download allenai/Molmo2-8B
conda create --name transformers4571 python=3.11 conda activate transformers4571 pip install transformers==4.57.1 pip install torch pillow einops torchvision accelerate decord2 molmo_utils
You load the processor and model, build a message with your question and a video or image, apply the chat template, then generate and decode. This first block loads both parts.
from transformers import AutoProcessor, AutoModelForImageTextToText
import torch
model_id="allenai/Molmo2-8B"
# load the processor
processor = AutoProcessor.from_pretrained(
model_id,
trust_remote_code=True,
dtype="auto",
device_map="auto"
)
# load the model
model = AutoModelForImageTextToText.from_pretrained(
model_id,
trust_remote_code=True,
dtype="auto",
device_map="auto"
)After you build messages with a text question and a video, run the model and print the reply.
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
)
inputs = {k: v.to(model.device) for k, v in inputs.items()}
# generate output
with torch.inference_mode():
generated_ids = model.generate(**inputs, max_new_tokens=2048)
# only get generated tokens; decode them to text
generated_tokens = generated_ids[0, inputs['input_ids'].size(1):]
generated_text = processor.tokenizer.decode(generated_tokens, skip_special_tokens=True)
# print the generated text
print(generated_text)| Tool | What it does |
|---|---|
| AutoProcessor | Prepares text, images and video for the model |
| apply_chat_template | Turns your messages into model inputs |
| process_vision_info | Prepares vision inputs for the pointing example |
| extract_video_points | Reads point coordinates out of the model's text |
You send a video with the question "Which animal appears in the video?" and the card's sample answer is a short sentence saying that penguins appear in it. A pointing request instead returns coordinates you can read as points over time.
A vision-language model reads pictures or video along with your question and answers in text. A first try is the video question example with your own short clip.
The pointing format assumes coordinates scaled by 1000, which the card's helper code converts to pixel positions. The card claims an edge over similar open models at short videos, counting and captioning, with solid results on long videos. Training code and other artifacts are promised for later.
Ai2 releases the Molmo2 datasets openly and says more artifacts will follow.
Answers questions about images, video and several images at once, and can point to things it finds. Made for developers who want an open 8B vision-language model for video questions, counting and captions.
Made by allenai on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Molmo2-8B is an open vision-language model from the Allen Institute for AI. It understands single images, several images and video, and it can ground answers by pointing to places in them. It is built on Qwen3-8B with SigLIP 2 as its vision backbone, and it trains on public third-party datasets.
Who it suits: It suits developers and researchers who need an open model to answer questions about video and images, count objects or caption clips.
Industry | Who uses it | How they use it | Example
Media | Video analysts | Ask what appears in a clip | Ask which animal shows up in a video
Software | App developers | Add image and video understanding to a product | Caption short clips for a library
Robotics and vision | Vision engineers | Locate objects by points in video frames | Get point coordinates for a tracked object
Research | Multimodal researchers | Test an open vision-language model on counting and captioning | Compare answers on short videos
If you only need text chat, or you cannot run an 8B model with a GPU, you can skip it.
Where to use it: It runs in Python through the transformers library on your own computer, with the card's pinned versions.
Use case | Who | What they get back
Video question answering | Developers | A text answer about what happens in a video
Pointing in video | Vision teams | Point coordinates as time, x and y triplets
Counting and captioning | Researchers | Counts and short descriptions from images and clips
How to set it up: You need a conda environment with Python 3.11, transformers pinned to 4.57.1, and a few vision packages. The model loads with trust_remote_code turned on.
pip install -U huggingface_hub
hf download allenai/Molmo2-8B
conda create --name transformers4571 python=3.11
conda activate transformers4571
pip install transformers==4.57.1
pip install torch pillow einops torchvision accelerate decord2 molmo_utils
How to use it: You load the processor and model, build a message with your question and a video or image, apply the chat template, then generate and decode. This first block loads both parts.
from transformers import AutoProcessor, AutoModelForImageTextToText
import torch
model_id="allenai/Molmo2-8B"
# load the processor
processor = AutoProcessor.from_pretrained(
model_id,
trust_remote_code=True,
dtype="auto",
device_map="auto"
)
# load the model
model = AutoModelForImageTextToText.from_pretrained(
model_id,
trust_remote_code=True,
dtype="auto",
device_map="auto"
)
After you build messages with a text question and a video, run the model and print the reply.
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
)
inputs = {k: v.to(model.device) for k, v in inputs.items()}
# generate output
with torch.inference_mode():
generated_ids = model.generate(**inputs, max_new_tokens=2048)
# only get generated tokens; decode them to text
generated_tokens = generated_ids[0, inputs['input_ids'].size(1):]
generated_text = processor.tokenizer.decode(generated_tokens, skip_special_tokens=True)
# print the generated text
print(generated_text)
Tool | What it does
AutoProcessor | Prepares text, images and video for the model
apply_chat_template | Turns your messages into model inputs
process_vision_info | Prepares vision inputs for the pointing example
extract_video_points | Reads point coordinates out of the model's text
Example: You send a video with the question "Which animal appears in the video?" and the card's sample answer is a short sentence saying that penguins appear in it. A pointing request instead returns coordinates you can read as points over time.
For newcomers and experts: A vision-language model reads pictures or video along with your question and answers in text. A first try is the video question example with your own short clip.
The pointing format assumes coordinates scaled by 1000, which the card's helper code converts to pixel positions. The card claims an edge over similar open models at short videos, counting and captioning, with solid results on long videos. Training code and other artifacts are promised for later.
Load the processor and model
Build a message with a video and a question
Apply the chat template
Generate and decode the reply
Good to know: Ai2 releases the Molmo2 datasets openly and says more artifacts will follow.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download allenai/Molmo2-8B
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Molmo2-8B This page | 45,213 | 201 | 8.7B | apache-2.0 | |
| Molmo2-4BShares molmo · molmo2 · olmo | 26,915 | 57 | 4.9B | apache-2.0 | |
| OLMoE-1B-7B-0924Shares olmo · transformers · safetensors | 45,654 | 158 | 6.9B | apache-2.0 | |
| Qwen2.5-VL-7B-InstructShares multimodal · image-text-to-text · conversational | 5,894,471 | 1,772 | 8.3B | apache-2.0 | |
| UI-TARS-1.5-7BShares multimodal · image-text-to-text · conversational | 230,540 | 622 | 8.3B | apache-2.0 | |
| MiniCPM-V 4.6Shares multimodal · image-text-to-text · conversational | 187,584 | 1,253 | 1.3B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.