Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
- Remove extraneous `echo`, since the Python command doesn't read from stdin
  • Loading branch information
daemon committed Apr 29, 2020
1 parent ea628f2 commit 34345c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ python -um pygaggle.run.evaluate_kaggle_highlighter --method t5
```bash
mv bert_config.json config.json
for filename in model.ckpt*; do
mv $filename $(echo $filename | python -c "import re; print(re.sub(r'ckpt-\\d+', 'ckpt', '$filename'))");
mv $filename $(python -c "import re; print(re.sub(r'ckpt-\\d+', 'ckpt', '$filename'))");
done
```

Expand All @@ -98,7 +98,7 @@ gsutil cp gs://neuralresearcher_data/biobert_models/biobert_v1.1_pubmed/vocab.tx

```bash
for filename in model.ckpt*; do
mv $filename $(echo $filename | python -c "import re; print(re.sub(r'ckpt-\\d+', 'ckpt', '$filename'))");
mv $filename $(python -c "import re; print(re.sub(r'ckpt-\\d+', 'ckpt', '$filename'))");
done
```

Expand Down

0 comments on commit 34345c8

Please sign in to comment.