https://github.com/chapzq77/esim-response-selection
ESIM for Multi-turn Response Selection Task
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.1%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
ESIM for Multi-turn Response Selection Task
Basic Info
- Host: GitHub
- Owner: chapzq77
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://arxiv.org/pdf/1901.02609.pdf
- Size: 1.54 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of alibaba/esim-response-selection
Created almost 7 years ago
· Last pushed almost 7 years ago
https://github.com/chapzq77/esim-response-selection/blob/master/
# ESIM for Multi-turn Response Selection Task
## Introduction
If you use this code as part of any published research, please acknowledge one of the following papers.
```
@inproceedings{chen2019sequential,
title={Sequential Matching Model for End-to-end Multi-turn Response Selection},
author={Chen, Qian and Wang, Wen},
booktitle={ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={7350--7354},
year={2019},
organization={IEEE}
}
```
```
@article{DBLP:journals/corr/abs-1901-02609,
author = {Chen, Qian and Wang, Wen},
title = {Sequential Attention-based Network for Noetic End-to-End Response Selection},
journal = {CoRR},
volume = {abs/1901.02609},
year = {2019},
url = {http://arxiv.org/abs/1901.02609},
}
```
## Requirement
1. gensim
```bash
pip install gensim
```
2. Tensorflow 1.9-1.12 + Python2.7
## Steps
1. Download the [Ubuntu dataset](https://www.dropbox.com/s/2fdn26rj6h9bpvl/ubuntu_data.zip?dl=0
) released by (Xu et al, 2017)
2. Unzip the dataset and put data directory into `data/`
3. Preprocess dataset, including concatenatate context and build vocabulary
```bash
cd data
python prepare.py
```
4. Train word2vec
```bash
bash run_train_word2vec.sh
```
5. Train and test ESIM, the log information is in `log.txt` file. You could find an example log file in `log_example.txt`.
```bash
cd scripts/esim
bash run.sh
```
Owner
- Name: 周奇
- Login: chapzq77
- Kind: user
- Repositories: 3
- Profile: https://github.com/chapzq77