Conditional random field in PyTorch
Conditional random field in PyTorch.
Contributions are welcome! Please follow these instructions to install dependencies and running the tests and linter.
Make sure you setup a virtual environment with Python and PyTorch installed. Then, install all the dependencies in requirements.txt file and install this package in development mode.
pip install -r requirements.txt pip install -e .
Setup pre-commit hook
ln -s ../../pre-commit.sh .git/hooks/pre-commit
Run pytest in the project root directory.
Run flake8 in the project root directory. This will also run mypy, thanks to flake8-mypy package.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pytorch_crf-0.7.2-py3-none-any.whl