Coder Social home page Coder Social logo

kecrs's Introduction

KECRS

Towards Knowledge-Enriched Conversational Recommendation System.

Prerequisites

  • Python 3.6
  • PyTorch 1.4.0
  • Torch-Geometric 1.4.2

Getting Started

Installation

Clone this repo.

git clone https://github.com/xiaolan98/KECRS.git
cd KECRS/parlai/task/crs/

Dataset

All the data are in * ./KECRS/data/crs/ *folder

  • ReDial dataset
  • The Movie Domain Knowledge Graph, TMDKG

Training

To train the recommender part, run:

python train_kecrs.py

To train the dialog part, run:

python train_transformer_rec.py

Logging

TensorBoard logs and models will be saved in saved/ folder.

Evaluation

All results on testing set will be shown after training.

Discussion

If you have difficulties to get things working in the above steps, please let us know.

Cite

Please cite our paper if you use this code in your own work:

@inproceedings{zhang-etal-2022-toward,
    title = "Toward Knowledge-Enriched Conversational Recommendation Systems",
    author = "Zhang, Tong  and
      Liu, Yong  and
      Li, Boyang  and
      Zhong, Peixiang  and
      Zhang, Chen  and
      Wang, Hao  and
      Miao, Chunyan",
    booktitle = "Proceedings of the 4th Workshop on NLP for Conversational AI",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.nlp4convai-1.17",
    doi = "10.18653/v1/2022.nlp4convai-1.17",
    pages = "212--217",
    }

kecrs's People

Contributors

xiaolan98 avatar

Stargazers

 avatar  avatar  avatar

Watchers

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