kmkurn / pytorch-crf

(Linear-chain) Conditional random field in PyTorch.
https://pytorch-crf.readthedocs.io
MIT License
943 stars 152 forks source link

Porting the code to pytorch 0.4.0 #22

Closed dhwajraj closed 5 years ago

dhwajraj commented 6 years ago

some api syntax level changes for running the code with PYTORCH 0.4.0

kmkurn commented 5 years ago

This has been covered by #25; I'm closing this PR.