Git Product home page Git Product logo

lang-emerge's Introduction

Language Emergence

Code for the paper

Natural Language Does Not Emerge 'Naturally' in Multi-Agent Dialog
Satwik Kottur, José M. F. Moura, Stefan Lee, Dhruv Batra
Arxiv

This repository contains code to train, evaluate and visualize dialogs between conversational agents (Abot and QBot), which talk about instances in an abstract world.

If you find this code useful, consider citing our work:

@inproceedings{visdial,
  title = {{N}atural {L}anguage {D}oes {N}ot {E}merge '{N}aturally' in {M}ulti-{A}gent {D}ialog},
  author = {Satwik Kottur and Jos\'e M.F. Moura and Stefan Lee and Dhruv Batra},
  journal = {CoRR},
  volume = {abs/1706.08502},
  year = {2017}
}

Setup

All our code is implemented in Pytorch.

Additionally, our code also uses some famous python packages that can be installed as follows:

pip install json
pip install tqdm
pip install pickle
pip install json

Contents

  • options.py - Read the options from the commandline
  • dataloader.py - Create and handle data for toy instances
  • chatbots.py - Conversational agents - Abot and Qbot
  • learnChart.py - Obtain evolution of language chart from checkpoints
  • html.py - Easy creation of html tables
  • utilities.py - Helper functions
  • train.py - Script to train conversational agents
  • test.py - Script to test agents

Usage

Checkout run_me.sh to see how train our model.

Pretrained models and detailed documentation coming soon!

Contributors

License

BSD

lang-emerge's People

Contributors

satwikkottur avatar

Stargazers

Michael Corrado avatar

Watchers

Minsuk Heo 허민석 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.