Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/congyingxia/ZeroShotCapsule
Code for Paper "Zero-shot User Intent Detection via Capsule Neural Networks".
https://github.com/congyingxia/ZeroShotCapsule
Last synced: about 5 hours ago
JSON representation
Code for Paper "Zero-shot User Intent Detection via Capsule Neural Networks".
- Host: GitHub
- URL: https://github.com/congyingxia/ZeroShotCapsule
- Owner: congyingxia
- Created: 2018-11-01T04:21:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T20:47:58.000Z (over 5 years ago)
- Last Synced: 2024-08-02T13:27:08.047Z (3 months ago)
- Language: Python
- Homepage:
- Size: 10.1 MB
- Stars: 51
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zero-shot User Intent Detection via Capsule Neural Networks
This repository implements a capsule model named IntentCapsNet-ZSL on the SNIPS-NLU dataset with Tensorflow.
Please see the following paper for the details:
Congying Xia*, Chenwei Zhang*, Xiaohui Yan, Yi Chang, Philip S. Yu. Zero-shot User
Intent Detection via Capsule Neural Networks. In Proceedings of the 2018 Conference on
Empirical Methods in Natural Language Processing (EMNLP), 2018. (* equally contributed)https://arxiv.org/abs/1809.00385
# Requirements
Python 2.7.12
Tensorflow 1.6.0
Numpy
Gensim
Sklearn
# Usage
```
python main.py
```If you find our code useful, please cite our paper.
```
@article{xia2018zero,
title={Zero-shot User Intent Detection via Capsule Neural Networks},
author={Xia, Congying and Zhang, Chenwei and Yan, Xiaohui and Chang, Yi and Yu, Philip S},
journal={arXiv preprint arXiv:1809.00385},
year={2018}
}
```# Pytorch Version
A pytorch version can be found here: https://github.com/nhhoang96/ZeroShotCapsule-PyTorch-
Thanks to Hoang Nguyen @nhhoang96.
# Acknowledgements
https://github.com/soskek/dynamic_routing_between_capsules
https://github.com/flrngel/Self-Attentive-tensorflow