Text Generation
Transformers
Safetensors
gemma2
conversational
text-generation-inference

Run this model with HF Jobs

Run google/shieldgemma-2b 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/shieldgemma-2b. 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/shieldgemma-2b 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/shieldgemma-2b. 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/shieldgemma-2b. 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.
New discussion

sanan

#23 opened over 1 year ago by
yehuashangui

Adding ONNX file of this model

#22 opened over 1 year ago by
guychuk

Reasoning responses

1
#21 opened over 1 year ago by
z4ndr

Batch Inference

1
#17 opened over 2 years ago by
dfrank

Update README.md

#13 opened over 2 years ago by
zhang-zhi-chun

Checking multiple policy rules

6
#11 opened over 2 years ago by
AmenRa

Suggestion: Better KV cache usage

3
#8 opened over 2 years ago by
ngxson