You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: model_zoo/uie/finetune.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -165,7 +165,7 @@ def do_train():
165
165
parser.add_argument("--logging_steps", default=10, type=int, help="The interval steps to logging.")
166
166
parser.add_argument("--valid_steps", default=100, type=int, help="The interval steps to evaluate model performance.")
167
167
parser.add_argument('--device', choices=['cpu', 'gpu'], default="gpu", help="Select which device to train model, defaults to gpu.")
168
-
parser.add_argument("--model", choices=["uie-base", "uie-tiny"], default="uie-base", type=str, help="Select the pretrained model for few-shot learning.")
168
+
parser.add_argument("--model", choices=["uie-base", "uie-tiny", "uie-medium", "uie-mini", "uie-micro", "uie-nano"], default="uie-base", type=str, help="Select the pretrained model for few-shot learning.")
169
169
parser.add_argument("--init_from_ckpt", default=None, type=str, help="The path of model parameters for initialization.")
0 commit comments