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
b6f365a8
Unverified
Commit
b6f365a8
authored
Jun 08, 2020
by
daniel-shan
Committed by
GitHub
Jun 08, 2020
Browse files
Updates args in tf squad example. (#4820)
Co-authored-by:
Daniel Shan
<
daniel.shan@workday.com
>
parent
e33fdc93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
examples/question-answering/README.md
examples/question-answering/README.md
+4
-6
No files found.
examples/question-answering/README.md
View file @
b6f365a8
...
...
@@ -165,17 +165,15 @@ Larger batch size may improve the performance while costing more memory.
python run_tf_squad.py
\
--model_name_or_path
bert-base-uncased
\
--output_dir
model
\
--max
-
seq
-
length
384
\
--max
_
seq
_
length
384
\
--num_train_epochs
2
\
--per_gpu_train_batch_size
8
\
--per_gpu_eval_batch_size
16
\
--do_train
\
--logging_dir
logs
\
--mode
question-answering
\
--logging_dir
logs
\
--logging_steps
10
\
--learning_rate
3e-5
\
--doc_stride
128
\
--optimizer_name
adamw
--doc_stride
128
```
For the moment the evaluation is not available in the Tensorflow Trainer only the training.
\ No newline at end of file
For the moment the evaluation is not available in the Tensorflow Trainer only the training.
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