ssgplabon's picture
RLHF model of StarCoder
a8bc012 verified
---
base_model: bigcode/tiny_starcoder_py
library_name: transformers
model_name: tinystarcoder-rlhf-model
tags:
- generated_from_trainer
- reward-trainer
- trl
licence: license
---
# Model Card for tinystarcoder-rlhf-model
This model is a fine-tuned version of [bigcode/tiny_starcoder_py](https://huggingface.co/bigcode/tiny_starcoder_py).
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="ssgplabon/tinystarcoder-rlhf-model", device="cuda")
output = rewarder(text)[0]
print(output["score"])
```
## Training procedure
This model was trained with Reward.
### Framework versions
- TRL: 0.27.2
- Transformers: 5.0.0
- Pytorch: 2.9.0+cu126
- Datasets: 4.0.0
- Tokenizers: 0.22.2
## 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}}
}
```