-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add quantification semantics #925
base: master
Are you sure you want to change the base?
Conversation
This shouldn't get merged until after the milestone. |
from adam.utilities import sign | ||
from attr import attrib, attrs, evolve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for all the import diff spam. I asked PyCharm to optimize imports without remembering that I don't think we do isort
on this repository.
@@ -210,6 +215,10 @@ def learner_factory_from_params( | |||
beam_size=beam_size, | |||
language_mode=language_mode, | |||
), | |||
number_learner=QuantifierTemplateLearner.pretrained_for_language_mode( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tested at all that this doesn't cause problems for other curricula, which is the main reason this hasn't been merged to master yet. It could be totally buggy.
@paynesa is going to add unit tests for this learner |
Ok this is currently failing about half of our existing unit tests, I'm going to look into debugging it |
No description provided.