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
0c24db9d
Unverified
Commit
0c24db9d
authored
Nov 09, 2018
by
Thomas Wolf
Committed by
GitHub
Nov 09, 2018
Browse files
update results for SQuAD
parent
2c5d993b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
README.md
README.md
+5
-4
No files found.
README.md
View file @
0c24db9d
...
@@ -184,18 +184,19 @@ python run_squad.py \
...
@@ -184,18 +184,19 @@ python run_squad.py \
--bert_config_file
$BERT_BASE_DIR
/bert_config.json
\
--bert_config_file
$BERT_BASE_DIR
/bert_config.json
\
--init_checkpoint
$BERT_PYTORCH_DIR
/pytorch_model.bin
\
--init_checkpoint
$BERT_PYTORCH_DIR
/pytorch_model.bin
\
--do_train
\
--do_train
\
--train_file
$SQUAD_DIR
/train-v1.1.json
\
--do_predict
\
--do_predict
\
--do_lower_case
--train_file
$SQUAD_DIR
/train-v1.1.json
\
--predict_file
$SQUAD_DIR
/dev-v1.1.json
\
--predict_file
$SQUAD_DIR
/dev-v1.1.json
\
--train_batch_size
12
\
--train_batch_size
12
\
--learning_rate
5
e-5
\
--learning_rate
3
e-5
\
--num_train_epochs
2.0
\
--num_train_epochs
2.0
\
--max_seq_length
384
\
--max_seq_length
384
\
--doc_stride
128
\
--doc_stride
128
\
--output_dir
../debug_squad/
--output_dir
../debug_squad/
```
```
Training with the previous hyper-parameters
and a batch size 32 (on 4 GPUs) for 2 epochs
gave us the following results:
Training with the previous hyper-parameters gave us the following results:
```
bash
```
bash
{
"f1"
: 88.
19829549714827
,
"exact_match"
: 8
0.75685903500474
}
{
"f1"
: 88.
52381567990474
,
"exact_match"
: 8
1.22043519394512
}
```
```
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