Views
No views yet

val_accuracy among all final checkpointsreward_alignment_score threshold of 0.80| Run | Base Model | Learning Rate | Final Step | Val Accuracy | Reward Alignment | Train Loss |
|---|---|---|---|---|---|---|
| run_gpt2_base_lr1e4 | GPT-2 Base | 1e-4 | 1000 | 0.907 | 0.876 | 0.115 |
| run_gpt2_base_lr5e5 | GPT-2 Base | 5e-5 | 1000 | 0.870 | 0.839 | 0.207 |
| run_gpt2_large_lr1e4 | GPT-2 Large | 1e-4 | 1000 | 0.958 | 0.928 | 0.061 |
| run_gpt2_large_lr5e5 | GPT-2 Large | 5e-5 | 1000 | 0.901 | 0.854 | 0.159 |
| run_deberta_lr1e4 | DeBERTa-v2 | 1e-4 | 1000 | 0.837 | 0.827 | 0.301 |
| Metric | Value |
|---|---|
| Run Name | run_gpt2_large_lr1e4 |
| Val Accuracy | 0.958 |
| Reward Alignment Score | 0.928 |
| Final Train Loss | 0.061 |
1from transformers import AutoModelForSequenceClassification, AutoTokenizer
2
3model = AutoModelForSequenceClassification.from_pretrained("BestRewardModel-TestRepo")
4tokenizer = AutoTokenizer.from_pretrained("BestRewardModel-TestRepo")
5
6inputs = tokenizer("prompt", "response", return_tensors="pt")
7score = model(**inputs).logits[0].item()