From 5da6afdd8da0a981452fd5c49d8a42908029abdd Mon Sep 17 00:00:00 2001 From: Enze Date: Sat, 24 Sep 2022 02:48:41 +0800 Subject: [PATCH] Update run_clip.py (#19130) The overwrite_cache parameter is declared twice. --- examples/pytorch/contrastive-image-text/run_clip.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/pytorch/contrastive-image-text/run_clip.py b/examples/pytorch/contrastive-image-text/run_clip.py index 797c1c1fb9..1296d0675f 100644 --- a/examples/pytorch/contrastive-image-text/run_clip.py +++ b/examples/pytorch/contrastive-image-text/run_clip.py @@ -161,9 +161,6 @@ class DataTrainingArguments: overwrite_cache: bool = field( default=False, metadata={"help": "Overwrite the cached training and evaluation sets"} ) - overwrite_cache: bool = field( - default=False, metadata={"help": "Overwrite the cached training and evaluation sets"} - ) preprocessing_num_workers: Optional[int] = field( default=None, metadata={"help": "The number of processes to use for the preprocessing."},