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
parser.add_argument("--doccano_file", default="doccano.jsonl", type=str, help="The doccano file exported from doccano platform.")
31
+
parser.add_argument("--save_dir", default="./data", type=str, help="The path of data that you wanna save.")
32
+
parser.add_argument("--splits", default=[0.8, 0.2], type=float, nargs="*", help="The ratio of samples in datasets. [0.8, 0.2] means 80% samples used for training, 20% for evaluation.")
33
+
parser.add_argument("--task_type", choices=['multi_class', 'multi_label', 'hierarchical'], default="multi_label", type=str, help="Select task type, multi_class for multi classification task, multi_label for multi label classification task and hierarchical for hierarchical classification, defaults to multi_label.")
34
+
parser.add_argument("--is_shuffle", default=True, type=bool, help="Whether to shuffle the labeled dataset, defaults to True.")
35
+
parser.add_argument("--seed", type=int, default=3, help="Random seed for initialization")
36
+
parser.add_argument("--separator", type=str, default="##", help="Separator for hierarchical classification")
37
+
parser.add_argument("--valid", action='store_true', help="Whether annotate valid data(extracted from sparse strategy)")
38
+
parser.add_argument("--dirty", action='store_true', help="Whether annotate dirty data(extracted from dirty data cleaning strategy)")
0 commit comments