Code Monkey home page Code Monkey logo

cgps's Introduction

Related Materials

Requirements

Dependencies

The code needs TensorFlow and other requirements.

pip install -r requirements.txt
sudo apt-get install python-tk

Dataset

git clone https://github.com/brendenlake/SCAN.git

Main Experiments

Please fix CUDA_VISIBLE_DEVICES in the scrips.

SCAN Primitive Tasks

sh experiments/jump_main/jump_main_A.sh
sh experiments/turn_main/turn_main_A.sh

SCAN Template-matching

sh experiments/template_jar/template_jar_A.sh # jump around right
sh experiments/template_r/template_r_A.sh     # primitive right
sh experiments/template_or/template_or_A.sh   # primitive opposite right
sh experiments/template_ar/template_ar_A.sh   # primitive around right

Primitive and Functional Information exist in One Word

sh experiments/adj_main/adj_main_A.sh
sh experiments/adj_compare/adj_compare_A.sh

Few-shot Learning Task

sh experiments/fewshot_main/fewshot_main_A.sh

Compositionality in Machine Translation

sh experiments/translation_main/translation_main_A.sh

Discussion Experiments

Ablation Study

sh experiments/jump_ablation_onerep/jump_ablation_onerep_A.sh   # Jump A
sh experiments/jump_ablation_prim/jump_ablation_prim_A.sh       # Jump B
sh experiments/jump_ablation_func/jump_ablation_func_A.sh       # Jump C
sh experiments/jump_ablation_both/jump_ablation_both_A.sh       # Jump D
sh experiments/jump_ablation_decoder/jump_ablation_decoder_A.sh # Jump E
sh experiments/turn_ablation_onerep/turn_ablation_onerep_A.sh   # TurnLeft A
sh experiments/turn_ablation_prim/turn_ablation_prim_A.sh       # TurnLeft B
sh experiments/turn_ablation_func/turn_ablation_func_A.sh       # TurnLeft C
sh experiments/turn_ablation_both/turn_ablation_both_A.sh       # TurnLeft D
sh experiments/turn_ablation_decoder/turn_ablation_decoder_A.sh # TurnLeft E

Influence on Other Tasks

sh experiments/simple_main/simple_main_A.sh
sh experiments/length_main/length_main_A.sh

cgps's People

Contributors

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