ecco icon indicating copy to clipboard operation
ecco copied to clipboard

How to serialize the LMOutput object?

Open JamesCao2048 opened this issue 2 years ago • 0 comments

Hi, I am wondering how to serialize the LMOutput results for later usage? I think it would be usefule when I want to explain the results of the whole dataset and visualize them later. I have tried pickle.dump but meet this error "AttributeError: Can't pickle local object 'add_hook_to_module..new_forward'".

Thanks a lot!

JamesCao2048 avatar Dec 16 '23 13:12 JamesCao2048