File size: 136 Bytes
89e8242
 
 
 
 
1
2
3
4
5
6

import numpy as np
avg_ppl = 46.1
score = float(1.0 / (1.0 + np.exp((avg_ppl - 43.5) / 6.0)))
print(f"PPL: {avg_ppl}, Score: {score}")