Update README.md
#2
by astachowicz - opened
24 unmodified lines252627282930316 unmodified lines3839404142434424 unmodified lines[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 with the following command:```bashpython run_qa.py \--model_name_or_path bert-base-uncased \--gaudi_config_name Habana/bert-base-uncased \--dataset_name squad \6 unmodified lines--max_seq_length 384 \--output_dir /tmp/squad/ \--use_habana \--use_lazy_mode \--throughput_warmup_steps 3 \--bf16```24 unmodified lines252627282930316 unmodified lines38394041424344454624 unmodified lines[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 with the following command:```bashPT_HPU_LAZY_MODE=0 python run_qa.py \--model_name_or_path bert-base-uncased \--gaudi_config_name Habana/bert-base-uncased \--dataset_name squad \6 unmodified lines--max_seq_length 384 \--output_dir /tmp/squad/ \--use_habana \--torch_compile_backend hpu_backend \--torch_compile \--use_lazy_mode false \--throughput_warmup_steps 3 \--bf16```
README.md+4-2