Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
99c0e553
Unverified
Commit
99c0e553
authored
Jul 09, 2024
by
chenk
Committed by
GitHub
Jul 09, 2024
Browse files
docs: typo in tf qa example (#31864)
Signed-off-by:
chenk
<
hen.keinan@gmail.com
>
parent
4c2538b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
examples/tensorflow/question-answering/README.md
examples/tensorflow/question-answering/README.md
+8
-6
No files found.
examples/tensorflow/question-answering/README.md
View file @
99c0e553
...
@@ -21,6 +21,7 @@ For straightforward use-cases you may be able to use this script without modific
...
@@ -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
...
@@ -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
```
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment