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

Add quantification semantics #925

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Add quantification semantics #925

wants to merge 13 commits into from

Conversation

gabbard
Copy link

@gabbard gabbard commented Jul 20, 2020

No description provided.

@gabbard
Copy link
Author

gabbard commented Jul 24, 2020

This shouldn't get merged until after the milestone.

from adam.utilities import sign
from attr import attrib, attrs, evolve
Copy link
Author

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(
Copy link
Author

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.

@lichtefeld
Copy link
Collaborator

@paynesa is going to add unit tests for this learner

@paynesa paynesa marked this pull request as ready for review July 27, 2020 18:39
@paynesa paynesa marked this pull request as draft July 27, 2020 18:42
@paynesa
Copy link
Collaborator

paynesa commented Jul 27, 2020

Ok this is currently failing about half of our existing unit tests, I'm going to look into debugging it

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

Successfully merging this pull request may close these issues.

3 participants