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
cafc4dfc
Commit
cafc4dfc
authored
Feb 22, 2020
by
saippuakauppias
Committed by
Julien Chaumond
Feb 22, 2020
Browse files
fix hardcoded path in examples readme
parent
34b4b5a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/README.md
examples/README.md
+3
-3
No files found.
examples/README.md
View file @
cafc4dfc
...
...
@@ -442,14 +442,14 @@ This example code fine-tunes XLNet on both SQuAD1.0 and SQuAD2.0 dataset. See ab
```
bash
export
SQUAD_DIR
=
/path/to/SQUAD
python
/data/home/hlu/transformers/examples/
run_squad.py
\
python run_squad.py
\
--model_type
xlnet
\
--model_name_or_path
xlnet-large-cased
\
--do_train
\
--do_eval
\
--do_lower_case
\
--train_file
/data/home/hlu/notebooks/NLP/examples/question_answering
/train-v1.1.json
\
--predict_file
/data/home/hlu/notebooks/NLP/examples/question_answering
/dev-v1.1.json
\
--train_file
$SQUAD_DIR
/train-v1.1.json
\
--predict_file
$SQUAD_DIR
/dev-v1.1.json
\
--learning_rate
3e-5
\
--num_train_epochs
2
\
--max_seq_length
384
\
...
...
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