Skip to content

Commit 7d5ddc2

Browse files
committed
update
1 parent 9e4cfc4 commit 7d5ddc2

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

README.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,25 @@ To integrate ABFML with LAMMPS, follow these steps:
5656
```
5757
**Note**: Ensure your GCC compiler is version 9.0 or above, as older versions may not support.
5858

59-
## 3. Run
59+
## 3. Build a new model
60+
Build your own model input in the input file and specify the path to the model's py file
61+
```json
62+
{
63+
"model_setting": {
64+
"name": "user_defined",
65+
"model_path": "D:/Work/PyCharm/ABFML/example/new-MLFF/LJ-model.py",
66+
"field_name": "LJ",
67+
"normal_name": "LJNormal",
68+
"descriptor" : {
69+
"epsilon": 1.0,
70+
"sigma": 1.5
71+
}
72+
}
73+
}
74+
```
75+
Then you can use the relevant modules for training, validation and simulation
76+
77+
## 4. Run
6078

6179
To run an example using ABFML, follow these steps:
6280
```bash
@@ -77,21 +95,4 @@ To run an example using ABFML, follow these steps:
7795
pair coeff * * 29 30
7896

7997
# Use the element number to represent the element type
80-
```
81-
## 4. Build a new model
82-
Build your own model input in the input file and specify the path to the model's py file
83-
```json
84-
{
85-
"model_setting": {
86-
"name": "user_defined",
87-
"model_path": "D:/Work/PyCharm/ABFML/example/new-MLFF/LJ-model.py",
88-
"field_name": "LJ",
89-
"normal_name": "LJNormal",
90-
"descriptor" : {
91-
"epsilon": 1.0,
92-
"sigma": 1.5
93-
}
94-
}
95-
}
96-
```
97-
Then you can use the relevant modules for training, validation and simulation
98+
```

0 commit comments

Comments
 (0)