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

Some Improvement to Implement #4

Open
SparkJiao opened this issue Apr 5, 2019 · 0 comments
Open

Some Improvement to Implement #4

SparkJiao opened this issue Apr 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@SparkJiao
Copy link
Owner

There are several tricks to implement to improve the performance and they won't be added util Sep. 19 for some more important projects. I opened this issue to avoid forgetting it. :)
Here are some tricks I think could be useful.

  • Change the way to calculate yes/no probability. Current implementation is so naive and summarizing the final passage representation into vector and using bilinear product with question vector will be more robust. In other words, this could be seen as a simple NLI problem. This could also be used to calculate the probability for unanswerable questions in SQuAD2.0.
  • Add layers of LSTM.
  • There is a more efficient way to use ELMo, which could be find in Allennlp's issue. The elmo class could calculate the CNN representation for all words in the vocabulary of train set before training, because the representation for a single word is the same all the time and it don't need to be calculated every time before being passed into LSTM. This could reduce the memory usage and enhance the training speed.
  • Plausible answer predicting loss(Multi-task training) could be added. For more detail, please see Read + Verify: Machine Reading Comprehension with Unanswerable Questions
  • More manual features, for example, lemma of words, exact match feature, pre-align embedding.
@SparkJiao SparkJiao added the enhancement New feature or request label Apr 5, 2019
@SparkJiao SparkJiao self-assigned this Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant