Run this model with HF Jobs

Run google/gemma-3-12b-it 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/google/gemma-3-12b-it. Ask me which dataset to train on, then push the fine-tuned model to a new private 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-3-12b-it 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/google/gemma-3-12b-it. Ask me which benchmark to run, then save the scores and the per-example results to a new private 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/google/gemma-3-12b-it. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Recommended inference settings

#25
by hfuserash - opened

What are the recommended inference settings for this model.

on AI studio it shows

Temperature of 1.0
Top_P of 0.95

but on Vertex AI it shows

Temperature of 1.0
Top_P of 1.o
Top_K 1.0

So which one of these it is really?

Hi @hfuserash ,

The optimal inference settings for google/gemma-3-12b-it generally aim to balance creativity with coherence.
Based on official recommendations from the Gemma team (as seen in documentation and community discussions like Unsloth), the AI Studio settings are typically the recommended ones for general use:

  • Temperature: 1.0
  • Top_P: 0.95

This combination encourages the model to generate diverse and creative responses (due to the higher Temperature) while still ensuring the output remains sensible by focusing on the most probable words.

If your goal is to get creative, varied, and coherent responses, stick with the settings you see in AI Studio: Temperature 1.0 and Top_P 0.95. If you have the option to set Top_K, a value like 64 is commonly recommended in conjunction with Top_P 0.95, but Top_K 1.0 should generally be avoided for this type of model.

Kindly follow this link for more information. Thank you.

hfuserash changed discussion status to closed

Sign up or log in to comment