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

inquiry in log-sum-exp(all scores) - gold score #1

Open
nooralahzadeh opened this issue Feb 4, 2019 · 1 comment
Open

inquiry in log-sum-exp(all scores) - gold score #1

nooralahzadeh opened this issue Feb 4, 2019 · 1 comment

Comments

@nooralahzadeh
Copy link

Hi,
Thanks for the great explanation.
I am wondering if I want to calculate partial CRF (http://aclweb.org/anthology/C18-1183)where we have some gold tag for some token and all possible tags for other tokens and it needs to calculate the following formula?
log_sum_ex (all socore) - log_sum_ex(partial score)
what would be the changes in the code?

Thanks

@nooralahzadeh
Copy link
Author

I found a way to calculate partial CRF, however I made it with another CRF layer implementation.
Your CRF layer implementation is so fast, however it is not compatible in a way to apply fuzzy/partial CRF!

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

No branches or pull requests

1 participant