Git Product home page Git Product logo

o-gnn's Introduction

$\mathcal{O}$-GNN: Incorporating Ring Priors into Molecular Modeling

This repository contains the code for $\mathcal{O}$-GNN: Incorporating Ring Priors into Molecular Modeling, which is introduced in ICLR2023.

If you find this work helpful in your research, please cite as:

@inproceedings{
zhu2023mathcalognn,
title={\${\textbackslash}mathcal\{O\}\$-{GNN}: incorporating ring priors into molecular modeling},
author={Jinhua Zhu and Kehan Wu and Bohan Wang and Yingce Xia and Shufang Xie and Qi Meng and Lijun Wu and Tao Qin and Wengang Zhou and Houqiang Li and Tie-Yan Liu},
booktitle={The Eleventh International Conference on Learning Representations },
year={2023},
url={https://openreview.net/forum?id=5cFfz6yMVPU}
}

Requirements and Installation

  • PyTorch
  • Torch-Geometric
  • RDKit

You can build a Docker image with our Dockerfile, and install our code and develop it locally

pip install -e . 

Training

We provided the example training command on PCQM4Mv1 dataset

bash run_training.sh --prefix iclr \
    --batch-size 512 --dropout 0.0 --pooler-dropout 0.0 \
    --init-face --use-bn --epochs 300 --num-layers 12 --lr 0.0003 \
    --weight-decay 0.1 --beta2 0.999 --num-workers 1 \
    --mlp-hidden-size 512 --lr-warmup \
    --use-adamw --node-attn --period 25

o-gnn's People

Contributors

teslacool avatar o-gnn avatar

Stargazers

Zhenyu He avatar Jiacheng Lin avatar Lijun Wu 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.