Run this model with HF Jobs

Run google/gemma-4-12B-it-assistant 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-12B-it-assistant. 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-12B-it-assistant 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.

running error with transformers

#3
by yxnchen - opened

when running the model with the newest transformers framework, there is an error:

ModuleNotFoundError: Could not import module 'Gemma4UnifiedProcessor'. Are this object's requirements defined correctly?

Google org

Hi @yxnchen , thank you for reporting this. We tested the google/gemma-4-12B-it-assistant model notebook with the latest transformers version 5.10.2 using pip install -U transformers and code ran successfully without any errors. Please refer to the gist.

Could you help us debug further by sharing the following:

  • Your exact transformer version, how exactly you installed transformers?
  • Was it pip install -U transformers or any specific version
  • Full error traceback.

Sign up or log in to comment