allennlp.common.checks

Functions and exceptions for checking that AllenNLP and its models are configured correctly.

exception allennlp.common.checks.ConfigurationError(message)[source]

Bases: Exception

The exception raised by any AllenNLP object when it’s misconfigured (e.g. missing properties, invalid properties, unknown properties).

allennlp.common.checks.log_pytorch_version_info()[source]