Skip to content

Commit

Permalink
🐛 Fix module default
Browse files Browse the repository at this point in the history
Signed-off-by: gkumbhat <[email protected]>
  • Loading branch information
gkumbhat committed Nov 6, 2023
1 parent 2ec38e6 commit d1e3cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caikit_nlp/toolkit/trainer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def validate_training_data(train_stream: DataStream, model_name: str, module_id:
module_default = (
get_config()
.training_data_limit.get(module_id, {})
.get(module_id, global_default)
.get("__default__", global_default)
)

max_num_examples = (
Expand Down

0 comments on commit d1e3cba

Please sign in to comment.