Code Monkey home page Code Monkey logo

conversational-ai-workshop-18's Introduction

generalisation-example

This is the bot we used for the experiments in our paper on "Few-shot Generalisation Across Dialogue Tasks".

Installation

To install all the requirements needed to use this bot, please run:

pip install -r requirements.txt

Running the bot and experiments

To train the core model, run:

make train-core

To run the bot on the commandline, run:

make run

Parameters used

Data:

  • exclusion percentages: [0, 5, 25, 50, 70, 90, 95, 100]
  • augmentation_factor: 0
  • runs: 5

Embedding policy:

  • epochs: 2000
  • attn_shift_range: 5
  • embed_dim: 20
  • both attentions
  • rnn size: 64
  • everthing else default

Keras policy:

  • binary featurizer/ label token featurizer
  • batch size: 32
  • rnn size: 64
  • epochs: 400
  • max history: 38

Overview of the files

data/core/train/ - training data from the hotel + restaurant domain data/core/test - test data from the hotel domain services - dummy API services for hotel/restaurant recommendation actions.py - actions file containing the hotel/restaurant search actions

conversational-ai-workshop-18's People

Contributors

akelad avatar amn41 avatar ghostvv avatar

Watchers

James Cloos avatar STYLIANOS IORDANIS 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.