提交 45a54807 编写于 作者: W wangmeng28

Update layer name

上级 6ad2e797
...@@ -5,7 +5,7 @@ __all__ = ["ModelConfig", "TrainerConfig"] ...@@ -5,7 +5,7 @@ __all__ = ["ModelConfig", "TrainerConfig"]
class ModelConfig(object): class ModelConfig(object):
vocab_size = 104808 vocab_size = 104810
embedding_dim = 300 embedding_dim = 300
embedding_droprate = 0.3 embedding_droprate = 0.3
......
...@@ -195,7 +195,7 @@ def search_answer(doc_lstm_outs, sentence_idx, start_idx, end_idx, config, ...@@ -195,7 +195,7 @@ def search_answer(doc_lstm_outs, sentence_idx, start_idx, end_idx, config,
"""Search the answer from the document. """Search the answer from the document.
The search process for this layer begins with searching a target sequence The search process for this layer begins with searching a target sequence
from a nested sequence by using paddle.lauer.kmax_seq_score and from a nested sequence by using paddle.layer.kmax_seq_score and
paddle.layer.sub_nested_seq_layer. In the first search step, top beam size paddle.layer.sub_nested_seq_layer. In the first search step, top beam size
sequences with highest scores, indices of these top k sequences in the sequences with highest scores, indices of these top k sequences in the
original nested sequence, and the ground truth (also called gold) original nested sequence, and the ground truth (also called gold)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册