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

Conllu data - handling multiple edge labels #2

Open
paolo-gajo opened this issue Nov 4, 2024 · 0 comments
Open

Conllu data - handling multiple edge labels #2

paolo-gajo opened this issue Nov 4, 2024 · 0 comments

Comments

@paolo-gajo
Copy link

paolo-gajo commented Nov 4, 2024

Hello,

I was going through NERdataset while running train.py to see how the data is loaded into the model and I noticed that it seems there are no multiple head_indices for words that should have two, e.g. the following from line 916 of train.conllu.

7	yeast	_	NN1	B-F	_	1	t	[(18,	'f-eq')]

That is, the datapoint returned by process_datapoint only contains one value per word in item['head_indices'].

Maybe I am misunderstanding how this part of the code works, but I am missing how/where the multiple edge labels are handled.

Thanks in advance for the help!

@paolo-gajo paolo-gajo changed the title Conllu data - multiple edge labels Conllu data - handling multiple edge labels Nov 4, 2024
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