dagli icon indicating copy to clipboard operation
dagli copied to clipboard

Add CRF (Conditional Random Fields) Layer

Open cyberbeat opened this issue 4 years ago • 1 comments

They are quite popular for POS/NER tagging

cyberbeat avatar Jan 26 '21 20:01 cyberbeat

To clarify, you mean a CRF model regularizing the output of a neural network? Unfortunately, I don't think DeepLearning4J supports this. It may be possible to implement using DL4J's SameDiff mechanism, or by directly adjusting the backpropagated error on every iteration, but you'd (of course) also need an MRF implementation, so this quickly becomes a rather tall order :) If you're able to build this we can help you integrate it with Dagli's NN abstraction, but we don't presently plan to add this ourselves.

jeffpasternack avatar Jan 27 '21 03:01 jeffpasternack