Dawn
Dawn
hello,i have a question about predict_terms and terms.Could you please tell me what these mean?
File "seq2seq_model.py", line 181, in compound_tokens=compound_tokens, File "/root/.virtualenvs/torch36/lib/python3.6/site-packages/bert4keras/models.py", line 2297, in build_transformer_model transformer.load_weights_from_checkpoint(checkpoint_path) File "/root/.virtualenvs/torch36/lib/python3.6/site-packages/bert4keras/models.py", line 255, in load_weights_from_checkpoint values = [self.load_variable(checkpoint, v) for v in variables] File "/root/.virtualenvs/torch36/lib/python3.6/site-packages/bert4keras/models.py", line...
您好,作者。我在研读代码的过程中,发现generate_sentic_dependency_graph.py中的生成情感增强邻接矩阵算法与论文中的算法1并不相同。因此我在代码中改正成论文中的算法,但似乎造成了梯度爆炸。以下是我改正后的代码和train图,不知是否是我的理解有偏差,希望得到您的回答!   