|
|
--- |
|
|
base_model: MMattaparthy/sft_finetined_final |
|
|
library_name: transformers |
|
|
model_name: reward-model |
|
|
tags: |
|
|
- generated_from_trainer |
|
|
- trl |
|
|
- reward-trainer |
|
|
licence: license |
|
|
--- |
|
|
|
|
|
# Model Card for reward-model |
|
|
|
|
|
This model is a fine-tuned version of [MMattaparthy/sft_finetined_final](https://huggingface.co/MMattaparthy/sft_finetined_final). |
|
|
It has been trained using [TRL](https://github.com/huggingface/trl). |
|
|
|
|
|
## Quick start |
|
|
|
|
|
```python |
|
|
from transformers import pipeline |
|
|
|
|
|
text = "The capital of France is Paris." |
|
|
rewarder = pipeline(model="None", device="cuda") |
|
|
output = rewarder(text)[0] |
|
|
print(output["score"]) |
|
|
``` |
|
|
|
|
|
## Training procedure |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This model was trained with Reward. |
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- TRL: 0.24.0 |
|
|
- Transformers: 4.57.1 |
|
|
- Pytorch: 2.8.0+cu126 |
|
|
- Datasets: 4.0.0 |
|
|
- Tokenizers: 0.22.1 |
|
|
|
|
|
## Citations |
|
|
|
|
|
|
|
|
|
|
|
Cite TRL as: |
|
|
|
|
|
```bibtex |
|
|
@misc{vonwerra2022trl, |
|
|
title = {{TRL: Transformer Reinforcement Learning}}, |
|
|
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec}, |
|
|
year = 2020, |
|
|
journal = {GitHub repository}, |
|
|
publisher = {GitHub}, |
|
|
howpublished = {\url{https://github.com/huggingface/trl}} |
|
|
} |
|
|
``` |