Skip to content

Commit

Permalink
Update src/lighteval/models/transformers/transformers_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Villanova del Moral <[email protected]>
  • Loading branch information
clefourrier and albertvillanova authored Dec 18, 2024
1 parent 8e3b7e2 commit 5c89fe2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lighteval/models/transformers/transformers_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ class BaseModelConfig(TransformersModelConfig):
def __post_init__(self):
super().__post_init__()

logger.warning(
"Careful, BaseModelConfig is deprecated and will be removed, you should use TransformersModelConfig instead!"
warnings.warn(
"BaseModelConfig is deprecated and will be removed. Use TransformersModelConfig instead",
FutureWarning,
)


Expand Down

0 comments on commit 5c89fe2

Please sign in to comment.