Commit 029bdc0d authored by thomwolf's avatar thomwolf
Browse files

fixing readme examples

parent ebaacba3
...@@ -421,10 +421,7 @@ To get these results we used a combination of: ...@@ -421,10 +421,7 @@ To get these results we used a combination of:
Here is the full list of hyper-parameters for this run: Here is the full list of hyper-parameters for this run:
```bash ```bash
python ./run_squad.py \ python ./run_squad.py \
--vocab_file $BERT_LARGE_DIR/vocab.txt \ --bert_model bert-large-uncased \
--bert_config_file $BERT_LARGE_DIR/bert_config.json \
--init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \
--do_lower_case \
--do_train \ --do_train \
--do_predict \ --do_predict \
--train_file $SQUAD_TRAIN \ --train_file $SQUAD_TRAIN \
...@@ -444,10 +441,7 @@ If you have a recent GPU (starting from NVIDIA Volta series), you should try **1 ...@@ -444,10 +441,7 @@ If you have a recent GPU (starting from NVIDIA Volta series), you should try **1
Here is an example of hyper-parameters for a FP16 run we tried: Here is an example of hyper-parameters for a FP16 run we tried:
```bash ```bash
python ./run_squad.py \ python ./run_squad.py \
--vocab_file $BERT_LARGE_DIR/vocab.txt \ --bert_model bert-large-uncased \
--bert_config_file $BERT_LARGE_DIR/bert_config.json \
--init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \
--do_lower_case \
--do_train \ --do_train \
--do_predict \ --do_predict \
--train_file $SQUAD_TRAIN \ --train_file $SQUAD_TRAIN \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment