Allow train.py-like config for eval.py (#1351)
* Allow model key in eval script
* Compatibility
* pre-commit fix
* Fix load_path
* fix
* Refactor as a config transform
* formatting
* fix
* fix pyright
* fix
---------
Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>