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

Field ‘attributes’ not found #8

Open
G200005 opened this issue Nov 11, 2024 · 1 comment
Open

Field ‘attributes’ not found #8

G200005 opened this issue Nov 11, 2024 · 1 comment

Comments

@G200005
Copy link

G200005 commented Nov 11, 2024

Hello, when I tried to train the GQA dataset I found the following error, suggesting that Field ‘attributes’ not found, according to the error report, I modified the code in sampling.py and inference.py, I wonder if this is correct?
image
image
image

@G200005 G200005 changed the title Path error during download Field ‘attributes’ not found Nov 12, 2024
@JeonJaeHyeong
Copy link
Owner

JeonJaeHyeong commented Nov 12, 2024

Since the GQA dataset does not have "attributes," all related parts need to be removed. Therefore, I modified target.copy_with_fields(["labels"]) #, "attributes"]) to control attributes, and I have updated the relevant sections accordingly.

It seems that the changes you made are correct when compared with the SHA_GCL code.

Feel free to ask about even minor errors, and I will check and address them. Thank you.

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

2 participants