linear-chain-crf
linear-chain-crf copied to clipboard
Implementation of a linear-chain CRF in PyTorch
linear-chain-crf
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
Examples
Check bilstm_crf.py and main.py.
Dependencies
torch>=0.4.1: you can install it by running pip3 install torch
License
MIT. See the LICENSE file for more details.