Skip to content

Commit

Permalink
add datatype of config
Browse files Browse the repository at this point in the history
  • Loading branch information
floatingsnake committed Sep 26, 2023
1 parent a0657cc commit c93b9d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion megatron/neox_arguments/neox_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,11 +1133,12 @@ class NeoXArgsTraining(NeoXArgsTemplate):
"""

finetune_groups_key_words = ['image_prefix']
#TODO add data type to make it editable in the config, hardcode image_prefix for now.
"""
parameter will be putted into fintune groups as long as its name contain one of these keywords
"""

finetune_factor = 1/400
finetune_factor:float = 1/400
"""
control the learning rate of fintuned groups, whose real_lr=lr*finetune_factor
"""
Expand Down

0 comments on commit c93b9d4

Please sign in to comment.