Kashgari
Kashgari copied to clipboard
[Question] 请教BiLSTM_CRF_Model的结构设计
- [Yes] I have searched in existing issues but did not find the same one.
- [Yes] I have read the documents
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
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.