allenai / deep_qa

A deep NLP library, based on Keras / tf, focused on question answering (but useful for other NLP too)
Apache License 2.0
404 stars 132 forks source link

Model ensembling #349

Closed matt-gardner closed 7 years ago

matt-gardner commented 7 years ago

306

This provides a simple way to do model ensembling, just loading a list of saved models and averaging their predictions.

I also updated some docs a bit, so there are also some somewhat unrelated changes in this PR.

I'm planning on writing a simple test for this, that running an ensemble with 1 item in it returns the same result as score_dataset by itself, but the basic design is ready to be reviewed, I think.