Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
---
|
7 |
+
Install Libs: !pip install -q -U transformers datasets accelerate peft trl bitsandbytes
|
8 |
+
|
9 |
+
My model trained on "garage-bAInd/Open-Platypus" data.
|
10 |
+
|
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)
|