Skip to content

Commit aeaffa2

Browse files
authored
fix file name issue for windows (#1315)
1 parent 7370283 commit aeaffa2

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

examples/pytorch/nlp/huggingface_models/question-answering/pruning/pytorch_pruner/eager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ We can train a sparse model with NxM (2:4) pattern:
8787
```
8888
python3 ./run_qa_no_trainer.py \
8989
--model_name_or_path "/path/to/dense_finetuned_model/" \
90-
--pruning_config "./bert_mini_2:4.yaml" \
90+
--pruning_config "./bert_mini_2in4.yaml" \
9191
--dataset_name "squad" \
9292
--max_seq_length "384" \
9393
--doc_stride "128" \

examples/pytorch/nlp/huggingface_models/text-classification/pruning/pytorch_pruner/eager/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ We can train a sparse model with NxM (2:4) pattern on mrpc and sst2:
8585
```
8686
python3 ./run_glue_no_trainer.py \
8787
--model_name_or_path "/baseline_mrpc/" \
88-
--pruning_config "./bert_mini_mrpc_2:4.yaml" \
88+
--pruning_config "./bert_mini_mrpc_2in4.yaml" \
8989
--task_name "mrpc" \
9090
--max_length "128" \
9191
--per_device_train_batch_size "16" \
@@ -101,7 +101,7 @@ python3 ./run_glue_no_trainer.py \
101101
```
102102
python3 ./run_glue_no_trainer.py \
103103
--model_name_or_path "/baseline_sst2/" \
104-
--pruning_config "./bert_mini_sst2_2:4.yaml" \
104+
--pruning_config "./bert_mini_sst2_2in4.yaml" \
105105
--task_name "sst2" \
106106
--max_length "128" \
107107
--per_device_train_batch_size "16" \

0 commit comments

Comments
 (0)