This repository contains my implementations of some models (e.g., DRMM, PACRR, ABEL-DRMM, etc.) for deep relevance ranking in QA & IR.
- Python 3.6
- Tensorflow 1.1 +
- Numpy
- Gensim
See data format in data
folder which including the data sample files.
You need to download the dataset(s) you intend to use (BioASQ and/or TREC ROBUST2004).
cd data
sh get_bioasq_data.sh
sh get_robust04_data.sh
This repository can be used in other QA & IR datasets in two ways:
- Modify your datasets into the same format of the sample.
- Modify the data preprocess code in
data_helpers.py
.
Anyway, it should depend on what your data and task are.
References:
References:
References:
黄威,Randolph
SCU SE Bachelor; USTC CS Ph.D.
Email: chinawolfman@hotmail.com
My Blog: randolph.pro
LinkedIn: randolph's linkedin