Skip to content

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

Description

@nooralahzadeh

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions