Update README.md
Browse files
README.md
CHANGED
@@ -87,7 +87,10 @@ pip install xtuner
|
|
87 |
|
88 |
#### Chat
|
89 |
|
|
|
|
|
90 |
```shell
|
|
|
91 |
xtuner chat hf meta-llama/Llama-2-7b-hf --adapter xtuner/Llama-2-7b-qlora-moss-003-sft --bot-name Llama2 --prompt-template moss_sft --with-plugins calculate solve search --command-stop-word "<eoc>" --answer-stop-word "<eom>" --no-streamer
|
92 |
```
|
93 |
|
|
|
87 |
|
88 |
#### Chat
|
89 |
|
90 |
+
> Don't forget to use `huggingface-cli login` and input your access token first to access Llama2! See [here](https://huggingface.co/docs/hub/security-tokens#user-access-tokens) to learn how to obtain your access token.
|
91 |
+
|
92 |
```shell
|
93 |
+
export SERPER_API_KEY="xxx" # Please get the key from https://serper.dev to support google search!
|
94 |
xtuner chat hf meta-llama/Llama-2-7b-hf --adapter xtuner/Llama-2-7b-qlora-moss-003-sft --bot-name Llama2 --prompt-template moss_sft --with-plugins calculate solve search --command-stop-word "<eoc>" --answer-stop-word "<eom>" --no-streamer
|
95 |
```
|
96 |
|