Skip to content

Commit

Permalink
doc: update README
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Apr 15, 2024
1 parent 1ce93ed commit 1ca50cd
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
gaianet-node/v2$ bash install_v2.sh
```

The output should look like below:
<details><summary> The output should look like below: </summary>

```console
[+] Downloading default config file ...
Expand Down Expand Up @@ -50,6 +50,8 @@ WasmEdge binaries accessible
################################################################################################## 100.0%
```

</details>

## gaianet.sh

```bash
Expand Down Expand Up @@ -97,7 +99,7 @@ bash gaianet.sh config chat_ctx_size 5120
gaianet-node/v2$ bash gaianet.sh init
```

The output should look like below:
<details><summary> The output should look like below: </summary>

```bash
[+] Downloading Llama-2-7b-chat-hf-Q5_K_M.gguf ...
Expand All @@ -121,13 +123,15 @@ The output should look like below:
* Recovery is done successfully
```

</details>

### Start GaiaNet-node

```bash
gaianet-node/v2$ bash gaianet.sh run
```

The output should look like below:
<details><summary> The output should look like below: </summary>

```bash
[+] Starting Qdrant instance ...
Expand All @@ -144,13 +148,15 @@ wasmedge --dir .:./dashboard --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q
LlamaEdge API Server started with pid: 39796
```

</details>

### Stop GaiaNet-node

```bash
gaianet-node/v2$ bash gaianet.sh stop
```

The output should look like below:
<details><summary> The output should look like below: </summary>

```bash
[+] Stopping Qdrant instance ...
Expand All @@ -162,3 +168,5 @@ To force stop the GaiaNet-node, use the following command:
```bash
gaianet-node/v2$ bash gaianet.sh stop --force
```

</details>

0 comments on commit 1ca50cd

Please sign in to comment.