-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.py
25 lines (19 loc) · 810 Bytes
/
parser.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import argparse
def args_parser():
parser = argparse.ArgumentParser(description="Extract test-data from televic dump")
parser.add_argument("--subject",
dest="subject",
type=str,
default="./test-data/biology.json",
help="path to the subject")
parser.add_argument("--output_path",
dest="output_path",
type=str,
default="predictions-few-shot/",
help="Where to save your outputs")
parser.add_argument("--lang",
dest="lang",
type=str,
default="nl",
help="Choose language as nl, en, fr")
return parser