Text Classification
Transformers
Safetensors
mistral
feature-extraction
reward_model
custom_code

Run this model with HF Jobs

Run openbmb/Eurus-RM-7b 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 to fine-tune https://huggingface.co/openbmb/Eurus-RM-7b. 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/openbmb/Eurus-RM-7b 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.

How to use with batch size > 1?

#9
by RylanSchaeffer - opened

The demo code uses a batch size of 1. When I try passing a list of strings to the tokenizer, I receive the error:

{ValueError}ValueError("Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=Tr...h. Perhaps your features (`input_ids` in this case) have excessive nesting (inputs type `list` where type `int` is expected).")

How do I fix this?

What is an acceptable padding token to choose?

Sign up or log in to comment