Skip to content

Commit 68e0ccb

Browse files
authored
Merge pull request #392 from JiahaoLi2003/patch-3
Update wiki.md
2 parents f880570 + 997d84c commit 68e0ccb

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

wiki.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ then start building a software by ``python3 run.py`` and go to [Visualizer Websi
149149
After this process, the experiences have been extracted from the production of software and added to the agents' experience pool in `ecl/memory/MemoryCards.json`.
150150
\
151151
**For example:**
152-
It you want to memorize only one software, you can use:
152+
If you want to memorize only one software, you can use:
153153
```bash
154154
python3 ecl/ecl.py "<Software Path to file>"
155155
```
@@ -187,6 +187,25 @@ After this process, the experiences have been extracted from the production of s
187187

188188
Detailed descriptions and experiment results about this **Experiential Co-Learning** Module lies in our preprint paper at https://arxiv.org/abs/2312.17025.
189189

190+
## Experiential Co-Evolving Guide
191+
- **Using Co-Evolving**: Use the following command to initiate the evolving of experiences, which uses the `ecl/ece.py` to eliminate `ecl/memory/UsedMemory.json` and `ecl/memory/NewMemory.json`. Then it combines the two parts of experiences to form a new experience pool in `ecl/memory/Evolved_directory.json`.
192+
193+
```bash
194+
python3 ecl/ece.py "<Path_directory>" "<UsedMemory_directory>" "<NewMemory_directory>" "<Evolved_directory>"
195+
```
196+
`<Path_directory>`: The path to the directory of software , generated with the memory `UsedMemory_directory`. \
197+
`<UsedMemory_directory>`: The path to the directory of UsedMemory, which was used to generate the software in `Path_directory`. \
198+
`<NewMemory_directory>`: The path to the directory NewMemory, which acquires from the software in `Path_directory` using `ecl/ecl.py`. \
199+
`<Evolved_directory>`: The path to a directory where you want to store the evolved memory.
200+
\
201+
**For example:**
202+
```bash
203+
python3 ecl/ece.py "WareHouse" "ecl/memory/UsedMemory.json" "ecl/memory/NewMemory.json" "ecl/memory/MemoryCards_Evolved.json"
204+
```
205+
> **Notice:** The software directory and memory directory must correspond. The software in the "<Path_directory>" is generated using "<UsedMemory_directory>", and the "<NewMemory_directory>" is acquired from the software in the "<Path_directory>". That's because when we calculate the frequency distribution of the experience, we need to ensure that the software corresponds to the experiences, which to eliminate certain experiences to obtain a subset with relatively high retrieval probability.
206+
207+
Detailed descriptions and experiment results about this Experiential Co-Evolving Module lies in our preprint paper at https://arxiv.org/abs/2405.04219.
208+
190209
## Customization
191210

192211
- You can customize your company in three kinds of granularity:

0 commit comments

Comments
 (0)