Giter Club home page Giter Club logo

pesnet's Introduction

Potential Energy Surface Network (PESNet)

Logo

Reference implementation of PESNet from

Ab-Initio Potential Energy Surfaces by Pairing GNNs with Neural Wave Functions
by Nicholas Gao, Stephan Günnemann
published as Spotlight at ICLR 2022.

and Planet and PESNet++ from

Sampling-free Inference for Ab-Initio Potential Energy Surface Networks
by Nicholas Gao, Stephan Günnemann
published at ICLR 2023

Generalizing Neural Wave Functions

If you're looking for the code of our ICML paper, please check out our globe repository.

Run the code

First install JAX and the correct CUDA Toolkit and CUDNN, then this package via

pip install -e .

You can now train a model, e.g., H2, via a config file

python train.py with configs/systems/h2.yaml print_progress=True

You can overwrite parameters either via CLI or via the config file. All progress is tracked on tensorboard.

Reproduce the experiments

We encourage the use of seml to manage all experiments but we also supply commands to run the experiments directly.

PESNet++ ablation study on N2

With seml:

seml n2_ablation add train_n2_ablation.yaml start

Without seml:

# PESNet
python train.py with configs/systems/n2.yaml \\
    init_method=pesnet \\
    pesnet.ferminet_params.activation=tanh \\
    pesnet.ferminet_params.input_config.mlp_activation=tanh \\
    pesnet.ferminet_params.jastrow_config=None \\
    pesnet.ferminet_params.determinants=32
# PESNet++ (default config)
python train.py with configs/systems/n2.yaml \\
    init_method=pesnet \\
    pesnet.ferminet_params.activation=silu \\
    pesnet.ferminet_params.input_config.mlp_activation=silu \\
    pesnet.ferminet_params.jastrow_config.n_layers=3 \\
    pesnet.ferminet_params.jastrow_config.activation=silu \\
    pesnet.ferminet_params.determinants=32

Potential Energy Surfaces

To run all experiments from the PlaNet paper with seml simply run:

seml pes add train_pes.yaml start

Contact

Please contact [email protected] if you have any questions.

Cite

Please cite our paper if you use our method or code in your own works:

@inproceedings{gao_pesnet_2022,
    title = {Ab-Initio Potential Energy Surfaces by Pairing GNNs with Neural Wave Functions},
    author = {Gao, Nicholas and G{\"u}nnemann, Stephan}
    booktitle = {International Conference on Learning Representations (ICLR)},
    year = {2022}
}
@inproceedings{gao_planet_2023,
    title = {Sampling-free Inference of Ab-initio Potential Energy Surface Networks},
    author = {Gao, Nicholas and G{\"u}nnemann, Stephan}
    booktitle = {International Conference on Learning Representations (ICLR)},
    year = {2023}
}

License

Hippocratic License v2.1


The logo is generated by Bing Image Creator.

pesnet's People

Contributors

n-gao avatar xiazhuozhao 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.