Michael Tu f7a0167b81 Migrate to from GitHub castorini/data to uWaterloo Castor-data (#103)
* Refactor main README
* Update Anserini Dependency docs
* Update idf baseline and Kim CNN docs to use Castor-data
* Update remaining READMEs to reference Castor-data
* Change default path from data to Castor-data
* Fix wrong order of embeddings path
2018-05-23 16:16:17 -04:00
2017-10-29 15:55:36 -04:00
2018-01-03 18:12:57 -05:00
2018-01-24 20:11:26 -05:00
2018-01-03 18:12:57 -05:00
2017-11-04 18:22:40 -04:00
2017-04-18 12:32:43 -04:00
2017-11-25 14:39:39 -05:00

Castor

Deep learning for information retrieval with PyTorch.

Models

Baselines

  1. IDF Baseline: IDF overlap between question and candidate answers

Deep Learning Models

  1. SM-CNN: Ranking short text pairs with Convolutional Neural Networks
  2. Kim CNN: Sentence classification using Convolutional Neural Networks
  3. MP-CNN: Sentence pair modelling with Multi-Perspective Convolutional Neural Networks
  4. NCE: Noise-Contrastive Estimation for answer selection applied on SM-CNN and MP-CNN
  5. conv-RNN: Convolutional RNN for text modelling

Setting up PyTorch

Copy and run the command at https://pytorch.org/ for your environment. PyTorch recommends the Anaconda environment, which we use in our lab.

The typical installation command is

conda install pytorch torchvision -c pytorch

Data and Pre-Trained Models

Data associated for use with this repository can be found at: https://git.uwaterloo.ca/jimmylin/Castor-data.git.

Pre-trained models can be found at: https://github.com/castorini/models.git.

Your directory structure should look like

.
├── Castor
├── Castor-data
└── models

For example (if you use HTTPS instead of SSH):

git clone https://github.com/castorini/Castor.git
git clone https://git.uwaterloo.ca/jimmylin/Castor-data.git
git clone https://github.com/castorini/models.git

Sourcing and pre-processing of input data for each model is described in the respective model/README.md's.

S
Description
PyTorch deep learning models for text processing
Readme Apache-2.0
1.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 93.7%
JavaScript 3.2%
Java 2.2%
HTML 0.5%
Shell 0.4%