micm_nlp.evals¶
Evaluation: metric assembly, prediction post-processing and plots.
eval—get_compute_metricsbuilds thecompute_metricscallable theTrainerexpects;get_preprocess_logits_for_metricsis its companion hook, which runs before logits are accumulated. Also handles per-task grouping and label restriction.plot— confusion matrices.metrics— the metric implementationsevaluatedoes not provide directly. See that package’s docstring: it holds two different module shapes, on purpose.