capreolus-ir / capreolus

A toolkit for end-to-end neural ad hoc retrieval
https://capreolus.ai
Apache License 2.0
95 stars 32 forks source link

Port PARADE model to Pytorch #86

Closed andrewyates closed 4 years ago

andrewyates commented 4 years ago

The current PARADE implementation only supports the Tensorflow trainer. It should be straightforward to port to Pytorch, however, since the transformers library already supports both. This is mainly a matter of replacing the TF aggregation layers with their Pytorch versions.