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
c9445565
Unverified
Commit
c9445565
authored
Jan 14, 2019
by
Thomas Wolf
Committed by
GitHub
Jan 14, 2019
Browse files
Merge pull request #190 from nhatchan/20190113_finetune_doc
Fix documentation (missing backslashes)
parents
25eae7b0
8edc898f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
README.md
README.md
+7
-7
No files found.
README.md
View file @
c9445565
...
@@ -506,13 +506,13 @@ Training one epoch on this corpus takes about 1:20h on 4 x NVIDIA Tesla P100 wit
...
@@ -506,13 +506,13 @@ Training one epoch on this corpus takes about 1:20h on 4 x NVIDIA Tesla P100 wit
```
shell
```
shell
python run_lm_finetuning.py
\
python run_lm_finetuning.py
\
--bert_model bert-base-cased
--bert_model bert-base-cased
\
--do_train
--do_train
\
--train_file samples/sample_text.txt
--train_file samples/sample_text.txt
\
--output_dir models
--output_dir models
\
--num_train_epochs 5.0
--num_train_epochs 5.0
\
--learning_rate 3e-5
--learning_rate 3e-5
\
--train_batch_size 32
--train_batch_size 32
\
--max_seq_length 128
--max_seq_length 128
```
```
...
...
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