Run this model with HF Jobs

Run ServiceNow/GroundNext-7B-V0 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/ServiceNow/GroundNext-7B-V0. 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/ServiceNow/GroundNext-7B-V0 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/ServiceNow/GroundNext-7B-V0. 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/ServiceNow/GroundNext-7B-V0. 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.

fix: add factor=28 to smart_resize in prepare_image for Qwen VL models

#2
by aug6th - opened

Ensure proper image resizing for Qwen VL models by passing factor=28 to smart_resize.

https://github.com/QwenLM/Qwen3-VL/blob/main/qwen-vl-utils/src/qwen_vl_utils/vision_process.py

have we benchmarked this against IBM docling?

have we benchmarked this against IBM docling?

Good question! I haven't benchmarked this against IBM docling yet.

This PR specifically fixes the image preprocessing for Qwen VL models to match their official implementation (factor=28 in smart_resize). It's more of a bug fix than a new feature.

A full benchmark comparison would require significant resources and standardized test datasets. If the community is interested, maybe we could collaborate on this? Otherwise, the Qwen team's own benchmarks might already include comparisons with other document understanding models.

Yes, we can use an ensemble approach where the higher quality model is picked up at runtime instead of one vs other. Of course this would increase latency and processing need. But we will have a second opinion on the output of the primary model.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment