Update README.md
Browse files
README.md
CHANGED
@@ -81,6 +81,7 @@ Reformatted from `stanfordnlp/SHP` dataset. To make it consistent with other pre
|
|
81 |
if score > threshold:
|
82 |
return 10.0
|
83 |
# linearly map the rest
|
|
|
84 |
return 5.0 + (score / 78) * 5.0
|
85 |
```
|
86 |
to respect the `score_ratio` in the original dataset, we use it to model score difference between the chosen and the rejected score. Therefore, the rejected score is calculated by:
|
|
|
81 |
if score > threshold:
|
82 |
return 10.0
|
83 |
# linearly map the rest
|
84 |
+
# start with 5.0 because we assume that any human written reponses that can receive any upvote should already reflect decent quality
|
85 |
return 5.0 + (score / 78) * 5.0
|
86 |
```
|
87 |
to respect the `score_ratio` in the original dataset, we use it to model score difference between the chosen and the rejected score. Therefore, the rejected score is calculated by:
|