Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support KL and cross-entropy semiring #79

Merged
merged 1 commit into from Jul 30, 2020

Conversation

sustcsonglin
Copy link
Contributor

supporting KL and cross-entropy between two CRF distributions.
adding KL and cross-entropy semiring,
and add some test case for kl and cross-entropy

@srush
Copy link
Collaborator

srush commented Jul 30, 2020

This is so cool! Thanks for implementing.

We probably should doc these a bit. Expectation semirings are tricky and seeing the implementation should be really helpful.

Who is this btw?

@srush srush merged commit 9f93432 into harvardnlp:master Jul 30, 2020
@sustcsonglin
Copy link
Contributor Author

sustcsonglin commented Jul 30, 2020 via email

@srush
Copy link
Collaborator

srush commented Jul 30, 2020

Very nice to meet you. Two very nice contributions in a hard area of structured prediction. Feel free to keep on editing the library or adding new parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants