[doc] use full path for run_qa.py (#34914)

use full path for run_qa.py
This commit is contained in:
Fanli Lin
2024-11-27 01:23:44 +08:00
committed by GitHub
parent 6bc0c219c1
commit 784d22078a
3 changed files with 5 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ To enable auto mixed precision with IPEX in Trainer, users should add `use_ipex`
Take an example of the use cases on [Transformers question-answering](https://github.com/huggingface/transformers/tree/main/examples/pytorch/question-answering)
- Training with IPEX using BF16 auto mixed precision on CPU:
<pre> python run_qa.py \
<pre> python examples/pytorch/question-answering/run_qa.py \
--model_name_or_path google-bert/bert-base-uncased \
--dataset_name squad \
--do_train \