Run this model with HF Jobs

Run google/gemma-4-E2B 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/google/gemma-4-E2B. 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/google/gemma-4-E2B 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.

Fix: add required prefix argument to parse_response across all usage snippets

#11

In recent versions of transformers, calling processor.parse_response(response) without the prefix keyword argument raises:

ValueError: parse_response requires prefix= (the prompt that came before generation)...

This PR adds prefix=inputs["input_ids"] to processor.parse_response(...) across all four usage examples (Getting Started, Audio, Image, and Video) so they run out of the box.

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

Sign up or log in to comment