Hi @zhaoyiran924 , I was going through your work. Thanks for sharing.
I was running the file neuron_detection.py and encountered this error

I investigated a bit and found that the error was originating from utils.py file present in the generation folder in Transformer.

This function is present within the greedy_search function.
Can you please help me resolve this issue? I want to know which function is being invoked here in the above self() call. Thank you very much.