Coder Social home page Coder Social logo

hailthedawn / dialoguegcn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ralelee/dialoguegcn

0.0 0.0 0.0 34 KB

A preprocessing and training code for DialogueGCN on Dailydialogue and Mastodon dataset. Use Bert base to preprocess the sentences. Based on https://github.com/declare-lab/conv-emotion/tree/master/DialogueGCN

Python 100.00%

dialoguegcn's Introduction

DialogueGCN

A pre-processing and training code for DialogueGCN on DailyDialogue and Mastodon dataset. Use Bert base to preprocess the sentences. Based on DialogueGCN

I have commited the changes to DialogueGCN repo. If you still have any questions, welcome pr and issues!

Paper Approach

See preprocess_dailydialog2.py and train_daily_feature.py

Preprocess uses glove.840B.300d.txt to preprocess the InputSequence.

Training Use CNN to extract features from 300-dimension vector to 100-dimension vector.

The difference between train_daily_feature2.py and train_daily_feature3.py is the metrics. We use the same settings in DialogRNN (see train_daily_feature3.py), which uses micro-f1 and masks the 'no-emotion' label. Finally we get a f1 score about 44.24 on test set (50 epochs and select the final epoch results)

Citation

If you use any source codes included in this repo in your work, please cite the following paper. The bibtex are listed below:

@inproceedings{ghosal2019dialoguegcn,
  title={DialogueGCN: A Graph Convolutional Neural Network for Emotion Recognition in Conversation},
  author={Ghosal, Deepanway and Majumder, Navonil and Poria, Soujanya and Chhaya, Niyati and Gelbukh, Alexander},
  booktitle={Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)},
  pages={154--164},
  year={2019}
}
@inproceedings{qin2021co,
  title={Co-GAT: A Co-Interactive Graph Attention Network for Joint Dialog Act Recognition and Sentiment Classification},
  author={Qin, Libo and Li, Zhouyang and Che, Wanxiang and Ni, Minheng and Liu, Ting},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={35},
  number={15},
  pages={13709--13717},
  year={2021}
}

dialoguegcn's People

Contributors

ralelee 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.