Run this model with HF Jobs

Run bigscience/bloomz 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/bigscience/bloomz. 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/bigscience/bloomz 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/bigscience/bloomz. Ask me which benchmark to run, then save the scores and the per-example results to a new 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/bigscience/bloomz. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

How to get longer outputs?

#49
by Apps - opened

Im using Inference Enpoints to do QA over docs:

Prompt:

CONTEXT: 
<document chunk 1>
<document chunk 2>
<document chunk 3>
<document chunk 4>
<document chunk 5>

QUESTION: What is the answer to life, the universe and everything?
ANSWER:

I usually get very short outputs of one or two words. How can i get longer outputs?

Thanks

BigScience Workshop org

You can force a minimum generation length by setting the min_new_tokens kwarg to e.g. 100

Sign up or log in to comment