1. 29 Dec, 2023 1 commit
    • Paul McCann's avatar
      Don't silence errors when loading tasks (#1148) · 34b563b1
      Paul McCann authored
      
      
      * Add example failing task
      
      This task includes an invalid import. This will cause an exception and
      the task will not be loaded. But this just results in a DEBUG level log
      message, so in normal usage you'll see no error, and will be told the
      task doesn't exist.
      
      Here's an example command line to run the task:
      
          python -m lm_eval --model hf --model_args pretrained=rinna/japanese-gpt-1b --tasks fail
      
      This task is based on a Japanese Winograd task, but that's not
      important, and was just used due to familiarity.
      
      * Do not ignore errors when loading tasks
      
      * Change how task errors are logged
      
      This makes the proposed changes from PR discussion.
      
      1. Exceptions not related to missing modules/imports are logged as
         warnings.
      
      2. module/import related exceptions are still logged at debug level, but
         if any of them happen there is a warning about it with instructions
         on how to show logs.
      
      * Remove intentionally failing task
      
      ---------
      Co-authored-by: default avatarPaul O'Leary McCann <polm@dampfkraft.com>
      34b563b1
  2. 20 Dec, 2023 1 commit
    • Baber Abbasi's avatar
      Switch Linting to `ruff` (#1166) · 65b8761d
      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
      65b8761d
  3. 17 Nov, 2023 1 commit
  4. 15 Nov, 2023 1 commit
  5. 10 Nov, 2023 1 commit
  6. 09 Nov, 2023 4 commits
  7. 08 Nov, 2023 2 commits
  8. 07 Nov, 2023 2 commits
  9. 02 Nov, 2023 3 commits
  10. 19 Oct, 2023 2 commits
  11. 17 Oct, 2023 1 commit
  12. 12 Oct, 2023 1 commit
  13. 10 Oct, 2023 3 commits
  14. 08 Oct, 2023 1 commit
  15. 05 Oct, 2023 1 commit
  16. 26 Sep, 2023 3 commits
  17. 25 Sep, 2023 1 commit
  18. 19 Sep, 2023 4 commits
  19. 18 Sep, 2023 1 commit
  20. 14 Sep, 2023 1 commit
  21. 12 Sep, 2023 1 commit
  22. 10 Sep, 2023 1 commit
  23. 25 Aug, 2023 1 commit
  24. 14 Aug, 2023 1 commit
  25. 13 Aug, 2023 1 commit