bigcode-project / bigcode-evaluation-harness

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

Add package name and enforce python version in `setup.py` #232

Closed shehrozek-cerebras closed 2 months ago

shehrozek-cerebras commented 2 months ago

No package name is specified in the setup.py file, which yields errors when trying to install the bigcode-eval package via pip. Please this issue for details: https://github.com/bigcode-project/bigcode-evaluation-harness/issues/231

shehrozek-cerebras commented 2 months ago

CC: @loubnabnl for reviews. Thanks!

loubnabnl commented 2 months ago

Hi, the package isn't published on PyPI so pip install bigcode_eval won't work, but you can do pip install git+https://github.com/bigcode-project/bigcode-evaluation-harness.git

shehrozek-cerebras commented 2 months ago

Hi, the package isn't published on PyPI so pip install bigcode_eval won't work, but you can do pip install git+https://github.com/bigcode-project/bigcode-evaluation-harness.git

Yes, I have this line in my requirements.txt file, but the installation via pip install -r requirements.txt still fails due to the same error as listed in the issue description. It passes with the changes in this PR.

shehrozek-cerebras commented 2 months ago

@loubnabnl I have included your suggestion.