提交 a07e5b4e 编写于 作者: P Peng Li

fix typos

上级 ffa2568a
......@@ -45,7 +45,7 @@ PYTHONPATH=data/evaluation:$PYTHONPATH python train.py 2>&1 | tee train.log
```
# Validation and Test
WebQA provoides two versions of validation and test sets. Automatic valiation and test can be lauched by
WebQA provides two versions of validation and test sets. Automatic validation and test can be lauched by
```bash
PYTHONPATH=data/evaluation:$PYTHONPATH python val_and_test.py models [ann|ir]
......
......@@ -87,7 +87,7 @@ PYTHONPATH=data/evaluation:$PYTHONPATH python train.py 2>&1 | tee train.log
```
# Validation and Test
WebQA provoides two versions of validation and test sets. Automatic valiation and test can be lauched by
WebQA provides two versions of validation and test sets. Automatic validation and test can be lauched by
```bash
PYTHONPATH=data/evaluation:$PYTHONPATH python val_and_test.py models [ann|ir]
......
......@@ -16,7 +16,7 @@ feeding = {
def get_embedding(input, word_vec_dim, wordvecs):
"""
Defined word embedding
Define word embedding
:param input: layer input
:type input: LayerOutput
......@@ -51,7 +51,7 @@ def encoding_question(question, q_lstm_dim, latent_chain_dim, word_vec_dim,
:type drop_rate: float
:param wordvecs: word embedding matrix
:type wordvecs: numpy array
:param default_init_std: default initial std
:param default_init_std: default initial standard deviation
:type default_init_std: float
:param default_l2_rate: default l2 rate
:type default_l2_rate: float
......@@ -131,7 +131,7 @@ def encoding_evidence(evidence, qe_comm, ee_comm, q_encoding, e_lstm_dim,
:type drop_rate: float
:param wordvecs: word embedding matrix
:type wordvecs: numpy array
:param default_init_std: default initial std
:param default_init_std: default initial standard deviation
:type default_init_std: float
:param default_l2_rate: default l2 rate
:type default_l2_rate: float
......
......@@ -21,7 +21,7 @@ def save_model(trainer, model_save_dir, parameters, pass_id):
def show_parameter_init_info(parameters):
"""
Print the information of initialization mean and std of parameters
Print the information of initialization mean and standard deviation of parameters
:param parameters: the parameters created in a model
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册