mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 20:47:44 +00:00
feat: add extra_eval config and import_class for custom evaluators (#1097)
* feat: add extra_eval config and import_class for custom evaluators * lint * build: update litellm requirement to >=1.73 for get_valid_models * refactor: remove *args/**kwargs from _create_embedding_inner_function signature
This commit is contained in:
@@ -23,6 +23,18 @@ class DSCoderCoSTEERSettings(CoSTEERSettings):
|
||||
env_type: str = "docker"
|
||||
# TODO: extract a function for env and conf.
|
||||
|
||||
extra_eval: list[str] = []
|
||||
"""
|
||||
Extra evaluators
|
||||
|
||||
The evaluator follows the following assumptions:
|
||||
- It runs after previous evaluator (So the running results are alreadly there)
|
||||
|
||||
It is not a complete feature due to it is only implemented in DS Pipeline & Coder.
|
||||
|
||||
TODO: The complete version should be implemented in the CoSTEERSettings.
|
||||
"""
|
||||
|
||||
|
||||
def get_ds_env(
|
||||
conf_type: Literal["kaggle", "mlebench"] = "kaggle",
|
||||
|
||||
Reference in New Issue
Block a user