1. 26 Feb, 2024 2 commits
    • Aaron V's avatar
      Create a means for caching task registration and request building. Ad… (#1372) · 1e6c9272
      Aaron V authored
      
      
      * Create a means for caching task registration and request building. Add the ability to specify an args dict for simple_evaluate().
      
      * Remove extra S in cache path in caching module
      Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
      
      * Rename requests cache args, make model_args polymorphic so that a dict can also be accepted.
      
      * Update docs to reflect new caching behavior, add CLI args for requests caching. Create a function for deleting items in the cache.
      
      * Update documentation, fix minor bug with arg parsing for requests caching where an undefined variable was used.
      
      * Remove line from gitignore, add to cli for caching datasets.
      
      * Add hashing suffix to .pickles. Update test script typo.
      
      * Favor isinstance() over type() in evaluator.py
      
      * Add tests for caching, gets tests working, remove unneeded arg from build_all_requests().
      
      * Update arg description to simple_evaluate.
      
      * Update pyproject.toml
      
      * Fix typehint
      
      * Remove the use of random() for creating default cache pickle hash.
      
      * Check that cache dir exists before clearing it in request cache tests.
      
      * Fix linting problems.
      
      * Fix additional formatting errors.
      
      * Remove trailing whitespace.
      
      * Add new line to the end of .gitignore.
      
      ---------
      Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
      1e6c9272
    • Hailey Schoelkopf's avatar
      Add Gemma support (Add flag to control BOS token usage) (#1465) · 4c51111c
      Hailey Schoelkopf authored
      
      
      * add add_bos_token to HFLM
      
      * add BOS token flag to other local model classes
      
      ---------
      Co-authored-by: default avatarLintang Sutawika <lintang@eleuther.ai>
      4c51111c
  2. 22 Feb, 2024 1 commit
  3. 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
  4. 29 Nov, 2023 1 commit
  5. 02 Nov, 2023 2 commits
  6. 18 Oct, 2023 2 commits
  7. 13 Sep, 2023 1 commit
  8. 25 Aug, 2023 1 commit
  9. 07 Aug, 2023 1 commit
  10. 16 Jul, 2023 2 commits
  11. 28 Jun, 2023 4 commits
  12. 23 Jun, 2023 1 commit
  13. 19 Jun, 2023 1 commit
  14. 07 Jun, 2023 1 commit
  15. 19 May, 2023 1 commit
  16. 02 May, 2023 1 commit
  17. 24 Apr, 2023 1 commit
  18. 19 Apr, 2023 1 commit