jiesutd / LatticeLSTM

Chinese NER using Lattice LSTM. Code for ACL 2018 paper.
1.79k stars 457 forks source link

请教为什么输出的预测文件中数字全变成0啦? #137

Closed 2018211801 closed 1 year ago

2018211801 commented 1 year ago

0 O 0 O 0 O 0 O 年 O 0 O 0 O 月 O 0 O 日 O ( O 新 B-ORG 华 M-ORG 社 E-ORG 北 B-LOC 京 E-LOC 0 O 0 O 月 O 0 O 日 O 电 O ) O 江 S-PER 主 O 席 O 离 O 开 O

疑惑住了

jiesutd commented 1 year ago

数字被默认normalized 了, 参见 https://github.com/jiesutd/LatticeLSTM/blob/24d17f4270f11d2f75046789d8b67eaa2b907dce/utils/data.py#L23 可以仔细看看设置和代码。

2018211801 commented 1 year ago

好滴好滴 太谢谢你啦~ 对小白太友好了呜呜 希望这篇论文能被更多的人star嘻嘻

------------------ 原始邮件 ------------------ 发件人: @.***>; 发送时间: 2022年10月22日(星期六) 凌晨0:14 收件人: "jiesutd/LatticeLSTM"; 抄送: "Author"; 主题: Re: [jiesutd/LatticeLSTM] 请教为什么输出的预测文件中数字全变成0啦? (Issue #137)

数字被默认normalized 了, 参见 https://github.com/jiesutd/LatticeLSTM/blob/24d17f4270f11d2f75046789d8b67eaa2b907dce/utils/data.py#L23 可以仔细看看设置和代码。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>