Kashgari icon indicating copy to clipboard operation
Kashgari copied to clipboard

[Question] 请教BiLSTM_CRF_Model的结构设计

Open xmy7216 opened this issue 4 years ago • 1 comments

Environment

  • OS [e.g. Mac OS, Linux]: Linux
  • Python Version: python3.6
  • requirements.txt:
[Paste requirements.txt file here]

Question

我想请教一下关于BiLSTM_CRF_Model的结构设计,为什么要在BiLSTM后接一个激活函数为tanh的Dense层,然后再接一个线性Dense层,然后再输入到CRF中呢? 另外还有一个问题,做labeling任务的时候有dropout吗?我在代码中没有找到相关设置。

代码位置: https://github.com/BrikerMan/Kashgari/blob/e1af43d0918b57541ff672fd0b5a33becf2e7504/kashgari/tasks/labeling/models.py#L96

xmy7216 avatar Apr 29 '20 03:04 xmy7216

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 08 '20 03:06 stale[bot]