From d762d4289cc0c60e484d6c4976cfe17da0c24870 Mon Sep 17 00:00:00 2001 From: Martin Malmsten Date: Wed, 26 Feb 2020 23:50:40 +0100 Subject: [PATCH] Code now passes style enforcement --- examples/ner/run_ner.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/ner/run_ner.py b/examples/ner/run_ner.py index 442fa97109..73b43aee97 100644 --- a/examples/ner/run_ner.py +++ b/examples/ner/run_ner.py @@ -474,9 +474,7 @@ def main(): parser.add_argument( "--strip_accents", action="store_const", const=True, help="Set this flag if model is trained without accents." ) - parser.add_argument( - "--use_fast", action="store_const", const=True, help="Set this flag to use fast tokenization." - ) + parser.add_argument("--use_fast", action="store_const", const=True, help="Set this flag to use fast tokenization.") parser.add_argument("--per_gpu_train_batch_size", default=8, type=int, help="Batch size per GPU/CPU for training.") parser.add_argument( "--per_gpu_eval_batch_size", default=8, type=int, help="Batch size per GPU/CPU for evaluation."