RicardoLee
commited on
Commit
•
1950e5a
1
Parent(s):
b64445e
README rectify: Add inference template clarification
Browse files
README.md
CHANGED
@@ -41,6 +41,24 @@ Some details in training:
|
|
41 |
5. Initial Loss: 8.7072
|
42 |
6. Train Loss: 1.5674
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
## Licence
|
45 |
|
46 |
本仓库的模型依照 Apache-2.0 协议开源,模型的权重的使用则需要遵循LLama2[MODEL LICENCE](LICENSE)。
|
|
|
41 |
5. Initial Loss: 8.7072
|
42 |
6. Train Loss: 1.5674
|
43 |
|
44 |
+
## Inference
|
45 |
+
|
46 |
+
该模型依然采用stanford alpaca 模版。因此在测试时且别忘记添加开场白。开场白如下:
|
47 |
+
|
48 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n\n${Your Content}\n\n### Response:\n\n"
|
49 |
+
|
50 |
+
对于带上文的对话,开场白如下:
|
51 |
+
|
52 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n\nHuman:${Previous Human Content}\nAssistant:${Previous Assistance Content}\nHuman:${Your Question}\n\n### Response:\n\n"
|
53 |
+
|
54 |
+
This model still using the Stanford Alpaca template. Therefore, don't forget to add prologue template. The prologue template is:
|
55 |
+
|
56 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n\n${Your Content}\n\n### Response:\n\n"
|
57 |
+
|
58 |
+
For dialogue with context, the prelogue template is:
|
59 |
+
|
60 |
+
"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n\nHuman:${Previous Human Content}\nAssistant:${Previous Machine Content}\nHuman:${Your Question}\n\n### Response:\n\n"
|
61 |
+
|
62 |
## Licence
|
63 |
|
64 |
本仓库的模型依照 Apache-2.0 协议开源,模型的权重的使用则需要遵循LLama2[MODEL LICENCE](LICENSE)。
|