Linear-chain CRF in PyTorch.
Blog post explaining this implementation: https://medium.com/@mtreviso/implementing-a-linear-chain-conditional-random-field-crf-in-pytorch-16b0b9c4b4ea
Check bilstm_crf.py
and main.py
.
torch>=0.4.1
: you can install it by running pip3 install torch
MIT. See the LICENSE file for more details.