NTMC-Community / MatchZoo

Facilitating the design, comparison and sharing of deep text matching models.
Apache License 2.0
3.84k stars 900 forks source link

How to use matchzoo for prediction on new query for passage ranking task. #801

Open aayush-gupta15 opened 5 years ago

aayush-gupta15 commented 5 years ago

I want to rank a set of passages with a particular query and find the most similar one. How can i do that using matchzoo.

bwanglzu commented 5 years ago
  1. Choose a ranking algorithm.
  2. Create datapacks using your training dataset and pre-process your data by calling the chain of preprocessors.
  3. Train your model.
  4. Preprocess your test data set.
  5. Use your trained model for prediction.