def METHOD_NAME(self, inputs, model_name_or_path):
    """Test functional implementation of metric."""
    preds, target = inputs
    self.run_functional_metric_test(
        preds=preds,
        target=target,
        metric_functional=clip_score,
        reference_metric=partial(_compare_fn, model_name_or_path=model_name_or_path),
        metric_args={"model_name_or_path": model_name_or_path},
    )