Create a means for caching task registration and request building. Ad… (#1372)
* 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:
Hailey 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_e...
Showing
lm_eval/caching/cache.py
0 → 100644
scripts/requests_caching.py
0 → 100644
Please register or sign in to comment