Skip to content

popfido/PairCNN-Ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PairCNN-Ranking

A pytorch implementation of Learning to Rank Short Text Pairs with Convolutional Deep Neural Networks

This version is implemented with reference of zhangzibin

Training Data

As train.txt and test.txt in ./data dir, data sample is separated by line separator, and the sample itself is splited by comma: query, document, label. And the example data is created by me to test the code, which is not real click data.

Usage

python main.py help

Project Structure

The file holder structure of this project is:

├── checkpoints/
├── data/
│   ├── __init__.py
│   └── dataset.py
├── models/
│   ├── __init__.py
│   ├── initfunctional.py
│   ├── BasicModule.py
│   └── PairCNN.py
├── utils/
│   ├── __init__.py
│   └── visualize.py
├── __init__.py
├── config.py
├── main.py
├── requirements.txt
├── README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages