Open adithya-s-k opened 7 months ago
That sounds very cool, and I think we'll want a feature like this, yes!
Let us discuss it a bit internally and we'll come back to you?
@clefourrier Certainly!
There are a few developers who are interested in something similar within the communities I am part of. I also have a very basic implementation of it working.
I look forward to hearing from you and the team, and I would also love to contribute.
hey @clefourrier just wanted to know if there are any updates with respect to the status of this issue and is this something you guys would be interested in adding?
Hi! Sorry we've been a bit under the water atm!
Yes it's still something we'd love to add/have the community add - we first wanted to merge what we are doing with the CLI (having an actual ligtheval
CLI to call instead of using the scripts, draft is here), then adapt the function calls to allow both CLI and code centric calls as above.
To get to the above, we would need to use the new model configuration files, maybe add a task configuration file too, and then create an Evaluator
class which would wrap up our main_accelerate
code.
If you're really eager to start on it, you can give it a go rn and we'll iterate on the fly, wdyt?
Enhancing the functionality of LightEval to better accommodate coding workflows is paramount. The current approach relies heavily on command-line interaction (CLI), but a more code-centric interface would greatly benefit users.
Consider the following refinement:
This revised approach emphasizes a more structured and Pythonic usage of LightEval, with clear functions to define dataset formatting and evaluation specifics. Additionally, it leverages the
EvaluatorArguments
class to encapsulate additional evaluation configurations like batch size and number of workers. The usage ofEvaluator
and related methods is aligned with conventional Python programming paradigms, enhancing usability and integration within code-centric workflows.if this is a feature you guys believe would be beneficial, I am eager to contribute to its development and enhancement.
@clefourrier @NathanHB