PyTorch CRF

JSON →
library 0.7.2 ·python
verified Jun 7, 2026

PyTorch CRF is a library for implementing Conditional Random Fields (CRF) in PyTorch. Version 0.7.2 is the latest stable release. It provides a CRF layer that can be used in sequence labeling models. The library is lightweight and well-maintained, released under the MIT license.