Functions and exceptions for checking that AllenNLP and its models are configured correctly.
The exception raised by any AllenNLP object when it’s misconfigured (e.g. missing properties, invalid properties, unknown properties).
Makes sure that the
PYTHONHASHSEEDenvironment variable is set to the correct value, which it must be in order to get repeatable results (and for the tests to pass).
Logs the PyTorch version.