Run this model with HF Jobs

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

Consider adding <start_of_context> and <stop_of_context> or similar special tokens for context ingestion.

#13
by qnixsynapse - opened

Gemma 1.1 is a serious upgrade over the earlier version and I was able to made it work with documents which required some amount of tweaking on the prompt format:

image.png

Adding special tokens for context as part of the prompt format will allow the model to differentiate between the context and the query which currently confuses the model a bit.

IMO, tiny models can benefit from it and it will also reduce hallucination.

This is my suggestion. :)

Hi @qnixsynapse , Its very insightful observation! It's great to hear that you're finding Gemma 1.1 to be a significant improvement and that you're actively experimenting with prompt engineering to get even better results. Thank you again for taking the time to share your thoughtful suggestion! Keep the feedback coming.

Sign up or log in to comment