Views
No views yet
| Model | GeneralizationError - ForceField↓ | GeneralizationError - PropertyCalculation↓ | Efficiency↑ | Instability↓ |
|---|---|---|---|---|
| DPA-3.1-3M | 0.187 | 0.293 | 0.261 | 0.000 |
| DPA-3.2-5M | 0.147 | 0.260 | 0.200 | 0.000 |
| Model | MAE (kcal/mol) ↓ | RMSE (kcal/mol) ↓ |
|---|---|---|
| DPA-3.1-3M | 1.722 | 2.239 |
| DPA-3.2-5M | 1.192 | 1.543 |
| Model | MAE (kcal/mol) ↓ | MAEB (kcal/mol) ↓ | NABH ↓ |
|---|---|---|---|
| DPA-3.1-3M | 0.338 | 0.551 | 76 |
| DPA-3.2-5M | 0.295 | 0.466 | 50 |
| Model | MAE ω_max ↓ | MAE S ↓ | MAE F ↓ | MAE Cv ↓ |
|---|---|---|---|---|
| DPA-3.1-3M | 13.24 | 13.06 | 4.03 | 3.88 |
| DPA-3.2-5M | 11.97 | 11.57 | 3.60 | 3.25 |
| Model | MAE Ea (eV) ↓ | MAE dE (eV) ↓ | φ_Transfer ↓ | φ_Dissociation ↓ | φ_Desorption ↓ |
|---|---|---|---|---|---|
| DPA-3.1-3M | 1.172 | 0.158 | 65.1 | 69.0 | 59.8 |
| DPA-3.2-5M | 1.183 | 0.164 | 69.7 | 75.3 | 63.0 |
1pip install torch torchvision torchaudio
2pip install git+https://github.com/deepmodeling/deepmd-kit@v3.1.2model-branch) in this pretrained model, use the following command:dp --pt show DPA-3.2-5M.pt model-branch1Available model branches are ['Domains_Alloy', 'Domains_Anode', 'Domains_Cluster', 'Domains_FerroEle',
2'Domains_SSE_PBE', 'Domains_SemiCond', 'H2O_H2O_PD', 'Metals_AlMgCu', 'Metals_AgAu_PBED3', 'Others_In2Se3',
3 'MPGen_OpenCSP', 'Alloy_APEX', 'SSE_ABACUS', 'Hybrid_Perovskite', 'Electrolyte', 'ODAC23', 'Alex2D', 'Omat24',
4'OC20M', 'OC22', 'Organic_Reactions', 'OMol25', 'MPTrj', 'RANDOM'], where 'RANDOM' means using a randomly
5initialized fitting net.
6
7+-------------------+---------------------------+--------------------------------+--------------------------------+
8| Model Branch | Alias | description | observed_type |
9+-------------------+---------------------------+--------------------------------+--------------------------------+
10| OMat24 | Default, Materials, | OMat24 is a large-scale open | ['H', 'He', 'Li', 'Be', 'B', |
11| | Omat24, materials, omat24 | dataset containing over 110 | 'C', 'N', 'O', 'F', 'Ne', |
12| | | million DFT calculations | 'Na', 'Mg', 'Al', 'Si', 'P', |
13| | | spanning diverse structures | 'S', 'Cl', 'Ar', 'K', 'Ca', |
14| | | and compositions. It is | 'Sc', 'Ti', 'V', 'Cr', 'Mn', |
15| | | designed to support AI-driven | 'Fe', 'Co', 'Ni', 'Cu', 'Zn', |
16| | | materials discovery by | 'Ga', 'Ge', 'As', 'Se', 'Br', |
17| | | providing broad and deep | 'Kr', 'Rb', 'Sr', 'Y', 'Zr', |
18| | | coverage of chemical space. | 'Nb', 'Mo', 'Tc', 'Ru', 'Rh', |
19| | | | 'Pd', 'Ag', 'Cd', 'In', 'Sn', |
20| | | | 'Sb', 'Te', 'I', 'Xe', 'Cs', |
21| | | | 'Ba', 'La', 'Ce', 'Pr', 'Nd', |
22| | | | 'Pm', 'Sm', 'Eu', 'Gd', 'Tb', |
23| | | | 'Dy', 'Ho', 'Er', 'Tm', 'Yb', |
24| | | | 'Lu', 'Hf', 'Ta', 'W', 'Re', |
25| | | | 'Os', 'Ir', 'Pt', 'Au', 'Hg', |
26| | | | 'Tl', 'Pb', 'Bi', 'Ac', 'Th', |
27| | | | 'Pa', 'U', 'Np', 'Pu'] |
28+-------------------+---------------------------+--------------------------------+--------------------------------+OMol25, you can first freeze the model branch from the multi-task pretrained model:dp --pt freeze -c DPA-3.2-5M.pt -o frozen_model.pth --model-branch OMol25dp --pt freeze -c DPA-3.2-5M.pt -o frozen_model.pth --model-branch omol251## Compute potential energy
2from ase.build import molecule
3from deepmd.calculator import DP as DPCalculator
4dp = DPCalculator("frozen_model.pth")
5
6singlet = molecule("CH2_s1A1d")
7
8#To set the total charge and spin multiplicity of a structure,
9#update fparam as [charge, multiplicity]. The default is [0, 1].
10singlet.info.update({"fparam": [0, 1]})
11
12singlet.calc = dp
13print(singlet.get_potential_energy())
14print(singlet.get_forces())
15
16## Run BFGS structure optimization
17from ase.optimize import BFGS
18dyn = BFGS(singlet)
19dyn.run(fmax=1e-6)
20print(singlet.get_positions())dp --pt change-bias to do zero-shot procedure, which will inherit the neural network parameters of the pretrained multitask model, but updating the energy bias to better align with the downstream system.dp --pt change-bias DPA-3.2-5M.pt -s <your_system> --model-branch OMat24--model-branch argument.dp --pt train input_finetune.json --finetune DPA-3.2-5M.pt --model-branch OMat24