Part 3: Practical Tasks With AllenNLP

Document Ranking

Author: Jacob Danovitch

A practical example of document ranking with AllenNLP.

This chapter provides an example of how to perform document ranking with AllenNLP. We'll take a look at more advanced features such as different kinds of fields, the TimeDistributed module, and making our own metrics. The full code for this guide can be found here.

1An overview on ranking

2Beyond TextFields and LabelFields

3Designing our ranking model

4The TimeDistributed module

5Evaluating with custom metrics

6Conclusion