allenai / pnp

Probabilistic Neural Programming
Apache License 2.0
75 stars 22 forks source link

Training with multiple logical forms #15

Closed jayantk closed 7 years ago

jayantk commented 7 years ago

This change includes: 1) An update to LoglikelihoodTrainer that sums the probabilities of multiple correct executions when computing the loss 2) Cleaned up tests for PNP training 3) A change to SemanticParserExecutionScore that enables it to track the full history of parsing choices 4) A new execution score that effectively ORs multiple execution scores to create a label

There's also some stuff for running jobs on docker.