wenyu332 / daguan_bert_ner

30 stars 13 forks source link

关于attention #21

Closed zxbnmop closed 4 years ago

zxbnmop commented 5 years ago

您好,我想试着在lstm_out那里加一层attention,attention层该怎么接入呢?试着写了一个attention层,代码能跑通,loss正常下降,但是f1值都是0。

1
wenyu332 commented 4 years ago

我想你大概忘记写mask了。。