    def interpret(self, test_instance: Instance, k: int = 20) -> InterpretOutput:
        """
        Run the influence function scorer on the given instance, returning the top `k`
        most influential train instances with their scores.

        !!! Note
            Test instances should have `targets` so that a loss can be computed.
        """
        return self.interpret_instances([test_instance], k=k)[0]
Run the influence function scorer on the given instance, returning the top `k`
most influential train instances with their scores.

!!! Note
Test instances should have `targets` so that a loss can be computed.
allennlp/interpret/influence_interpreters/influence_interpreter.py