allenai / reward-bench

RewardBench: the first evaluation tool for reward models.
https://huggingface.co/spaces/allenai/reward-bench
Apache License 2.0
277 stars 27 forks source link

'model_modifier' referenced before assignment in enclosing scope #147

Closed tianlu-wang closed 2 days ago

tianlu-wang commented 2 days ago

In script/run_generative.py, 'model_modifier' referenced before assignment in enclosing scope.

natolambert commented 2 days ago

Thanks! Really wish I've added basic tests by now, would solve things like this.