RicardoLee
commited on
Commit
•
7a35eb4
1
Parent(s):
e3db504
README modification, clarification for inference template
Browse files
README.md
CHANGED
@@ -43,6 +43,20 @@ Some details in training:
|
|
43 |
5. Initial Loss: 8.2499
|
44 |
6. Train Loss: 1.5674
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
## Licence
|
47 |
|
48 |
本仓库的模型依照 Apache-2.0 协议开源,模型的权重的使用则需要遵循LLama2[MODEL LICENCE](LICENSE)。
|
|
|
43 |
5. Initial Loss: 8.2499
|
44 |
6. Train Loss: 1.5674
|
45 |
|
46 |
+
## Inference
|
47 |
+
|
48 |
+
该模型依然采用stanford alpaca 模版。因此在测试时且别忘记添加开场白。开场白如下:
|
49 |
+
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
|
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 |
+
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
|
56 |
+
|
57 |
+
For dialogue with context, the prelogue template is:
|
58 |
+
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"
|
59 |
+
|
60 |
## Licence
|
61 |
|
62 |
本仓库的模型依照 Apache-2.0 协议开源,模型的权重的使用则需要遵循LLama2[MODEL LICENCE](LICENSE)。
|