allenai / pnp

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

Semantic parser improvements #6

Closed jayantk closed 7 years ago

jayantk commented 7 years ago

Adding several features to the semantic parser:

  1. handling unknown words
  2. reading in a separate table of known entity names (and using these in the parser)
  3. new bidirectional LSTM seq2seq model w/ attention for scoring logical forms

These features improve accuracy on geoquery to ~78%, from ~35% before.

OyvindTafjord commented 7 years ago

Very cool, that's a decent improvement! :) Some things for future consideration: