From fd5320bb574ac86745d3aeb60ba2372abc4204ba Mon Sep 17 00:00:00 2001 From: Warren Green Date: Mon, 13 Feb 2023 09:27:23 -0600 Subject: [PATCH] Add missing arguemtn to run_clip.py (#21588) --- examples/pytorch/contrastive-image-text/run_clip.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/pytorch/contrastive-image-text/run_clip.py b/examples/pytorch/contrastive-image-text/run_clip.py index c70f1f7713..4669a9b93d 100644 --- a/examples/pytorch/contrastive-image-text/run_clip.py +++ b/examples/pytorch/contrastive-image-text/run_clip.py @@ -131,6 +131,10 @@ class DataTrainingArguments: default=None, metadata={"help": "An optional input evaluation data file (a jsonlines file)."}, ) + test_file: Optional[str] = field( + default=None, + metadata={"help": "An optional input testing data file (a jsonlines file)."}, + ) max_seq_length: Optional[int] = field( default=128, metadata={