Conditional Random Field (CRF) Sequence Decoder
See original GitHub issueThe current example for Name Entity Extraction is given as the following model definition:
input_features:
-
name: utterance
type: text
level: word
encoder: rnn
cell_type: lstm
reduce_output: null
preprocessing:
word_format: space
output_features:
-
name: tag
type: sequence
decoder: tagger
This works ok, but if Ludwig had a CRF-Decoding layer, one could build state-of-the-art Bi-LSTM+CRF models (like https://arxiv.org/pdf/1508.01991.pdf) in a single simple Ludwig model definition. Any chance CRF decoding is coming to Ludwig any time soon?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Exploring Conditional Random Fields for NLP Applications
In this blog post, ML Engineer Arnaud Stiegler explores conditional random fields, a widely-used modeling technique for many NLP tasks.
Read more >Conditional Random Fields · TextAnalysis
This algorithm decodes for the label sequence with lowest loss value in polynomial time. Currently the Viterbi Decode only support cpu arrays. When...
Read more >Conditional random field - Wikipedia
Conditional random fields (CRFs) are a class of statistical modeling methods often applied in pattern recognition and machine learning and used for ...
Read more >CRF: Conditional Random Fields
Details. Exact decoding for chain-structured graphs with the Viterbi algorithm. Value. This function will return the most likely configuration, ...
Read more >Implementing a linear-chain Conditional Random Field (CRF ...
Disclaimer: CRFs are a generalization of any undirected graph structure, such as sequences, trees, or graphs. In this post, I'll focus on sequential...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working on it
Yes that would be great. Consider that we are planning to move to TF2 soon, so at the moment you can use the
contrib
package, but make sure that you’ll be able to port to theaddons
package.