docs: typo in tf qa example (#31864)

Signed-off-by: chenk <hen.keinan@gmail.com>
This commit is contained in:
chenk 2024-07-09 18:30:06 +03:00 committed by GitHub
parent 4c2538b863
commit 99c0e55335
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@ For straightforward use-cases you may be able to use this script without modific
included comments in the code to indicate areas that you may need to adapt to your own projects. included comments in the code to indicate areas that you may need to adapt to your own projects.
### Usage notes ### Usage notes
Note that when contexts are long they may be split into multiple training cases, not all of which may contain Note that when contexts are long they may be split into multiple training cases, not all of which may contain
the answer span. the answer span.
@ -45,11 +46,12 @@ README, but for more information you can see the 'Input Datasets' section of
[this document](https://www.tensorflow.org/guide/tpu). [this document](https://www.tensorflow.org/guide/tpu).
### Example command ### Example command
```bash ```bash
python run_qa.py \ python run_qa.py \
--model_name_or_path distilbert/distilbert-base-cased \ --model_name_or_path distilbert/distilbert-base-cased \
--output_dir output \ --output_dir output \
--dataset_name squad \ --dataset_name squad \
--do_train \ --do_train \
--do_eval \ --do_eval
``` ```