-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi,
I really enjoyed the paper -- a super interesting read and I learned a lot!
In case you're interested, I wanted to point you to an nonprojective entropy implementation in torch_struct that is quite efficient (should you have future use cases for it.) A similar derivation can be used for other additively factorable functions as well.
PR: harvardnlp/pytorch-struct#103
Colab comparison: https://colab.research.google.com/drive/1iUr78J901lMBlGVYpxSrRRmNJYX4FWyg?usp=sharing
Best,
Tom
Metadata
Metadata
Assignees
Labels
No labels