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

Missing sentences folders #2

Open
viguardieiro opened this issue Oct 30, 2023 · 0 comments
Open

Missing sentences folders #2

viguardieiro opened this issue Oct 30, 2023 · 0 comments

Comments

@viguardieiro
Copy link

It seems that the sentences folder is missing from ss-role and dep on the available data:

if dataset in ['ss-func', 'ss-role', 'roberta', 'berttiny']:
with open(f'../data/ss-role/sentences/{datasplit}.json', 'r') as sent_file:
sent_data = json.load(sent_file)
labels['sentence'] = labels['sent_id'].apply(lambda x: sent_data[str(x)])
elif dataset == 'dep':
with open(f'../data/dep/sentences/sent_{datasplit}.json', 'r') as sent_file:
sent_data = json.load(sent_file)

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