Git Product home page Git Product logo

sgnn's Introduction

SGNN

Implementation of Self-Governing Neural Networks for speech act classification

Implementation of the SGNN paper for speech act classification.

This repository is inspired by Guillaume Chevalier's implementation, as well as his discussion with Sava Kalbachou. This version implements some things differently from Guillaume's code, in an attempt to resemble the paper more, and extends beyond the projection layer all the way to a fully trainable network.

The network is trained to classify the SwDA corpus utterances according to their speech act. The corpus was was pre-processed using Cristopher Pott's project related to it. To follow Lee & Dernoncourt SwDA data split, as in the SGNN paper, we added adequate functionality in our branch of that repo. The pre-processed data is included in the data folder for repeateability.

The original SGNN paper reports a SwDA accuracy of 83.1. With this implementation, I have only managed to achieve a maximum accuracy of 71.3; if you achieve a better score, please share your settings in an issue :)

How to use

  • Install all dependencies; use environment.yml file as reference.

  • Open the 00_core.ipynb notebook and modify REPO_PATH = "<PATH-TO-SGNN-REPO>" in the last cell. Modify any parameters you want to tweak from the network, then run the whole notebook.

  • Alternatively, you can use core.py from the terminal or a Python IDE.

sgnn's People

Contributors

glicerico avatar dependabot[bot] avatar

Stargazers

srenning along 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.