Git Product home page Git Product logo

hypergat's Introduction

Hypergraph Attention Networks for Inductive Text Classification(EMNLP2020)

HyperGAT

This is the source code of paper "Be More with Less: Hypergraph Attention Networks for Inductive Text Classification". The proposed framework

Requirements

python==3.6.6

nltk==3.4.5

scikit-learn==0.21.3

numpy==1.19.4

torch==1.4.0

Usage

Example of LDA-related preprocessing: python generate_lda.py --topics 52 --dataset R52

Example of running HyperGAT: python run.py --dataset R52 --use_LDA --batchSize 8 --lr 0.001 --dropout 0.3 --l2 1e-6 --epoch 10

Cite

Please cite our paper if you use this code in your own work:

@inproceedings{ding2020more,
  title={Be More with Less: Hypergraph Attention Networks for Inductive Text Classification},
  author={Ding, Kaize and Wang, Jianling and Li, Jundong and Li, Dingcheng and Liu, Huan},
  booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  pages={4927--4936},
  year={2020}
}

hypergat's People

Contributors

kaize0409 avatar wangjlgz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.