Skip to content
New issue

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

transition matrix #1

Open
kaya27 opened this issue Nov 22, 2016 · 0 comments
Open

transition matrix #1

kaya27 opened this issue Nov 22, 2016 · 0 comments

Comments

@kaya27
Copy link

kaya27 commented Nov 22, 2016

Hello!
thank you for sharing the code

can you please give me more explanation how to get Matrix that maps from Bi-LSTM output to num tags and Transition matrix for tagging layer

self.lstm_to_tags_params = self.model.add_parameters((tagset_size, hidden_dim))
self.transitions = self.model.add_lookup_parameters((tagset_size, tagset_size))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant