Skip to content

Solve ImportError for function find_pruneable_heads_and_indices#225

Open
ReallyJaegar wants to merge 4 commits into
xinyu1205:mainfrom
ReallyJaegar:main
Open

Solve ImportError for function find_pruneable_heads_and_indices#225
ReallyJaegar wants to merge 4 commits into
xinyu1205:mainfrom
ReallyJaegar:main

Conversation

@ReallyJaegar

Copy link
Copy Markdown

function "find_pruneable_heads_and_indices" has been removed from the current v5 public internals, according to https://discuss.huggingface.co/t/importerror-for-function-find-pruneable-heads-and-indices/174317 .

Implemented the "find_pruneable_heads_and_indices" inside models/bert.py

Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant