Update README.md
Browse files
README.md
CHANGED
@@ -59,12 +59,13 @@ python3 preprocess.py --corpus_path corpora/poem.txt \
|
|
59 |
python3 pretrain.py --dataset_path poem_dataset.pt \
|
60 |
--vocab_path models/google_zh_vocab.txt \
|
61 |
--output_model_path models/poem_gpt2_base_model.bin \
|
62 |
-
--config_path models/bert_base_config.json
|
63 |
-
--
|
|
|
|
|
64 |
--embedding word_pos --remove_embedding_layernorm \
|
65 |
-
--encoder transformer --mask causal --
|
66 |
-
--
|
67 |
-
--save_checkpoint_steps 50000 --total_steps 200000
|
68 |
|
69 |
```
|
70 |
|
|
|
59 |
python3 pretrain.py --dataset_path poem_dataset.pt \
|
60 |
--vocab_path models/google_zh_vocab.txt \
|
61 |
--output_model_path models/poem_gpt2_base_model.bin \
|
62 |
+
--config_path models/bert_base_config.json \
|
63 |
+
--world_size 8 --gpu_ranks 0 1 2 3 4 5 6 7 \
|
64 |
+
--report_steps 1000 --save_checkpoint_steps 50000 --total_steps 200000
|
65 |
+
--learning_rate 5e-4 --batch_size 64 \
|
66 |
--embedding word_pos --remove_embedding_layernorm \
|
67 |
+
--encoder transformer --mask causal --layernorm_positioning pre \
|
68 |
+
--target lm --tie_weight
|
|
|
69 |
|
70 |
```
|
71 |
|