Update README.md
Browse files
README.md
CHANGED
@@ -48,8 +48,8 @@ gen_config = GenerationConfig(max_new_tokens=1024, do_sample=True, temperature=0
|
|
48 |
# Note: In this example, we disable the use of plugins because the API depends on additional implementations.
|
49 |
# If you want to experience plugins, please refer to XTuner CLI!
|
50 |
prompt_template = (
|
51 |
-
'You are an AI assistant whose name is
|
52 |
-
'Capabilities and tools that
|
53 |
'- Inner thoughts: disabled.\n'
|
54 |
'- Web search: disabled.\n'
|
55 |
'- Calculator: disabled.\n'
|
@@ -88,7 +88,7 @@ pip install xtuner
|
|
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
|
92 |
```
|
93 |
|
94 |
#### Fine-tune
|
|
|
48 |
# Note: In this example, we disable the use of plugins because the API depends on additional implementations.
|
49 |
# If you want to experience plugins, please refer to XTuner CLI!
|
50 |
prompt_template = (
|
51 |
+
'You are an AI assistant whose name is Llama2.\n'
|
52 |
+
'Capabilities and tools that Llama2 can possess.\n'
|
53 |
'- Inner thoughts: disabled.\n'
|
54 |
'- Web search: disabled.\n'
|
55 |
'- Calculator: disabled.\n'
|
|
|
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 |
|
94 |
#### Fine-tune
|