Run this model with HF Jobs

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

Request: Get Access

#89
by AurasZ - opened

I am a young researcher experimenting with small LLMs for educational purposes.
I need access to Gemma-2B-it for safe alignment and instruction tuning.
Dataset is 100% harmless. Thank you!

Hi @AurasZ ,

Welcome to Google's Gemma models, thanks for reaching out to us. I'm glad for your interest in the Gemma models.

The Gemma models are Gated models, which means you need to request access directly from the model's model card section on Hugging Face and use a valid access token to load the model locally.

image

You can access the google/gemma-2b model using the granted access token or download the model weights for local use. For generating access token in HuggingFace, could you please refer this documentation: https://huggingface.co/docs/transformers.js/en/guides/private

If your use-case or research is related to any instruction tuning related it is highly advisable to use the instruction-tuned (IT) models. For gemma-2b-it model please visit the following Hugging Face page.

Thanks.

Sign up or log in to comment