Instructions to use dongboklee/dPRM-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dongboklee/dPRM-14B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dongboklee/dPRM-14B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dongboklee/dPRM-14B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Improve model card for Rethinking Reward Models for Multi-Domain Test-Time Scaling
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -6,202 +6,110 @@ tags:
|
|
| 6 |
- base_model:adapter:deepseek-ai/DeepSeek-R1-Distill-Qwen-14B
|
| 7 |
- lora
|
| 8 |
- transformers
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
| 12 |
-
|
| 13 |
-
<!-- Provide a quick summary of what the model is/does. -->
|
| 14 |
-
|
| 15 |
|
|
|
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
### Model Description
|
| 20 |
|
| 21 |
-
|
| 22 |
|
|
|
|
| 23 |
|
|
|
|
| 24 |
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
-
- **License:** [More Information Needed]
|
| 31 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 32 |
|
| 33 |
-
### Model Sources
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
- **Repository:** [More Information Needed]
|
| 38 |
-
- **Paper [optional]:** [More Information Needed]
|
| 39 |
-
- **Demo [optional]:** [More Information Needed]
|
| 40 |
|
| 41 |
## Uses
|
| 42 |
|
| 43 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 44 |
-
|
| 45 |
### Direct Use
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
[More Information Needed]
|
| 50 |
-
|
| 51 |
-
### Downstream Use [optional]
|
| 52 |
-
|
| 53 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 54 |
-
|
| 55 |
-
[More Information Needed]
|
| 56 |
|
| 57 |
### Out-of-Scope Use
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
[More Information Needed]
|
| 62 |
|
| 63 |
## Bias, Risks, and Limitations
|
| 64 |
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
[More Information Needed]
|
| 68 |
-
|
| 69 |
-
### Recommendations
|
| 70 |
-
|
| 71 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 72 |
-
|
| 73 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 74 |
|
| 75 |
## How to Get Started with the Model
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
[More Information Needed]
|
| 80 |
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
-
###
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
-
|
|
|
|
|
|
|
| 88 |
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
-
|
| 92 |
|
| 93 |
-
##
|
| 94 |
-
|
| 95 |
-
[More Information Needed]
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
#### Training Hyperparameters
|
| 99 |
-
|
| 100 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 101 |
|
| 102 |
-
|
| 103 |
|
| 104 |
-
|
| 105 |
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
## Evaluation
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
### Testing Data, Factors & Metrics
|
| 113 |
-
|
| 114 |
-
#### Testing Data
|
| 115 |
-
|
| 116 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 117 |
-
|
| 118 |
-
[More Information Needed]
|
| 119 |
-
|
| 120 |
-
#### Factors
|
| 121 |
-
|
| 122 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 123 |
-
|
| 124 |
-
[More Information Needed]
|
| 125 |
-
|
| 126 |
-
#### Metrics
|
| 127 |
-
|
| 128 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 129 |
-
|
| 130 |
-
[More Information Needed]
|
| 131 |
-
|
| 132 |
-
### Results
|
| 133 |
-
|
| 134 |
-
[More Information Needed]
|
| 135 |
-
|
| 136 |
-
#### Summary
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
## Model Examination [optional]
|
| 141 |
-
|
| 142 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 143 |
-
|
| 144 |
-
[More Information Needed]
|
| 145 |
-
|
| 146 |
-
## Environmental Impact
|
| 147 |
-
|
| 148 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 149 |
-
|
| 150 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 151 |
-
|
| 152 |
-
- **Hardware Type:** [More Information Needed]
|
| 153 |
-
- **Hours used:** [More Information Needed]
|
| 154 |
-
- **Cloud Provider:** [More Information Needed]
|
| 155 |
-
- **Compute Region:** [More Information Needed]
|
| 156 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 157 |
-
|
| 158 |
-
## Technical Specifications [optional]
|
| 159 |
-
|
| 160 |
-
### Model Architecture and Objective
|
| 161 |
-
|
| 162 |
-
[More Information Needed]
|
| 163 |
-
|
| 164 |
-
### Compute Infrastructure
|
| 165 |
-
|
| 166 |
-
[More Information Needed]
|
| 167 |
-
|
| 168 |
-
#### Hardware
|
| 169 |
-
|
| 170 |
-
[More Information Needed]
|
| 171 |
-
|
| 172 |
-
#### Software
|
| 173 |
-
|
| 174 |
-
[More Information Needed]
|
| 175 |
-
|
| 176 |
-
## Citation [optional]
|
| 177 |
-
|
| 178 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 179 |
-
|
| 180 |
-
**BibTeX:**
|
| 181 |
-
|
| 182 |
-
[More Information Needed]
|
| 183 |
-
|
| 184 |
-
**APA:**
|
| 185 |
-
|
| 186 |
-
[More Information Needed]
|
| 187 |
-
|
| 188 |
-
## Glossary [optional]
|
| 189 |
-
|
| 190 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 191 |
-
|
| 192 |
-
[More Information Needed]
|
| 193 |
|
| 194 |
-
##
|
| 195 |
|
| 196 |
-
[
|
| 197 |
|
| 198 |
-
##
|
| 199 |
|
| 200 |
-
|
| 201 |
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
-
[More Information Needed]
|
| 205 |
### Framework versions
|
| 206 |
|
| 207 |
- PEFT 0.16.0
|
|
|
|
| 6 |
- base_model:adapter:deepseek-ai/DeepSeek-R1-Distill-Qwen-14B
|
| 7 |
- lora
|
| 8 |
- transformers
|
| 9 |
+
- reward-model
|
| 10 |
+
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Rethinking Reward Models for Multi-Domain Test-Time Scaling
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
This repository contains a LoRA adapter for a reward model, part of the research presented in the paper "[Rethinking Reward Models for Multi-Domain Test-Time Scaling](https://huggingface.co/papers/2510.00492)".
|
| 16 |
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
### Model Description
|
| 20 |
|
| 21 |
+
The reliability of large language models (LLMs) during test-time scaling is often assessed with *external verifiers* or *reward models* that distinguish correct reasoning from flawed logic. This work presents the first unified evaluation of four reward model variants: discriminative ORM (Outcome Reward Model) and PRM (Process Reward Model) (**DisORM**, **DisPRM**), and generative ORM and PRM (**GenORM**, **GenPRM**), across 14 diverse domains.
|
| 22 |
|
| 23 |
+
Contrary to conventional wisdom, the research finds that (i) **DisORM** performs on par with **DisPRM**, (ii) **GenPRM** is not competitive, and (iii) overall, **GenORM** is the most robust, yielding significant and consistent gains across every tested domain. These findings challenge the prevailing assumption that fine-grained supervision is always better and support generative outcome verification for multi-domain deployment.
|
| 24 |
|
| 25 |
+
This specific model card refers to an adapter built on the `deepseek-ai/DeepSeek-R1-Distill-Qwen-14B` backbone.
|
| 26 |
|
| 27 |
+
- **Developed by:** Lee, Dong Bok and Lee, Seanie and Park, Sangwoo and Kang, Minki and Baek, Jinheon and Kim, Dongki and Wagner, Dominik and Jin, Jiongdao and Lee, Heejun and Bocklet, Tobias and Wang, Jinyu and Fu, Jingjing and Hwang, Sung Ju and Bian, Jiang and Song, Lei
|
| 28 |
+
- **Model type:** Reward Model (LoRA adapter)
|
| 29 |
+
- **Language(s) (NLP):** English
|
| 30 |
+
- **License:** Apache 2.0 (for code/model). The datasets used are licensed under [CC-BY-NC-4.0 License](https://github.com/db-Lee/Multi-RM/blob/main/LICENSE.txt).
|
| 31 |
+
- **Finetuned from model:** This model is fine-tuned from [deepseek-ai/DeepSeek-R1-Distill-Qwen-14B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B). Other models presented in the paper are based on [deepseek-ai/DeepSeek-R1-Distill-Llama-8B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B).
|
|
|
|
|
|
|
| 32 |
|
| 33 |
+
### Model Sources
|
| 34 |
|
| 35 |
+
- **Repository:** https://github.com/db-Lee/Multi-RM
|
| 36 |
+
- **Paper:** https://huggingface.co/papers/2510.00492
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## Uses
|
| 39 |
|
|
|
|
|
|
|
| 40 |
### Direct Use
|
| 41 |
|
| 42 |
+
These models are intended for researchers and practitioners to evaluate the reliability and reasoning capabilities of large language models across diverse domains. They can be used to provide reward signals for LLM alignment or to verify the correctness of generated LLM outputs, including generating verification rationales.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
### Out-of-Scope Use
|
| 45 |
|
| 46 |
+
The models are not intended for general-purpose text generation beyond their specific task of reward modeling and rationale generation. They should not be deployed in critical systems where absolute correctness is required without human oversight, given the inherent limitations of AI systems.
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## Bias, Risks, and Limitations
|
| 49 |
|
| 50 |
+
The paper highlights that process reward models (PRMs) may inherit label noise from LLM auto-labeling and can have difficulty evaluating long reasoning trajectories, especially those involving self-correcting reasoning. Step-wise aggregation can compound errors as reasoning length grows. Users should be aware of these potential limitations when applying the models.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
## How to Get Started with the Model
|
| 53 |
|
| 54 |
+
First, set up your environment as described in the [GitHub repository](https://github.com/db-Lee/Multi-RM):
|
|
|
|
|
|
|
| 55 |
|
| 56 |
+
```bash
|
| 57 |
+
conda create -n multi-rm python=3.10.14
|
| 58 |
+
conda activate multi-rm
|
| 59 |
+
pip install -r requirements.txt
|
| 60 |
+
pip install flash-attn --no-build-isolation
|
| 61 |
+
```
|
| 62 |
|
| 63 |
+
### Inference (Reward Generation)
|
| 64 |
|
| 65 |
+
The following example, adapted from the GitHub repository, demonstrates how to use a generative reward model (gORM/gPRM) for inference. Replace `[TEST]` with `test`, `test_smollm`, `test_qwen`, `test_gemma`, or `test_llama` as needed.
|
| 66 |
|
| 67 |
+
```bash
|
| 68 |
+
# Inference for gORM / gPRM
|
| 69 |
+
# Use the appropriate model checkpoint, e.g., dongboklee/gORM-14B-merged, TASK_TYPE=gORM
|
| 70 |
|
| 71 |
+
python -m generative.get_reward \
|
| 72 |
+
--data_path dongboklee/[TEST] \
|
| 73 |
+
--model_id dongboklee/gORM-14B-merged \
|
| 74 |
+
--output_dir ./[REWARD_RESULTS]/gORM-14B-[TEST] \
|
| 75 |
+
--task_type gORM \
|
| 76 |
+
--category all
|
| 77 |
+
```
|
| 78 |
|
| 79 |
+
For discriminative models (dORM/dPRM) or for merging LoRA adapters of your own trained models, please refer to the [Inference section of the GitHub repository](https://github.com/db-Lee/Multi-RM#inference-reward).
|
| 80 |
|
| 81 |
+
## Training Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
+
For comprehensive training details, including synthetic verification rationale generation, training procedures for dORM/dPRM and gORM/gPRM, and hyperparameter configurations, refer to the [Training section of the GitHub repository](https://github.com/db-Lee/Multi-RM#training).
|
| 84 |
|
| 85 |
+
### Training Data
|
| 86 |
|
| 87 |
+
The models were trained on multi-domain datasets, including:
|
| 88 |
+
- [`train`](https://huggingface.co/datasets/dongboklee/train): Multi-domain training dataset for dORM/dPRM (mostly adapted from [VersaPRM](https://github.com/UW-Madison-Lee-Lab/VersaPRM)).
|
| 89 |
+
- [`train_gORM`](https://huggingface.co/datasets/dongboklee/train_gORM): Multi-domain training dataset for gORM.
|
| 90 |
+
- [`train_gPRM`](https://huggingface.co/datasets/dongboklee/train_gPRM): Multi-domain training dataset for gPRM.
|
| 91 |
|
| 92 |
## Evaluation
|
| 93 |
|
| 94 |
+
Detailed evaluation protocols, testing data (e.g., `test`, `test_smollm`, `test_qwen`), metrics, and results are available in the [Evaluation section of the GitHub repository](https://github.com/db-Lee/Multi-RM#evaluation).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
## Assets
|
| 97 |
|
| 98 |
+
The [GitHub repository](https://github.com/db-Lee/Multi-RM#assets) provides access to training and test datasets, model checkpoints, and rewards obtained by the four reward model variants, hosted on Hugging Face.
|
| 99 |
|
| 100 |
+
## Citation
|
| 101 |
|
| 102 |
+
If you find this work useful for your research or applications, please consider citing the paper:
|
| 103 |
|
| 104 |
+
```bibtex
|
| 105 |
+
@article{multi-rm,
|
| 106 |
+
title = {Rethinking Reward Models for Multi-Domain Test-Time Scaling},
|
| 107 |
+
author = {Lee, Dong Bok and Lee, Seanie and Park, Sangwoo and Kang, Minki and Baek, Jinheon and Kim, Dongki and Wagner, Dominik and Jin, Jiongdao and Lee, Heejun and Bocklet, Tobias and Wang, Jinyu and Fu, Jingjing and Hwang, Sung Ju and Bian, Jiang and Song, Lei},
|
| 108 |
+
journal = {arXiv preprint arXiv:2510.00492},
|
| 109 |
+
year = {2025}
|
| 110 |
+
}
|
| 111 |
+
```
|
| 112 |
|
|
|
|
| 113 |
### Framework versions
|
| 114 |
|
| 115 |
- PEFT 0.16.0
|