bigcode-project / bigcode-evaluation-harness

A framework for the evaluation of autoregressive code generation language models.
Apache License 2.0
771 stars 201 forks source link

[Minor] Conflicting dependencies in requirements.txt #26

Closed JeanKaddour closed 1 year ago

JeanKaddour commented 1 year ago

Running pip install -r requirements.txt gives me

ERROR: Cannot install -r requirements.txt (line 1) and huggingface_hub==0.8.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested huggingface_hub==0.8.1
    transformers 4.25.1 depends on huggingface-hub<1.0 and >=0.10.0

Instead,

huggingface_hub>=0.10.0

fixed it for me and hasn't broken anything so far.

loubnabnl commented 1 year ago

Thanks for flagging it! It won't break anything as it's added if the user want to push generations to the hub. Feel free to open a PR to fix it or I can update it.

loubnabnl commented 1 year ago

Just fixed in https://github.com/bigcode-project/bigcode-evaluation-harness/pull/25 🚀