Coder Social home page Coder Social logo

meta-mo's Introduction

Meta-MO

Data and Code for "Meta Learning for Low Resource Molecular Optimization" paper

The 'data' folder contains our bioactivity molecular optimization dataset

Requirements

Note: Create a new environment for the project, find location of torchtext package, and replace (batch.py, field.py and iterator.py) in 'data' folder of torchtext with corresponding code files in 'replace_torchtext' folder

python=3.6.10
pytorch=1.1.0
torchtext=0.5.0
rdkit=2017.09.1
networkx=2.4
numpy=1.18.1
...(Install others if required)

Run the code

  1. run prepare_data.py to preprocess the dataset
  2. run mo_meta_train.sh to do meta learning model pre-train (mo_all_train.sh -> multi-task pre-training)
  3. run mo_meta_dev.sh to do meta validation (mo_all_dev.sh -> multi-task validation)
  4. run mo_meta_test.sh to do meta test on test tasks (mo_all_test.sh -> multi-task test)
  5. run mo_meta_dev_zs.sh and mo_meta_test_zs.sh to do zero-shot meta learning validation and test (mo_all_dev_zs.sh, mo_all_test_zs.sh -> zeroshot multi-task validation and test)

meta-mo's People

Contributors

plus-w avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

aspirincode

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.