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

Parser always producing <END> when predicting synonym operation on test questions #6

Open
anette123 opened this issue Apr 6, 2021 · 0 comments

Comments

@anette123
Copy link

anette123 commented Apr 6, 2021

Hi team, making it a separate thread from #1

I have been testing the parser separately (which is getting downloaded from http://vcml.csail.mit.edu/data/ckpt/CLEVR_reason.tgz and seems to be pre-trained as it parses well train questions), and while parser.tools.operation.records contains 'synonym' (and therefore should be able to recogninze this operation), it is always predicting '10' (which is < END > operation) when applied to the test questions which all contain the word 'synonym'. For example, the question
'Is sphere a synonym of shiny?'
gets parsed into

# [[{'operation': '<END>', 'argument': 'shiny'},
#   {'operation': '<END>', 'argument': 'sphere'},
#   {'operation': '<END>', 'argument': '<END>'},
#   {'operation': '<END>', 'argument': '<END>'},
#   {'operation': '<END>', 'argument': '<END>'}]. 

Maybe in fact the parser it is not pretrained on this concept?

@anette123 anette123 changed the title Parser producing <END> when predicting operation on test questions Parser always producing <END> when predicting synonym operation on test questions Apr 6, 2021
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