princeton-nlp / CoFiPruning

[ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408
MIT License
188 stars 32 forks source link

Update README.md #30

Closed CaffreyR closed 1 year ago

CaffreyR commented 1 year ago

Hi @xiamengzhou , when I try to reproduce your code, I found that the latest version of transformers report error when import hf_bucket_url in transformers.file_utils. And a lower version can work

xiamengzhou commented 1 year ago

Thanks for the update!!

gaishun commented 1 year ago

Sorry, when I try to reproduce the code, I found that the version of transformers is a big problem. I have tried different versions like 2.11.0, 3.4.0, 3.6.0, 4.27.1, but every version has some packages which dont not fit the code. Which the version do you use? Can I know the version of other packages not marked clearly in requirement.txt?