Instructions to use openbmb/Eurus-RM-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openbmb/Eurus-RM-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="openbmb/Eurus-RM-7b", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("openbmb/Eurus-RM-7b", trust_remote_code=True) model = AutoModel.from_pretrained("openbmb/Eurus-RM-7b", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Wrong Output in Usage Example Code?
#5
by hmomin - opened
When I run the example code in the Usage section, I don't get the output 47.4404296875 as suggested at the bottom.
Instead, I get -221.7861328125.
Thanks
Hi,
We've just fixed a bug in the demo yesterday -- correcting the [\INST] to [/INST] -- and haven't got time yet to test the reward based on the corrected code. If you are using the latest code, it is possible to obtain a different output.