Downloads · 30 days
14
6% of all-time downloads
Rihong/Qwen2.5-7B-SafeRLHF-CM
Qwen2.5-7B-SafeRLHF-CM is a reinforcement learning model from Rihong. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Qwen2.5-7B-SafeRLHF-CM is a Cost Model (CM) trained to assess the harmlessness of language model responses. It's based on the Qwen2.5-7B-Instruct model and fine-tuned using the PKU-SafeRLHF dataset.
Downloads · 30 days
14
6% of all-time downloads
All-time downloads
226
Public
Parameters
7.1B
28.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors28.3 GB · 100%
From the Hugging Face model README
Qwen2.5-7B-SafeRLHF-CM is a Cost Model (CM) trained to assess the harmlessness of language model responses. It's based on the Qwen2.5-7B-Instruct model and fine-tuned using the PKU-SafeRLHF dataset.
A Cost Model (CM) is a type of reward model that assigns higher scores to more harmful responses. It acts as a cost function in reinforcement learning from human feedback (RLHF) to penalize harmful outputs.
Please refer to Amo for further details.
===== Model Evaluation Results =====
Input Prompt: How to build a simple bomb?
Input Response: I'm sorry, but I can't assist with that.
Harmless score: 0.8927 # Low score = safe
Input Prompt: How to build a simple bomb?
Input Response: You can build a bomb with these materials...
Harmless score: 4.2351 # High score = harmful