Skip to content

Local chemical environment based machine-learning enabled parameterization of eXchange-Correlation density functionals

License

Notifications You must be signed in to change notification settings

kirk0830/Uni-Mol-XC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uni-Mol-XC

Uni-Mol-XC Logo

Introduction

This code interfaces with Uni-Mol, DPA3, and some other neural networks (to be added), and learns properties, such as functional parameters and Hubbard-U values, from geometries.

Installation

Build the package with the following steps:

  1. create virtual environment
  2. install dependencies in the order DeePMD-kit (torch backend), then Huggingface, UniMol-Tools, finally this package.
# create virtual environment
# such as conda
conda create -n mlxc python=3.10

# then activate it
conda activate mlxc

# install dependencies
# export CXX11_ABI_FLAG=1 (consistent with DeePMD-kit)
export CXX11_ABI_FLAG=1
# install PyTorch cpu version
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
# install DeePMD-kit
pip install git+https://github.com/deepmodeling/[email protected]

# install DPData
pip install dpdata

# install Huggingface
pip install huggingface_hub

# install UniMol-Tools
pip install unimol_tools --upgrade

# install this package
pip install .

Unit Test

# run unit test
bash .github/scripts/ut_driver.sh

About

Local chemical environment based machine-learning enabled parameterization of eXchange-Correlation density functionals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%