rguthrie3/BiLSTM-CRF

transition matrix

kaya27 opened this issue · 0 comments

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))