astachowicz
commited on
Commit
•
6a8bc56
1
Parent(s):
177d8fd
Update README.md
Browse files
README.md
CHANGED
@@ -25,9 +25,9 @@ It is strongly recommended to train this model doing bf16 mixed-precision traini
|
|
25 |
|
26 |
[Here](https://github.com/huggingface/optimum-habana/blob/main/examples/question-answering/run_qa.py) is a question-answering example script to fine-tune a model on SQuAD. You can run it with BERT Large with the following command:
|
27 |
```bash
|
28 |
-
python run_qa.py \
|
29 |
--model_name_or_path bert-large-uncased-whole-word-masking \
|
30 |
-
--gaudi_config_name
|
31 |
--dataset_name squad \
|
32 |
--do_train \
|
33 |
--do_eval \
|
|
|
25 |
|
26 |
[Here](https://github.com/huggingface/optimum-habana/blob/main/examples/question-answering/run_qa.py) is a question-answering example script to fine-tune a model on SQuAD. You can run it with BERT Large with the following command:
|
27 |
```bash
|
28 |
+
PT_HPU_LAZY_MODE=0 python run_qa.py \
|
29 |
--model_name_or_path bert-large-uncased-whole-word-masking \
|
30 |
+
--gaudi_config_name Habana/bert-large-uncased-whole-word-masking \
|
31 |
--dataset_name squad \
|
32 |
--do_train \
|
33 |
--do_eval \
|