GithubHelp home page GithubHelp logo

hyeongjun-jang / kg-cruse_opendialkg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajbsk/kg-cruse

0.0 0.0 0.0 90 KB

(OpenDialKG) Forked Codes for the NLP4ConvAI 2022 paper: KG-CRuSE: Recurrent Walks over Knowledge Graph for Explainable Conversation Reasoning using Semantic Embeddings

Python 100.00%

kg-cruse_opendialkg's Introduction

KG-CRuSE

KG-CRUSE is a simple, yet effective LSTM based decoder that leverage Sentence-BERT embeddings to capture the in the dialogue history and Knowledge Graph elements (KG) to generate walks over the KG for effective conversation explanation.

Rajdeep Sarkar, Mihael Arcan, John P. McCrae. "KG-CRuSE: Recurrent Walks over Knowledge Graph for Explainable Conversation Reasoning using Semantic Embeddings", Proceedings of the 4th Workshop on Natural Language Processing for Conversational AI. 2022.

Data Format

We use the OpenDialKG dataset to evaluate our proposed approach. The dataset used for training KG-CRuSE and the other baseline models can be downloaded from this "link". Once you have downloaded the zip file, place the downloaded zip file inside the "datasets" folder. Then run the following command

cd datasets unzip dataset_nlp4convai.zip

Code Structure

The codes for KG-CRuSE and the baseline methods are present in the codes folder. Once you have extracted the dataset, you can easliy train and test the model. The Readme of each model is present in their respective folder.

When running the codes, $split_id$ can take one of 1, 2, 3, 4 or 5.

Citation

Please cite our paper if you find our code and paper helpful.

Copyright 2022 National University of Ireland Galway. This work was funded by the Irish Research Council under grant GOIPG/2019/3480: Chatbots in action: Towards the development of scalable domain specific chatbots

kg-cruse_opendialkg's People

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.