Skip to content

wei0py/mpnn

 
 

Repository files navigation

Neural Message Passing for Quantum Chemistry

Based on the article proposed by Gilmer et al. [1] and the code of nmp_qc project from Pau Riba and Anjan Dutta, we explored some other methods to improve the performance. The methodology includes two parts: Feature Engineering and Network Architecture Design.

  • Feature Engineering

  • Network Architecture Design

The main part of these methods implemented could be found in models/MPNN_attn.py and datasets/utils.py.

Installation

$ pip install -r requirements.txt

Run the script

$ python main.py

$ python main.py --epochs 100 --mpnn --e_rep 6

$ python main.py --epochs 100 --mpnnattn --method_attn 3 --num_heads 8 --e_rep 6

(method_attn: 1, 2, 3, 4, 5 supported now)
(e_rep: 1, 2, 3, 4, 5, 6 supported now)

More argument information could be find in main.py.

Installation of rdkit

Running any experiment using QM9 dataset needs installing the rdkit package, which can be done following the instructions available here

Data

The data used in this project can be downloaded here.

Bibliography

Authors

  • Buyu Zhang (@wei0py)
  • Zheyu Lu (@Nsigma-Bill)

About

Neural Message Passing for quantum Chemistry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%