Run this model with HF Jobs

Run zai-org/GLM-OCR 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 to fine-tune https://huggingface.co/zai-org/GLM-OCR. 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/zai-org/GLM-OCR 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.

Remove hardcode pipeline_tag (must be image-text-to-text)

#57
by Wauplin HF Staff - opened

I believe the pipeline_tag must be image-text-to-text which is the underlying task of the model in transformers/vllm/etc. The Image-to-Text label itself it not wrong but takes precedence as "main pipeline tag" and therefore breaks a few integrations with the Hub (no "conversational" tag, broken inference widget, no chat template parser, etc.)

This PR should solve this by letting the Hub auto detect the correct pipeline tag.

This should also solve this issue reported here: https://github.com/huggingface/hub-docs/issues/2481

ZHANGYUXUAN-zR changed pull request status to merged

Sign up or log in to comment