1. 25 Jun, 2024 1 commit
  2. 10 Jun, 2024 5 commits
  3. 07 Jun, 2024 1 commit
  4. 06 Jun, 2024 1 commit
  5. 03 Jun, 2024 1 commit
  6. 31 May, 2024 1 commit
  7. 24 May, 2024 2 commits
  8. 16 May, 2024 1 commit
  9. 15 May, 2024 1 commit
  10. 11 May, 2024 3 commits
  11. 10 May, 2024 3 commits
  12. 08 May, 2024 2 commits
  13. 07 May, 2024 2 commits
  14. 06 May, 2024 1 commit
    • LSinev's avatar
      Provide ability for custom sampler for ConfigurableTask (#1616) · ae72cebc
      LSinev authored
      * Added fewshot sampling seeds to evaluator.simple_evaluate signature
      
      Way to control seed of fewshot sampling
      may help with #1591
      
      * Added ability for custom sampler for ConfigurableTask
      
      May be set in config like
      ```
      fewshot_config:
        sampler: !function utils.MyFewshotSampler
      ```
      
      * explicitly set fewshot random generator seed for HFLM generate_until_task test
      
      * add backward compatibility for three args seed setup
      
      * save seeds info to logs/reports
      ae72cebc
  15. 26 Apr, 2024 1 commit
  16. 25 Apr, 2024 1 commit
  17. 24 Apr, 2024 1 commit
  18. 23 Apr, 2024 1 commit
  19. 25 Mar, 2024 1 commit
    • Lintang Sutawika's avatar
      Seq2seq fix (#1604) · 262f879a
      Lintang Sutawika authored
      
      
      * fix on --task list
      
      * add fixes to tokeniation
      
      * differentiate encoding for seq2seq and decoder
      
      * return token setting
      
      * format for pre-commit
      
      * Seq2seq fix, pt2 (#1630)
      
      * getting model class only when defined
      
      * encode_pair handles None, add_special_tokens turned into dict with default value
      
      ---------
      Co-authored-by: default avatarachervyakov <77295913+artemorloff@users.noreply.github.com>
      262f879a
  20. 20 Mar, 2024 1 commit
  21. 19 Mar, 2024 1 commit
  22. 18 Mar, 2024 2 commits
  23. 17 Mar, 2024 1 commit
  24. 13 Mar, 2024 1 commit
  25. 10 Mar, 2024 1 commit
  26. 06 Mar, 2024 2 commits
  27. 27 Feb, 2024 1 commit
    • Baber Abbasi's avatar
      Refactor `evaluater.evaluate` (#1441) · 5ccd65d4
      Baber Abbasi authored
      
      
      * change `all_gather` to `gather`
      
      * add TaskOutput utility class
      
      * Add FilterResults class and refactor task handling.
      
      * Rename `key` to `filter_key` for clarity
      
      * Add `print_writeout` function in utils.py
      
      * Add function to calculate limit size.
      
      * Add doc_iterator method to Task class
      
      * Refactor `doc_iterator` and cleanup in Task class
      
      * remove superfluous bits
      
      * change `all_gather` to `gather`
      
      * bugfix
      
      * bugfix
      
      * fix `gather`
      
      * Refactor `gather` loop
      
      * Refactor aggregate metrics calculation
      
      * Refactor and simplify aggregate metrics calculation
      Removed unused code
      
      * Simplify metrics calculation and remove unused code.
      
      * simplify the metrics calculation in `utils.py` and `evaluator.py`.
      
      * Fix group metric
      
      * change evaluate to hf_evaluate
      
      * change evaluate to hf_evaluate
      
      * add docs
      
      * add docs
      
      * nits
      
      * make isslice keyword only
      
      * nit
      
      * add todo
      
      * nit
      
      * nit
      
      * nit: swap order samples_metrics tuple
      
      * move instance sorting outside loop
      
      * nit
      
      * nit
      
      * Add __repr__ for ConfigurableTask
      
      * nit
      
      * nit
      
      * Revert "nit"
      
      This reverts commit dab8d9977a643752a17f840fd8cf7e4b107df28f.
      
      * fix some logging
      
      * nit
      
      * fix `predict_only` bug. thanks to `@LSinev`!
      
      * change `print_tasks` to `prepare_print_tasks`
      
      * nits
      
      * move eval utils
      
      * move eval utils
      
      * nit
      
      * add comment
      
      * added tqdm descriptions
      
      * Update lm_eval/evaluator_utils.py
      Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
      
      * fix mgsm bug
      
      * nit
      
      * fix `build_all_requests`
      
      * pre-commit
      
      * add ceil to limit
      
      ---------
      Co-authored-by: default avatarHailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
      5ccd65d4