Run this model with HF Jobs
Run erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageTextToText model = AutoModelForImageTextToText.from_pretrained("erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16
- SGLang
How to use erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 with Docker Model Runner:
docker model run hf.co/erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16
MolmoPoint-8B โ NF4 language model with BF16 vision
This is a mixed-precision, inference-ready quantization of
allenai/MolmoPoint-8B. The
7.6B-parameter language transformer uses bitsandbytes NF4 with BF16 compute and
double quantization. The vision encoder, multimodal connector, visual embedding
projection, and pointing head remain BF16 to preserve pointing behavior.
This is intentionally not an entirely 4-bit model. Quantizing the visual path caused substantial pointing degradation during recipe selection.
Evaluation overview
The figure compares both released quantizations with the BF16 baseline. See Evaluation for coverage, protocol, and metric details.
Model details
- Repository:
erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16 - Base model:
allenai/MolmoPoint-8B - Base revision:
188130f961c8e0888a34e11121a1423c461a01ba - Quantized: MolmoPoint language transformer
- Retained in BF16: vision encoder, connector, visual embedding projection, and pointing head
- Quantization: NF4, BF16 compute, double quantization
- Local checkpoint size: approximately 7.08 GB (6.59 GiB)
- Source and evaluation code:
erkara/molmopoint-quantization
The included quantization_provenance.json records the resolved base revision,
complete quantization recipe, software versions, and build environment.
Requirements
The checkpoint was built and validated with Python 3.12, Transformers 4.57.1, bitsandbytes 0.50.0, and a CUDA-capable NVIDIA GPU. It contains the processor and trusted custom model code required for native Transformers loading.
pip install "transformers==4.57.1" "bitsandbytes==0.50.0" accelerate torch torchvision pillow einops decord2
Usage
import torch
from PIL import Image
from huggingface_hub import hf_hub_download
from transformers import AutoModelForImageTextToText, AutoProcessor
repo_id = "erdi28/MolmoPoint-8B-bnb-nf4-vision-bf16"
processor = AutoProcessor.from_pretrained(
repo_id,
trust_remote_code=True,
padding_side="left",
use_fast=False,
)
model = AutoModelForImageTextToText.from_pretrained(
repo_id,
trust_remote_code=True,
dtype="auto",
device_map="auto",
)
model.eval()
image_path = hf_hub_download(repo_id, "examples/pointing-demo.jpg")
image = Image.open(image_path).convert("RGB")
prompt = "Point to the tool that people can use to write."
messages = [{
"role": "user",
"content": [
{"type": "text", "text": prompt},
{"type": "image", "image": image},
],
}]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
padding=True,
return_pointing_metadata=True,
)
metadata = inputs.pop("metadata")
inputs = {name: value.to("cuda") for name, value in inputs.items()}
prompt_length = inputs["input_ids"].shape[1]
with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
output = model.generate(
**inputs,
logits_processor=model.build_logit_processor_from_inputs(inputs),
do_sample=False,
max_new_tokens=128,
)
generated = output[:, prompt_length:]
generated_text = processor.post_process_image_text_to_text(
generated,
skip_special_tokens=False,
clean_up_tokenization_spaces=False,
)[0]
points = model.extract_image_points(
generated_text,
metadata["token_pooling"],
metadata["subpatch_mapping"],
metadata["image_sizes"],
)
print(generated_text)
print(points)
Example output
This checkpoint returns two points near (336, 100) and (627, 187) in the
1200 x 800 source image, corresponding to the blue and red mechanical pencils.
The demo image is a compressed copy of a
CC0 Public Domain image from PxHere.
MolmoPoint emits special grounding tokens, which extract_image_points
converts into source-image coordinates.
Evaluation
All results use greedy decoding, batch size 1, the uber_model_v2 prompt
templates, and AllenAI's official Molmo2 formatter and evaluators pinned to
commit f3cb1085fbb97c4a4d7fdcadd77cf871bf37a88a.
| Benchmark | Coverage | BF16 base | This checkpoint | Delta |
|---|---|---|---|---|
| PointBench average accuracy | 982/982 | 70.90% | 70.69% | -0.21 pt |
| PixMo-Points F1 | 231/436 | 84.02% | 84.11% | +0.08 pt |
All selected examples passed with zero evaluation failures. PointBench is a
complete public evaluation. PixMo-Points publishes 436 metadata rows through
allenai/pixmo-points-eval,
but only 231 external image URLs still returned bytes matching the published
SHA-256 hashes. The PixMo score therefore has 52.98% public-data coverage and is
not directly comparable with the paper's full-dataset result.
| Measurement | BF16 base | This checkpoint |
|---|---|---|
| Peak allocated VRAM across both evaluations | 18.26 GiB | 8.72 GiB |
| PointBench mean inference time | 1.4611 s/example | 1.4033 s/example |
| PixMo-Points mean inference time | 1.0026 s/example | 0.9720 s/example |
Peak allocated VRAM was 52.3% lower than BF16 on the benchmark system. Memory and latency are environment-specific and should not be treated as universal hardware requirements or speed guarantees. Full category scores, protocol details, and recipe-selection evidence are available in the project results.
Intended use
This checkpoint is intended for research, evaluation, and CUDA inference where lower memory use is useful and MolmoPoint's image, multi-image, video, and grounding capabilities are required. It is a quantized derivative, not a fine-tuned model, and does not add new capabilities or safety training.
Limitations
This release inherits the base model's limitations, biases, and failure modes.
Quantization can change individual generations even when aggregate scores are
close. The evaluation does not establish identical or lossless behavior, and
PixMo-Points coverage is partial. Loading requires trust_remote_code=True and
a CUDA environment supported by bitsandbytes.
License and responsible use
This derivative retains the base model's Apache-2.0 license and attribution. Use is also subject to Ai2's Responsible Use Guidelines. The upstream model card states that MolmoPoint-8B was trained on third-party datasets subject to academic and non-commercial research-use terms. Review the base model card and applicable source-dataset terms before use or redistribution.
- Downloads last month
- 74

