All Projects → ictnlp → DialoFlow

ictnlp / DialoFlow

Licence: MIT license
Code for ACL 2021 main conference paper "Conversations Are Not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances".

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to DialoFlow

RECCON
This repository contains the dataset and the PyTorch implementations of the models from the paper Recognizing Emotion Cause in Conversations.
Stars: ✭ 126 (+48.24%)
Mutual labels:  dialogue-systems, dialogue-generation
few shot dialogue generation
Dialogue Knowledge Transfer Networks (DiKTNet)
Stars: ✭ 24 (-71.76%)
Mutual labels:  dialogue-systems, dialogue-generation
Metalearning4nlp Papers
A list of recent papers about Meta / few-shot learning methods applied in NLP areas.
Stars: ✭ 163 (+91.76%)
Mutual labels:  dialogue-systems
DialogueGraph
Open-source node-based tool for developing branching conversation trees
Stars: ✭ 133 (+56.47%)
Mutual labels:  dialogue-systems
Anyq
FAQ-based Question Answering System
Stars: ✭ 2,336 (+2648.24%)
Mutual labels:  dialogue-systems
Alex
Alex Dialogue Systems Framework
Stars: ✭ 177 (+108.24%)
Mutual labels:  dialogue-systems
Convlab 2
ConvLab-2: An Open-Source Toolkit for Building, Evaluating, and Diagnosing Dialogue Systems
Stars: ✭ 196 (+130.59%)
Mutual labels:  dialogue-systems
Dstc7 End To End Conversation Modeling
Grounded conversational dataset for end-to-end conversational AI (official DSTC7 data)
Stars: ✭ 141 (+65.88%)
Mutual labels:  dialogue-systems
Talkit
Non-Linear Game Dialogue Editor
Stars: ✭ 83 (-2.35%)
Mutual labels:  dialogue-systems
Neuraldialog Laed
PyTorch implementation for Interpretable Dialog Generation ACL 2018, It is released by Tiancheng Zhao (Tony) from Dialog Research Center, LTI, CMU
Stars: ✭ 192 (+125.88%)
Mutual labels:  dialogue-systems
Variational-Transformer
Variational Transformers for Diverse Response Generation
Stars: ✭ 79 (-7.06%)
Mutual labels:  dialogue-systems
Arxivnotes
IssuesにNLP(自然言語処理)に関連するの論文を読んだまとめを書いています.雑です.🚧 マークは編集中の論文です(事実上放置のものも多いです).🍡 マークは概要のみ書いてます(早く見れる的な意味で団子).
Stars: ✭ 190 (+123.53%)
Mutual labels:  dialogue-systems
Tgen
Statistical NLG for spoken dialogue systems
Stars: ✭ 179 (+110.59%)
Mutual labels:  dialogue-systems
Dialogue
Node based dialogue system
Stars: ✭ 207 (+143.53%)
Mutual labels:  dialogue-systems
Multimodal Sentiment Analysis
Attention-based multimodal fusion for sentiment analysis
Stars: ✭ 172 (+102.35%)
Mutual labels:  dialogue-systems
Nlp4rec Papers
Paper list of NLP for recommender systems
Stars: ✭ 162 (+90.59%)
Mutual labels:  dialogue-systems
Unit Uskit
unit-uskit
Stars: ✭ 197 (+131.76%)
Mutual labels:  dialogue-systems
Glad
Global-Locally Self-Attentive Dialogue State Tracker
Stars: ✭ 185 (+117.65%)
Mutual labels:  dialogue-systems
Wisty.js
🧚‍♀️ Chatbot library turning conversations into actions, locally, in the browser.
Stars: ✭ 24 (-71.76%)
Mutual labels:  dialogue-systems
Whiskers
A Visual Dialogue Editor made using the Godot Engine
Stars: ✭ 229 (+169.41%)
Mutual labels:  dialogue-systems

Conversations Are Not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances

This repository contains the code and pre-trained models for our ACL 2021 paper Conversations Are Not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances pdf.

**************************** Updates ****************************

The Chinese version is comming soon!

  • 6/30: We released the code and pre-trained model (English version) of DialoFlow.
  • 5/10: We released the code and pre-trained model of Flow Score. Try to use it!

Overview

We propose the DialoFlow, a new paradigm to construct the dynamic information flow in the dialogue history by addressing the semantic influence brought about by each utterance. Besides, we design an automatic reference-free evaluation metric Flow Score based on the pre-trained DialoFlow for interactive dialogue quality evaluation.

Overview of DialoFlow

DialoFlow

Requirements

torch==1.7.0

transformers==3.0.2

apex

Pre-trained models

DialoFlow is pre-trained on the Reddit dataset based on the GPT-2.

For more details about the dataset, please refer to DialoGPT.

We release three pre-trained models: DialoFlow_base, DialoFlow_medium, and DialoFlow_large.

Please download the pre-trained models under the path models/.

The fine-tuning models on the BST dataset and the Chinese version will be public soon.

Dialogue Generation

We provide the code for dialogue generation using the pre-trained DialoFlow model.

The script generate.py contains two decoding methods: beam search and nucleus sampling.

You can modify the code for your own data and task.

Fine-tuning

We fine-tuned the pre-trained model on the DailyDialog dataset.

cd dailydialog
bash fine-tune.sh

Flow Score

Flow Score is an automatic reference-free evaluation metric for interactive dialogue evaluation based on the pre-trained DialoFlow. Flow Score can be found here.

Citation

Please cite our paper if you use DialoFlow in your work.

@inproceedings{li2021dialoflow,
   title={Conversations are not Flat: Modeling the Dynamic Information Flow across Dialogue Utterances},
   author={Li, Zekang and Zhang, Jinchao and Fei, Zhengcong and Feng, Yang and Zhou, Jie},
   booktitle={Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics},
   year={2021}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].