- 31 Jan, 2024 1 commit
-
-
Hailey Schoelkopf authored
* don't override do_sample if no value for it is passed * Update gen_kwargs override condition * Update huggingface.py * Update huggingface.py * run linters * silence an erroneous warning
-
- 28 Jan, 2024 1 commit
-
-
LSinev authored
* raise Exception, not a string Additional info https://peps.python.org/pep-0352/#exception-hierarchy-changes https://docs.python.org/3.8/tutorial/errors.html#raising-exceptions * Apply PEP8 recommendation to prefer isinstance "Object type comparisons should always use isinstance() instead of comparing types directly" https://peps.python.org/pep-0008/ * Remove dangerous default mutable values in arguments https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/dangerous-default-value.html * Format logging messages with fstring (not with format) Additional info https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/logging-format-interpolation.html There are also discussions about the speed of formatting while logging or some unintended code executions https://github.com/pylint-dev/pylint/issues/2395 https://stackoverflow.com/a/54368109 but at least one format (fstring one) will be used throughout the project * Specify utf-8 encoding for `open` explicitly If not specified, it may be supposed differently in different environments, OSes, and Python versions. See https://peps.python.org/pep-0597/ https://docs.python.org/3.11/library/locale.html#locale.getencoding https://docs.python.org/3.10/library/os.html#utf8-mode https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/unspecified-encoding.html Helps also if some code from English language tasks is taken as inspiration for tasks in non-English languages. * Use inline-ignoring comments to pass pre-commit instead of identity process https://flake8.pycqa.org/en/3.0.1/user/ignoring-errors.html#in-line-ignoring-errors https://www.flake8rules.com/rules/F841.html flake8 comments are supported by ruff: https://docs.astral.sh/ruff/linter/#error-suppression
-
- 26 Jan, 2024 1 commit
-
-
thnkinbtfly authored
-
- 22 Jan, 2024 2 commits
-
-
Brian Vaughan authored
-
Lintang Sutawika authored
* add fix fordeciding if stderr is N/A or not * process N/A
-
- 18 Jan, 2024 1 commit
-
-
Lintang Sutawika authored
* tuple should be considered as well * set option to keep callable as callable
-
- 20 Dec, 2023 1 commit
-
-
Baber Abbasi authored
* add ruff and isort. remove black and flake8 * remove unnecessary dependencies * remove dependency from table * change order * ran ruff * check 3.9 * exclude evaluator * update CI workflow * use ruff config in pyproject.toml * test * add isort rules to ruff * sort imports * import `make_table` * try stages for no-commit-to-branch * turn on mypy for pre-commit * test * test * test * change no-commit-to-branch to default * nits * fixed dependency
-
- 19 Dec, 2023 1 commit
-
-
Lintang Sutawika authored
* save progress * fixed issue with table only showing 1 group * store aliases directly in results_agg * removed unused parts
-
- 13 Dec, 2023 1 commit
-
-
Lintang Sutawika authored
-
- 12 Dec, 2023 2 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
- 29 Nov, 2023 1 commit
-
-
baberabb authored
-
- 28 Nov, 2023 3 commits
-
-
Lintang Sutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 24 Nov, 2023 3 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 17 Nov, 2023 3 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 14 Nov, 2023 2 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
enables tasks of different group but same task_alis (for example, if evaluating on different versions of MMLU
-
- 13 Nov, 2023 1 commit
-
-
lintangsutawika authored
-
- 10 Nov, 2023 1 commit
-
-
lintangsutawika authored
-
- 07 Nov, 2023 1 commit
-
-
lintangsutawika authored
-
- 06 Nov, 2023 2 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
- 02 Nov, 2023 5 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 01 Nov, 2023 3 commits
-
-
haileyschoelkopf authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 17 Oct, 2023 3 commits
-
-
lintangsutawika authored
-
lintangsutawika authored
-
lintangsutawika authored
-
- 16 Oct, 2023 1 commit
-
-
lintangsutawika authored
-