Add strip_logprobs utility function
#455
+245
−0
Merged