mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-16 19:18:24 +06:00
docs: typo in tf qa example (#31864)
Signed-off-by: chenk <hen.keinan@gmail.com>
This commit is contained in:
parent
4c2538b863
commit
99c0e55335
@ -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
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user