Downloads · 30 days
7
11% of all-time downloads
mxcui/maxmin-imdb-reward-prop0.3-len512-majority-gpt2
maxmin-imdb-reward-prop0.3-len512-majority-gpt2 is a text classification model from mxcui. 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 gpt2 on the mxcui/gpt2-imdb-preference-prop0.3-len512-random dataset. It has been trained using TRL.
Downloads · 30 days
7
11% of all-time downloads
All-time downloads
61
Public
Parameters
124M
249 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors249 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of gpt2 on the mxcui/gpt2-imdb-preference-prop0.3-len512-random dataset. It has been trained using TRL.
from transformers import pipeline
text = "The capital of France is Paris."
rewarder = pipeline(model="mxcui/maxmin-imdb-reward-prop0.3-len512-majority-gpt2", 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}
}