Update README.md
Browse files
README.md
CHANGED
@@ -45,6 +45,8 @@ model = AutoModelForCausalLM.from_pretrained('Qwen/Qwen-7B', quantization_config
|
|
45 |
model = PeftModel.from_pretrained(model, 'xtuner/Qwen-7B-qlora-moss-003-sft')
|
46 |
gen_config = GenerationConfig(max_new_tokens=512, do_sample=True, temperature=0.1, top_p=0.75, top_k=40)
|
47 |
|
|
|
|
|
48 |
prompt_template = (
|
49 |
'You are an AI assistant whose name is Qwen.\n'
|
50 |
'Capabilities and tools that Qwen can possess.\n'
|
|
|
45 |
model = PeftModel.from_pretrained(model, 'xtuner/Qwen-7B-qlora-moss-003-sft')
|
46 |
gen_config = GenerationConfig(max_new_tokens=512, do_sample=True, temperature=0.1, top_p=0.75, top_k=40)
|
47 |
|
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 Qwen.\n'
|
52 |
'Capabilities and tools that Qwen can possess.\n'
|