Update README.md
Browse files
README.md
CHANGED
@@ -11,8 +11,11 @@ My model trained on "garage-bAInd/Open-Platypus" data.
|
|
11 |
I have taken 1000 samples to fine tune LLaMA-2-7b.
|
12 |
|
13 |
Prompt which i used for prepare dataset:
|
|
|
14 |
def chat_template(example):
|
|
|
15 |
example["instruction"] = f"### Instruction:\n{example['instruction']}\n\n### Response:\n"
|
|
|
16 |
return example
|
17 |
|
18 |
dataset= dataset.map(chat_template)
|
|
|
11 |
I have taken 1000 samples to fine tune LLaMA-2-7b.
|
12 |
|
13 |
Prompt which i used for prepare dataset:
|
14 |
+
|
15 |
def chat_template(example):
|
16 |
+
|
17 |
example["instruction"] = f"### Instruction:\n{example['instruction']}\n\n### Response:\n"
|
18 |
+
|
19 |
return example
|
20 |
|
21 |
dataset= dataset.map(chat_template)
|