frankminors123 commited on
Commit
5c9de66
1 Parent(s): 9ef04aa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -7,4 +7,12 @@ language:
7
  # Chinese-CodeLlama-7B-SFT-V2
8
 
9
  We added 7k+ Python code instructions and implemented SFT based on our [Chinese-CodeLlama-7B-SFT-V1](https://huggingface.co/frankminors123/Chinese-CodeLlama-7B-SFT-V1). Drawing on the work of [code-llama](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/), we increased
10
- the base period of rotary positional embeddings (RoPE) from 10000 to 1000000.
 
 
 
 
 
 
 
 
 
7
  # Chinese-CodeLlama-7B-SFT-V2
8
 
9
  We added 7k+ Python code instructions and implemented SFT based on our [Chinese-CodeLlama-7B-SFT-V1](https://huggingface.co/frankminors123/Chinese-CodeLlama-7B-SFT-V1). Drawing on the work of [code-llama](https://ai.meta.com/research/publications/code-llama-open-foundation-models-for-code/), we increased
10
+ the base period of rotary positional embeddings (RoPE) from 10000 to 1000000.
11
+
12
+ The Chinese prompt template used is as follows:
13
+ ```python
14
+ PROMPT_TEMPLATE = (
15
+ "下面是描述一项任务的指令,并且与一则输入配对用来提供更多的上下文。请给出尽可能满足请求的回答.\n"
16
+ "### 指令:\n{instruction}\n### 输入:\n{input}\n### 回答:\n"
17
+ )
18
+ ```