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
6a72d9aa
Commit
6a72d9aa
authored
Jul 16, 2019
by
thomwolf
Browse files
updated examples in readme
parent
b59043bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
6a72d9aa
...
...
@@ -239,7 +239,7 @@ python -m torch.distributed.launch --nproc_per_node=8 ./examples/run_squad.py \
--model_type
bert
\
--model_name_or_path
bert-large-uncased-whole-word-masking
\
--do_train
\
--do_
predict
\
--do_
eval
\
--do_lower_case
\
--train_file
$SQUAD_DIR
/train-v1.1.json
\
--predict_file
$SQUAD_DIR
/dev-v1.1.json
\
...
...
@@ -269,7 +269,7 @@ The generation script include the [tricks](https://github.com/rusiaaman/XLNet-ge
Here is how to run the script with the small version of OpenAI GPT-2 model:
```
shell
python ./examples/run_g
lue
.py
\
python ./examples/run_g
eneration
.py
\
--model_type
=
gpt2
\
--length
=
20
\
--model_name_or_path
=
gpt2
\
...
...
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