We are ByteDance Seed team.
You can get to know us better through the following channels👇
This is the source repository for ByteFF-Pol.
- ByteFF-Pol is a polarizable force field parameterized by a graph neural network (GNN), trained on high-level quantum mechanics (QM) data, thus eliminating the need for experimental calibration. ByteFF-Pol achieves exceptional accuracy in predicting the thermodynamic and transport properties of small-molecule liquids and electrolytes, outperforming SOTA traditional and ML force fields.
[2025/08/25]🔥We release ByteFF-Pol.
- Python version >= 3.11
All required Python packages are listed in requirements.txt. To install them, run:
pip install -r requirements.txt
Download Gromacs from official website.
wget https://ftp.gromacs.org/gromacs/gromacs-2025.3.tar.gz
To install Gromacs, please refer to the official documentation.
tar xfz gromacs-2025.3.tar.gz
cd gromacs-2025.3
mkdir build
cd build
cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
make
make check
sudo make install
source /usr/local/gromacs/bin/GMXRC
To run ByteFF2, you need a customized version of OpenMM and OpenMM-VelocityVerlet.
-
Navigate to the
submodules/openmmdirectory:cd submodules/openmm -
Run the installation script:
./install.sh [OPENMM_DIR]
[OPENMM_DIR](optional): Installation path for OpenMM.- Default installation path is:
/usr/local/openmm
-
The script will:
- Compile and install the patched
openmm(v8.3.1) - Compile and install
openmm-velocityVerlet - Add required environment variables (
OPENMM_DIRandLD_LIBRARY_PATH) to your~/.bashrc
- Compile and install the patched
-
After installation, restart your terminal or run:
source ~/.bashrc
After successful installation, you should see:
Success: Installed OpenMM and openmm-velocityVerlet.
If you are in an environment without internet access, you can use the pre-packaged offline bundle hosted on GitHub with Git LFS.
Step 1: Clone the offline bundle and reassemble
# Install git-lfs if not already available
sudo apt install git-lfs
git lfs install
# Clone the offline bundle repository (downloads ~3.4 GB via LFS)
git clone https://github.com/junminchen/polff_offline.git
cd polff_offline
# Reassemble the split parts into a single archive
cat polff_offline_bundle.tar.gz.part* > polff_offline_bundle.tar.gzStep 2: Extract
tar xfz polff_offline_bundle.tar.gz
cd <extracted-project-directory>Step 3: Run the offline installation script
bash scripts/install_offline.shStep 4: Activate the environment
source ~/.bashrc
source /usr/local/gromacs/bin/GMXRC
export OPENMM_DIR=/usr/local/openmm
export LD_LIBRARY_PATH=$OPENMM_DIR/lib:$LD_LIBRARY_PATHNotes:
git-lfsmust be installed before cloning, otherwise only LFS pointer files will be downloaded.- The installation script requires
sudoprivileges to install Gromacs and OpenMM system-wide.- The extracted directory already contains
offline_deps/with all required dependencies.
The model and configuration file are available on HuggingFace byteff2.
To download the model and configuration file, run:
pip install -U "huggingface_hub[cli]"
hf download ByteDance-Seed/byteff2 --local-dir byteff2
You can refer to several examples in the · directory; more details are available in the README.md file for each example.
example/1_trainingcontains scripts for training ByteFF-Pol.example/2_compare_qmcontains scripts to compare QM and FF energies.example/3_write_paramscontains scripts to generate force field parameters using trained ByteFF-Pol model.example/4_MD_simulationscontains scripts for molecular dynamics (MD) simulations using ByteFF-Pol.example/5_similaritycontains scripts for similarity analysis using ByteFF-Pol.
You can verify the environments by running the tests:
make test
This project is licensed under the Apache License, Version 2.0.
If you find ByteFF-Pol or ByteFF is useful for your research and applications, feel free to give us a star ⭐ or cite us using:
@misc{zheng2025bridgingquantummechanicsorganic,
title = {Bridging Quantum Mechanics to Organic Liquid Properties via a Universal Force Field},
author = {Tianze Zheng and Xingyuan Xu and Zhi Wang and Xu Han and Zhenliang Mu and Ziqing Zhang and Sheng Gong and Kuang Yu and Wen Yan},
year = {2025},
eprint = {2508.08575},
archivePrefix = {arXiv},
primaryClass = {physics.comp-ph},
url = {https://arxiv.org/abs/2508.08575}
}
@Article{D4SC06640E,
author = {Tianze Zheng and Ailun Wang and Xu Han and Yu Xia and Xingyuan Xu and Jiawei Zhan and Yu Liu and Yang Chen and Zhi Wang and Xiaojie Wu and Sheng Gong and Wen Yan},
title = {Data-driven parametrization of molecular mechanics force fields for expansive chemical space coverage},
journal = {Chem. Sci.},
year = {2025},
pages = {-},
publisher = {The Royal Society of Chemistry},
doi = {10.1039/D4SC06640E},
url = {http://dx.doi.org/10.1039/D4SC06640E}
}
About ByteDance Seed Team
Founded in 2023, ByteDance Seed Team is dedicated to crafting the industry's most advanced AI foundation models. The team aspires to become a world-class research team and make significant contributions to the advancement of science and society.
