Skip to content

Commit

Permalink
modified an argument type
Browse files Browse the repository at this point in the history
Signed-off-by: ftgreat <[email protected]>
  • Loading branch information
ftgreat committed Jul 3, 2023
1 parent 95158b9 commit 184c2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flagai/env_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def __init__(self,
self.parser.add_argument('--bmt_loss_scale', default=bmt_loss_scale, type=float, help='loss scale in bmtrain')
self.parser.add_argument('--bmt_loss_scale_steps', default=bmt_loss_scale_steps, type=int, help='loss scale steps in bmtrain')

self.parser.add_argument('--lora', default=lora, type=bool, help='Use lora')
self.parser.add_argument('--lora', default=lora, type=str2bool, help='Use lora')
self.parser.add_argument('--lora_r', default=lora_r, typp=int, help='lora r value')
self.parser.add_argument('--lora_alpha', default=lora_alpha, type=float, help='lora alpha value')
self.parser.add_argument('--lora_dropout', default=lora_dropout, type=float, help='lora dropout value')
Expand Down

0 comments on commit 184c2d3

Please sign in to comment.