- 03 Mar, 2024 1 commit
-
-
Baber Abbasi authored
* use `@ray.remote` with distributed vLLM * update versions * bugfix * unpin vllm * fix pre-commit * added version assertion error * Revert "added version assertion error" This reverts commit 8041e9b78e95eea9f4f4d0dc260115ba8698e9cc. * added version assertion for DP * expand DP note * add warning * nit * pin vllm * fix typos
-
- 06 Feb, 2024 1 commit
-
-
Michael Chen authored
Add instructions for non-MacOS users on how to compile janitor_util.cpp so that janitor.py can use it.
-
- 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
-
- 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
-
- 11 May, 2022 1 commit
-
-
jon-tow authored
-
- 03 May, 2022 3 commits
-
-
jon-tow authored
-
Fabrizio Milo authored
-
Fabrizio Milo authored
-
- 13 Mar, 2022 2 commits
-
-
researcher2 authored
-
researcher2 authored
Add documentation for decontamination. Improvements to 13-gram generation.
-
- 03 Mar, 2022 1 commit
-
-
researcher2 authored
-
- 25 Feb, 2022 1 commit
-
-
Leo Gao authored
-
- 20 Feb, 2022 1 commit
-
-
researcher2 authored
Remove arguments from main.py. Add "decontamination" prefix to ngrams arguments.
-
- 30 Jan, 2022 2 commits
-
-
Quentin Anthony authored
-
researcher2 authored
-
- 26 Dec, 2021 1 commit
-
-
researcher2 authored
-
- 12 May, 2021 4 commits
-
-
researcher2 authored
-
researcher2 authored
Comment out cpp tests.
-
researcher2 authored
Small fixes to python version of Janitor, cpp version named properly for import but code doesn't work - may or may not fix in the future. Add unit tests for python version of Janitor.
-
researcher2 authored
-
- 12 Feb, 2021 1 commit
-
-
& authored
-