module documentation

Language Model Utilities

Function log_base2 Convenience function for computing logarithms with base 2.
Constant NEG_INF Undocumented
Constant POS_INF Undocumented
def log_base2(score): (source)

Convenience function for computing logarithms with base 2.

Undocumented

Value
float('-inf')

Undocumented

Value
float('inf')