GithubHelp home page GithubHelp logo

ltadjou / dialogue-topic-segmenter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lxing532/dialogue-topic-segmenter

0.0 0.0 0.0 2.71 MB

Improving Unsupervised Dialogue Topic Segmentation with Utterance-Pair Coherence Scoring

Home Page: https://aclanthology.org/2021.sigdial-1.18.pdf

Python 100.00%

dialogue-topic-segmenter's Introduction

Codes and data for Dialogue Topic Segmenter

This repository maintains the source code for "Improving Unsupervised Dialogue Topic Segmentation with Utterance-Pair Coherence Scoring", SIGDIAL 2021.

1. Datasets:

In the paper, we mention two training datasets for Utterance-Pair Coherence Scoring model training. They are:

2. Data Generation:

Once the source of training data is ready, we run data_process.py to generate the postive and negative utterance pair samples for the training of BERT-based coherence scoring model. Please note that the code will generate three files:

  • dialogues_text.txt
  • dialogues_topic.txt
  • dialogues_act.txt

These three files will be required to work together to manage the data loading of model training.

3. Coherence Scoring Model Training:

Please modify the paths in the model.py file to the paths you save your data files in. This code will save the utterance-pair coherence scoring model, which will be further utilized in test.py for topic segmentation inference.

4. Topic Segmentation Inference:

In the evaluation phase, three datasets are used for model testing, they are:

dialogue-topic-segmenter's People

Contributors

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