Utils ===== The utils package combines certain utility function used within the repository. These include the following: * :py:mod:`nlp_uncertainty_zoo.utils.custom_types`: Custom types defined for Python typing annotations. * :py:mod:`nlp_uncertainty_zoo.utils.data`: Classes that are used to build batched datasets from raw files. * :py:mod:`nlp_uncertainty_zoo.utils.metrics`: Implementation of general-purpose uncertainty metrics. * :py:mod:`nlp_uncertainty_zoo.utils.samplers`: Implementation of samplers that produce representative sub-samples of datasets. * :py:mod:`nlp_uncertainty_zoo.utils.task_eval`: Functions that are used to evaluate the task performance of models. * :py:mod:`nlp_uncertainty_zoo.utils.uncertainty_eval`: Functions that are used to evaluate the calibration and uncertainty quality of models.