'T5ForConditionalGeneration' object has no attribute '_prune_heads'
Hi guysI have been following thedocumentationhere to prune heads but keep getting this errorAttributeError: ‘T5ForConditionalGeneration’ object has no attribute ‘_prune_heads’This is my code, I was just following the docsmycode1009×208 29.3 KBc
2023-10-30T04:48:26Z
Hi@ceddyla,Did you figure out a solution for this problem?I’m facing same issue and raised a Github issue here -https://github.com/huggingface/transformers/issues/27044