Run this model with HF Jobs

Run allenai/Molmo3-4B 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/allenai/Molmo3-4B. 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/allenai/Molmo3-4B 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/allenai/Molmo3-4B. 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.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/allenai/Molmo3-4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Use Molmo2ImageProcessor as the image processor type for native Transformers loading

#2
by guarin HF Staff - opened

Molmo3 is being added to Transformers natively, and its processor reuses the Molmo2 image processor: there is no Molmo3ImageProcessor class. With the current processor_config.json, AutoProcessor.from_pretrained("allenai/Molmo3-4B") without trust_remote_code fails with Unrecognized image processor.

This PR changes:

  • processor_config.json: "image_processor_type": "Molmo3ImageProcessor" → "Molmo2ImageProcessor".
  • processing_molmo3.py: Molmo3Processor.save_pretrained writes the same value, so a processor re-saved with the remote code also loads natively.

Remote code (trust_remote_code=True) is unaffected. Molmo3Processor.from_pretrained reads only max_crops, num_frames and max_fps, plus the fixed preprocessing settings, from this file, never the processor type. Checked with transformers 5.5.3 and the current Transformers development branch:

  • AutoProcessor, AutoConfig and AutoModelForImageTextToText with trust_remote_code=True load as before, and the processor outputs are identical before and after the change.
  • A processor re-saved with the remote code writes exactly this processor_config.json.
  • Without trust_remote_code, both this file and a remote re-save load the native Molmo3Processor (with Molmo2ImageProcessor and Molmo3VideoProcessor).

The rest of the repo (config, generation config, tokenizer, chat template, weights) already loads natively as is.

guarin changed pull request status to open
chrisc36 changed pull request status to merged

Sign up or log in to comment