pytorch-struct icon indicating copy to clipboard operation
pytorch-struct copied to clipboard

Fast, general, and tested differentiable structured prediction in PyTorch

Results 31 pytorch-struct issues
Sort by recently updated
recently updated
newest added

Hi, Firstly, just wanted to say this is a really cool library. I have been working on some CTC/alignment research and when i saw this trick with the parallel-scan and...

end_class is not used for the Autoregressive module: https://github.com/harvardnlp/pytorch-struct/blob/7146de5659ff17ad7be53023c025ffd099866412/torch_struct/autoregressive.py#L49

PR following up discussion [here](https://github.com/harvardnlp/pytorch-struct/issues/106). For the tests to pass I also had to update `genbmm`. See PR [here](https://github.com/harvardnlp/genbmm/pull/9). Note that the tests only check the shape of the `argmax`...

I could find examples of pytorch struct usage for 1d sequence data like text or video frame. But I'm trying to parse tables structure in pdf documents. Could you provide...

I'm in the process of [updating the pytorch benchmarks repo](https://github.com/pytorch/benchmark/pull/673) to use newer torchtext APIs. These benchmarks use an adapted version of [this example notebook](https://github.com/harvardnlp/pytorch-struct/blob/master/notebooks/Unsupervised_CFG.ipynb). If it makes sense, I'm...

HI, First, thank you for fixing #110 (@da03), the SemiCRF works better now, I was able to get good results on span extraction tasks. However, I still encounter a learning...

Noticed a small bug in the documentation and example of `SentCFG`. The return of `dist.argmax` is (terms, rules, init, spans), but example in documentation only assigns (term, rules, init) and...

A lot of the approaches could also have low-memory versions (like CKY does). Figure out how to enable that in a clean manner (v0.6)

Hi, Thanks for making this library and it's amazing to have these different CRFs wrapped up in a common and easy to use framework. I've been playing with the LinearChainCRF...