GithubHelp home page GithubHelp logo

clcl's Introduction

Compositional Language Continual Learning

Li, Y., Zhao, L., Church, K., and Elhoseiny, M. Compositional language continual learning. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=rklnDgHtDS.

Dependencies

The code needs TensorFlow, and the following requirments.

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

Instruction Learning Experiments

# Please fix CUDA_VISIBLE_DEVICES in the scrips.
python sequential_data_generator.py --data_name data_scan
sh experiments_scan/main_proposed_scan/main_proposed_scan.a.sh
sh experiments_scan/baseline_Standard_scan/baseline_Standard_scan.a.sh
sh experiments_scan/baseline_Compositional_scan/baseline_Compositoinal_scan.a.sh
sh experiments_scan/baseline_EWC_scan/baseline_EWC_scan.a.sh
sh experiments_scan/baseline_MAS_scan/baseline_MAS_scan.a.sh

# Plotting results
python scan_evalutation_plot.py

Machine Translation Experiments

# Please fix CUDA_VISIBLE_DEVICES in the scrips.
python sequential_data_generator.py --data_name data_translate
sh experiments_translate/main_proposed_translate/main_proposed_translate.a.sh
sh experiments_translate/baseline_Standard_translate/baseline_Standard_translate.a.sh
sh experiments_translate/baseline_Compositional_translate/baseline_Compositoinal_translate.a.sh
sh experiments_translate/baseline_EWC_translate/baseline_EWC_translate.a.sh
sh experiments_translate/baseline_MAS_translate/baseline_MAS_translate.a.sh

# Plotting results
python machine_translation_evalutation_plot.py

Visualization

# Visualize attention maps
sh continual_learning_attension_visualization.sh

# Visualize embeddings
sh continual_learning_embedding_visualization.sh

clcl's People

Contributors

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