MMLWC (machine learning Wannier center)
Project description
About MLWC
MLWC is a package written in Python/C++, designed to calculate the dielectric properties of various materials combined with molecular dynamics. This package construct deep learning models using the Wannier centers calculated from DFT as training data to predict the dipole moments of the system with high accuracy and efficiency.
For more information, please check the documentation.
Features
- interfaced with DFT packages, including CPMD and Quantum Espresso.
- implements the chemical bond-based approach, enabling high accuracy on finite and extended, small and large molecular systems.
- implements openMP and GPU supports, making it highly efficient for high-performance parallel and distributed computing.
- scripted using Pytorch, allowing for fast training with python and prediction with C++.
Command lines
CPml.py: Main command to train&test models.dieltools: C++ interface for predicting bond dipoles.CPextract.py: To retrieving data from DFT codes anddieltools.CPmake.py: To make input files for DFT codes.
Documentation
Please visit the following webpage for installation and usages.
Installation
Python commands are easily installed via pip as
git clone https://github.com/dirac6582/dieltools
cd dieltools
pip install .
For C++ interface, we support CMake. Please read the online documentation for details.
Usage
For simple instruction and sample input files, see examples directory. Also, following commands output sample input files for each command.
CPtrain.py sample
CPmake.py sample
For detailed explanations, please explore the website.
Code structure
The repository is organized as follows:
docs: documentations.examples: examples.examples/tutorial: examples for tutorials explained in documentations.src/cpp: source code of C++ interface.src/cmdline: source code of python commandline.src/cpmd: source code for data processing.src/ml: source code for deep neural network.src/diel: source code for calculating dielectric property.script: additional scripts for developers.test: additional files for developers.
Future issues
- Interface with
VASP,Wannier90. LAMMPSintegration for C++ interface.
License and credits
The project MLWC is licensed under GNU LGPLv3.0. If you use this code in any future publication, please cite the following publication:
Authors
- Tomohito Amano (The University of Tokyo)
- Tamio Yamazaki (JSR-UTokyo Collaboration Hub, CURIE, JSR Corporation)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlwc-0.1.0.tar.gz.
File metadata
- Download URL: mlwc-0.1.0.tar.gz
- Upload date:
- Size: 228.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a052289e67ad1f30a7659d4122bec501265c6f4a516c901f800dbc40ee7f1e45
|
|
| MD5 |
2fc9c66f819b7621f478cd0270fc7665
|
|
| BLAKE2b-256 |
4927a9b3a2be23a790b6b6366cfd88c60df183e7da2e026972310a6be88132fe
|
File details
Details for the file MLWC-0.1.0-py3-none-any.whl.
File metadata
- Download URL: MLWC-0.1.0-py3-none-any.whl
- Upload date:
- Size: 282.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c982e913bdf213418b91e13e92ba11081b23d38710a34188c1bda8223359e06c
|
|
| MD5 |
49f2abc7d95ef115468f39612aad87f0
|
|
| BLAKE2b-256 |
c05ec0225d761c4c7c83389055f573997fe920c506d37b2ea149bb2c28b6e79b
|