Are you sure you want to delete this access key?
This is a very simple script to calculate Elo Rating. Useful for LLM and RLHF tasks.
matrix = [
[0, 2, 0], # Player 0 won against Player 1 twice
[1, 0, 0], # Player 1 won against Player 0 once
[1, 1, 0] # Player 2 won against Player 0 and Player 1 once each
]
ratings = compute_elo(matrix)
print(ratings)
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?