InContextLearningMetric#
- class composer.metrics.InContextLearningMetric(**kwargs)[source]#
- update(batch, output_logits, labels)[source]#
Abstract interface for computing an in-context learning metrics.
- Parameters
- Raises
NotImplementedError โ Abstract method must be implemented by subclasses