frankminors123 commited on
Commit
e359677
1 Parent(s): 824e824

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -11,9 +11,10 @@ We implemented SFT based on our [Chinese-CodeLlama-7B-PT](https://huggingface.co
11
 
12
  In addition, we designed appropriate Chinese prompt template for coding tasks, and during the fine-tuning stage, `memory efficient attention` was applied which save us a lot of GPU memory space.
13
 
14
- The Chinese prompt template is shown below:
15
-
16
- '''
17
- 下面是描述一项任务的指令,并且与一则输入配对用来提供更多的上下文。请给出尽可能满足请求的回答.\n"
18
- "### 指令:\n{instruction}\n### 输入:\n{input}\n### 回答:\n"
19
- '''
 
 
11
 
12
  In addition, we designed appropriate Chinese prompt template for coding tasks, and during the fine-tuning stage, `memory efficient attention` was applied which save us a lot of GPU memory space.
13
 
14
+ The Chinese prompt template used is as follows:
15
+ ```python
16
+ PROMPT_TEMPLATE = (
17
+ "下面是描述一项任务的指令,并且与一则输入配对用来提供更多的上下文。请给出尽可能满足请求的回答.\n"
18
+ "### 指令:\n{instruction}\n### 输入:\n{input}\n### 回答:\n"
19
+ )
20
+ ```