original_docstring: Add task-specific arguments to the parser.
docstring: Add task-specific arguments to the parser.
docstring_tokens: Add task - specific arguments to the parser .
code: def add_args(parser):
          """Add task-specific arguments to the parser."""
          parser.add_argument('data', help='path to data directory')
          parser.add_argument('--raw-text', default=False, action='store_true',
                              help='load raw text dataset')
          parser.add_argument('--num-labels', type=int, default=3,
                              help='number of labels')
          parser.add_argument('--concat-sentences-mode', default='none',
                              help='concat sentences in the dataset. none = dont concat, eos = eos concat, unk = unk concat')
          parser.add_argument('--use-bos', default=False, action='store_true',
                              help='if true, uses a separate bos tokens to indicate beginning of string')
code_tokens: def add_args ( parser ) : parser . add_argument ( 'data' , help = 'path to data directory' ) parser . add_argument ( '--raw-text' , default = False , action = 'store_true' , help = 'load raw text dataset' ) parser . add_argument ( '--num-labels' , type = int , default = 3 , help = 'number of labels' ) parser . add_argument ( '--concat-sentences-mode' , default = 'none' , help = 'concat sentences in the dataset. none = dont concat, eos = eos concat, unk = unk concat' ) parser . add_argument ( '--use-bos' , default = False , action = 'store_true' , help = 'if true, uses a separate bos tokens to indicate beginning of string' )
short_docstring: Add task-specific arguments to the parser.
short_docstring_tokens: Add task - specific arguments to the parser .
comment: """Add task-specific arguments to the parser."""