A reward model reads two answers to the same question and gives each a score: higher means better, and scores can be any size, even negative. Write chance_first_wins(score_first, score_second): the chance a person shown both picks the first.
A reward model scores two answers to the same question, and 100 people are shown both. With equal scores it’s a coin flip; with one score far above the other nearly everyone picks it. For −1 against −3, how many pick the first?
chance_first_wins(score_first, score_second)| score_first | the reward model's scores for two answers | e.g. 3 |
| score_second | the reward model's scores for two answers | e.g. 3 |
| returns | the chance a person picks the first answer | |