stardut

Results 10 comments of stardut

邮箱,晚些时候发给你

不好意思,最近很忙,现在才回。你将sample.py和train.py的`num_units `数量调到一致,应该就ok了,如果你已经训练了模型,那就将sample.py的`num_units `调到和train.py一样。

@nsiakjdw 模型会自动保存,你可以主动停下来的,我之前训练的模型现在找不到了,那还是我在学校的时候训练的,过去太久没找到(-_-||

This model forms a sentence by predicting the next word in the previous article. In other words, the input word will be the first word of the sentence, not in...

The `vocab.pkl` was created by the training data file tang in `/data/tang` while running `train.py`. You need to modify the training data file to your train data in `train.py` and...

Yes, you are right.

Happy new year. The model net will be run forever and the model will be saved every 1000 step. So you can use it do something you want.

1. 关于特殊符号的问题,目前来看和模型效果有关,可能训练的程度不够,我这几天排查一下这个问题。 2. ` net.py ` 是用来构建网络结构的。你可以参考`train.py`中的流程,先建立网络结构,并初始化模型参数,然后feed数据进行训练,优化参数。 3. 关于优化,可以尝试做embedding

lr 从 0.009 -- 0.007 -- 0.004 -- 0.001 ... 这样依次递减,其他的参数并没有太大的变化,如果发现什么有问题的地方,欢迎指正。