Best-of-N sampling draws several candidate summaries from the model, scores them with the reward model, and returns the best. It is a simple way to use a reward model at inference time and a baseline that the paper compares against.
Implement best_of_n_index(scores), returning the index of the candidate with the highest reward.
int.Use np.argmax on the scores.
No results yet
Run your code to check it against the examples, or submit to run every test.