Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
7c6a085e
Unverified
Commit
7c6a085e
authored
Aug 11, 2020
by
Stas Bekman
Committed by
GitHub
Aug 11, 2020
Browse files
pl version: examples/requirements.txt is single source of truth (#6309)
parent
1d1d5bec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
examples/text-classification/run_pl.sh
examples/text-classification/run_pl.sh
+0
-2
examples/token-classification/run_pl.sh
examples/token-classification/run_pl.sh
+1
-3
No files found.
examples/text-classification/run_pl.sh
View file @
7c6a085e
# Install newest ptl.
pip
install
-U
git+http://github.com/PyTorchLightning/pytorch-lightning/
# Install example requirements
pip
install
-r
../requirements.txt
...
...
examples/token-classification/run_pl.sh
View file @
7c6a085e
#!/usr/bin/env bash
# Install newest ptl.
pip
install
-U
git+http://github.com/PyTorchLightning/pytorch-lightning/
# for seqeval metrics import
pip
install
-r
../requirements.txt
...
...
@@ -40,4 +38,4 @@ python3 run_pl_ner.py --data_dir ./ \
--train_batch_size
$BATCH_SIZE
\
--seed
$SEED
\
--do_train
\
--do_predict
\ No newline at end of file
--do_predict
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment