Skip to content

Commit

Permalink
update clue dataset, and remove useless argment for run_clue (PaddleP…
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuChiachi committed Sep 6, 2021
1 parent 98e3564 commit 6e39f20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 0 additions & 7 deletions examples/model_compression/minilmv2/run_clue.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ def parse_args():
list(classes[-1].pretrained_init_configuration.keys())
for classes in MODEL_CLASSES.values()
], [])), )
parser.add_argument(
"--output_dir",
default=None,
type=str,
required=True,
help="The output directory where the model predictions and checkpoints will be written.",
)
parser.add_argument(
"--max_seq_length",
default=128,
Expand Down
6 changes: 5 additions & 1 deletion paddlenlp/datasets/clue.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class Clue(DatasetBuilder):
'cluewsc2020': {
'url':
'https://storage.googleapis.com/cluebenchmark/tasks/cluewsc2020_public.zip',
'md5': '17abe1be3f7dd3bad5f114ba4c40ee9b',
'md5': '2e387e20e93eeab0ffaded5b0d2dfd3d',
'splits': {
'train': [
os.path.join('cluewsc2020_public', 'train.json'),
Expand All @@ -204,6 +204,10 @@ class Clue(DatasetBuilder):
'bad8cd6fa0916fc37ac96b8ce316714a',
],
'test': [
os.path.join('cluewsc2020_public', 'test.json'),
'27614454cc26be6fcab5bbd9a45967ff',
],
'test1.0': [
os.path.join('cluewsc2020_public', 'test.json'),
'0e9e8ffd8ee90ddf1f58d6dc2e02de7b',
]
Expand Down

0 comments on commit 6e39f20

Please sign in to comment.