Downloads · 30 days
11
5% of all-time downloads
sr5434/rm_hh_rlhf
rm_hh_rlhf is a text classification model from sr5434. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of sr5434/sftmodel. It has been trained using TRL.
Downloads · 30 days
11
5% of all-time downloads
All-time downloads
217
Public
Parameters
268M
5.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 96%
From the Hugging Face model README
This model is a fine-tuned version of sr5434/sft_model. It has been trained using TRL.
from transformers import pipeline
text = "The capital of France is Paris."
rewarder = pipeline(model="sr5434/rm_hh_rlhf", device="cuda")
output = rewarder(text)[0]
print(output["score"])
This model was trained with Reward.
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}