Downloads · 30 days
16
2% of all-time downloads
arun-shankar/GPT2-RLHF-covid
GPT2-RLHF-covid is a text generation model from arun-shankar. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Uses PPO and TRL library to align the response based on BERTScore towards the expected response.
Downloads · 30 days
16
2% of all-time downloads
All-time downloads
655
Public
Repo size
1 GB
Likes
6
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
Uses PPO and TRL library to align the response based on BERTScore towards the expected response.
You can ask the model any question related to COVID-19 in this format:
question: should i wear a mask at home?\nanswer:
You can also add a CTRL token as a special prefix token in front of your prompt to align it to your preference. For example, you either add a [good] or [bad] token as a prefix.
[good]question: should i wear a mask at school?\nanswer:
Good and bad here refers to the quality of the response. Being more aligned to the expected (ground truth) response is good and not is bad.