We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should I do if I follow the attention layer behind the CRF layer?
The text was updated successfully, but these errors were encountered:
What do you specifically mean?
Sorry, something went wrong.
I want to connect CRF behind LSTM+Attention and do NER. I tried but failed. I added CRF when calculating loss.
you can do it like this,
output = Bidirectional(LSTM()) output = AttentionDecoder()(output) output = TimeDistributed(Dense(num_class))(output) output = crf(output)
No branches or pull requests
What should I do if I follow the attention layer behind the CRF layer?
The text was updated successfully, but these errors were encountered: