{"library":"torch-struct","type":"library","category":null,"description":"A library for structured prediction (e.g., parsing, sequence labeling) with PyTorch. Provides differentiable implementations of dynamic programming algorithms like CYK, Inside-Outside, and Viterbi. Current version 0.5, last updated 2022. Low release cadence.","language":"python","status":"active","version":"0.5","tags":["structured-prediction","pytorch","crf","parsing","dynamic-programming"],"last_verified":"Fri May 01","install":[{"cmd":"pip install torch-struct","imports":["import torch_struct","from torch_struct import LineCRF","from torch_struct import TorchStruct"]}],"homepage":null,"github":"https://github.com/harvardnlp/pytorch-struct","docs":null,"changelog":null,"pypi":"https://pypi.org/project/torch-struct/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}