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

Is there any instance code of high-order CRFs? #1

Open
shihanmax opened this issue Nov 12, 2020 · 1 comment
Open

Is there any instance code of high-order CRFs? #1

shihanmax opened this issue Nov 12, 2020 · 1 comment

Comments

@shihanmax
Copy link

Hi, Is there any instance code of high-order CRFs for reference?

@shihanmax
Copy link
Author

shihanmax commented Nov 12, 2020

Say I have training data with sizes: X: (sequence_length, num_states), y: (sequence_length), in more detail, I have a sequence with length 20, for each token in this sequence, I extracted a feature array like [0.3, 0.1, 1, 0, ...] with length num_states, and the label of this sequence is ["B", "I", "I", "O", ...], with length sequence_len, is this module suitable for the situation above?

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