提交 fcc40964 编写于 作者: L liaogang

rename paraphase_model to paraphrase_model

ISSUE=4604681

git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1452 1ad973e4-5ce8-4261-8a94-b56d1f490c56
上级 9e83dac0
...@@ -54,11 +54,11 @@ The general command of extracting desired parameters from the pretrained embeddi ...@@ -54,11 +54,11 @@ The general command of extracting desired parameters from the pretrained embeddi
Here, you can simply run the command: Here, you can simply run the command:
cd $PADDLE_ROOT/demo/seqToseq/data/ cd $PADDLE_ROOT/demo/seqToseq/data/
./paraphase_model.sh ./paraphrase_model.sh
And you will see following embedding model structure: And you will see following embedding model structure:
paraphase_model paraphrase_model
|--- _source_language_embedding |--- _source_language_embedding
|--- _target_language_embedding |--- _target_language_embedding
...@@ -90,7 +90,7 @@ Then, train the model by running the command: ...@@ -90,7 +90,7 @@ Then, train the model by running the command:
where `train.sh` is almost the same as `demo/seqToseq/translation/train.sh`, the only difference is following two command arguments: where `train.sh` is almost the same as `demo/seqToseq/translation/train.sh`, the only difference is following two command arguments:
- `--init_model_path`: path of the initialization model, here is `data/paraphase_model` - `--init_model_path`: path of the initialization model, here is `data/paraphrase_model`
- `--load_missing_parameter_strategy`: operations when model file is missing, here use a normal distibution to initialize the other parameters except for the embedding layer - `--load_missing_parameter_strategy`: operations when model file is missing, here use a normal distibution to initialize the other parameters except for the embedding layer
For users who want to understand the dataset format, model architecture and training procedure in detail, please refer to [Text generation Tutorial](text_generation.md). For users who want to understand the dataset format, model architecture and training procedure in detail, please refer to [Text generation Tutorial](text_generation.md).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册