BILSTM and attention for name entitity recognition

I want to conbine BiLSTM and attention for NER TASK,how to implement?

There are several ways of implementing it. One is described in this paper.

image