Run this model with HF Jobs

Run CohereLabs/c4ai-command-r-plus 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/CohereLabs/c4ai-command-r-plus. 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/CohereLabs/c4ai-command-r-plus 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/CohereLabs/c4ai-command-r-plus. 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/CohereLabs/c4ai-command-r-plus. 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.

repeat problem

#17
by gulixin0922 - opened

I used model:command-r-plus with langchain. It has repeat problem.

chat_llm:
type: 'ChatCohere'
model: 'command-r-plus'
cohere_api_key: ''
max_tokens: 1000
temperature: 0.01

image.png

Try to pass a parameter called repetition_penalty with a value of 1.1.
Without this, the output begins repeating.

Hi, this issue looks resolved so closing it but feel free to reopen in case you're still facing any issues related to this.

shivalikasingh changed discussion status to closed

Sign up or log in to comment