GithubHelp home page GithubHelp logo

codeaudit / compositional-communication-via-template-transfer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomekkorbak/compositional-communication-via-template-transfer

0.0 1.0 0.0 23.87 MB

Code acompanying the paper Developmentally motivated emergence of compositional communication via template transfer

Python 100.00%

compositional-communication-via-template-transfer's Introduction

Compositional communication via template transfer

This repo contains the code accompanying the paper Developmentally motivated emergence of compositional communication via template transfer accepted for NeurIPS 2019 workshop Emergent Communication: Towards Natural Language.

Running the code

We assume Python <= 3.6. To reproduce the results of template transfer run:

pip install -r requirements.txt
unzip data.zip
python -m template_transfer.train

To reproduce reported baselines, run the following commands:

  • Random baseline: python -m template_transfer.train --sender_lr 0 --receiver_lr 0 --no_transfer
  • Same architecture without template transfer: python -m template_transfer.train --no_transfer
  • Obverter: python -m obverter.train

Use --help flag for available arguments. All arguments default to hyperparameters used in the paper. I use Neptune.ml for experiment management, which is turned off by default. Pass --neptune_project <username/projectname> and set environmental variable NEPTUNE_API_TOKEN to log metrics using Neptune.

In case of questions, create an issue or contact Tomek Korbak under [email protected].

Citing

@article{korbak_template_transfer_2019,
  author    = {Korbak, Tomasz and
               Zubek, Julian and
               Kuci\'{n}ski, \L{}ukasz and
               Mi\l{}oś, Piotr and
               R\k{a}czaszek-Leonardi, Joanna},
  title     = {Developmentally motivated emergence of compositional communication via template transfer},
  journal   = {NeurIPS 2019 workshop Emergent Communication: Towards Natural Language},
  year      = {2019},
  url       = {}
}

compositional-communication-via-template-transfer's People

Contributors

dependabot[bot] avatar tomekkorbak avatar

Watchers

 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.