GithubHelp home page GithubHelp logo

ltadjou / clucdd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaojingsheng/clucdd

0.0 0.0 0.0 25.82 MB

Contrastive Dialogue Disentanglement via Clustering

License: MIT License

Python 100.00%

clucdd's Introduction

License: MIT Python GitHub stars

CluCDD

This includes an original implementation of CluCDD: Contrastive Dialogue Disentanglement via Clustering

Get Started

  • An effective framework for dialogue disentanglement. The model captures the utterances and sequential representations in dialogues.
  • The contrastive training paradigm is employed to amend feature space, and a cluster head predicts the session number to enhance the final clustering result.
  • Extensive experiments demonstrate that our CluCDD is suitable for solving dialogue disentanglement and establishes the state-of-the-art on two datasets

CluCDD

Setting Up

Our codebase requires the following Python and PyTorch versions:

  • Python >= 3.7
  • PyTorch >= 1.7.1
  • transformers

Training and Evaluate

To train CluCDD with a single GPU, run :

python train_clucdd.py --do_train

To evaluate CluCDD with a saved checkpoint:

python train_clucdd.py --do_test --model_path <THE PATH OF THE SAVED CHECKPOINT>

Acknowledgments

This work was supported by the National Natural Science Foundation of China under Projects (Grant No. 61977045 and Grant No. 81974276). If you have further questions and suggestions, please feel free to contact us ([email protected]).

clucdd's People

Contributors

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