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
eed255a5
Commit
eed255a5
authored
Nov 20, 2018
by
thomwolf
Browse files
fixing CLI typo in readme
parent
2f21497d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
eed255a5
...
@@ -497,9 +497,9 @@ Here is an example of the conversion process for a pre-trained `BERT-Base Uncase
...
@@ -497,9 +497,9 @@ Here is an example of the conversion process for a pre-trained `BERT-Base Uncase
export
BERT_BASE_DIR
=
/path/to/bert/uncased_L-12_H-768_A-12
export
BERT_BASE_DIR
=
/path/to/bert/uncased_L-12_H-768_A-12
pytorch_pretrained_bert convert_tf_checkpoint_to_pytorch
\
pytorch_pretrained_bert convert_tf_checkpoint_to_pytorch
\
--tf_checkpoint_path
$BERT_BASE_DIR
/bert_model.ckpt
\
$BERT_BASE_DIR
/bert_model.ckpt
\
--bert_config_file
$BERT_BASE_DIR
/bert_config.json
\
$BERT_BASE_DIR
/bert_config.json
\
--pytorch_dump_path
$BERT_BASE_DIR
/pytorch_model.bin
$BERT_BASE_DIR
/pytorch_model.bin
```
```
You can download Google's pre-trained models for the conversion
[
here
](
https://github.com/google-research/bert#pre-trained-models
)
.
You can download Google's pre-trained models for the conversion
[
here
](
https://github.com/google-research/bert#pre-trained-models
)
.
...
...
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