Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,35 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- databricks/databricks-dolly-15k
|
5 |
+
- lucasmccabe-lmi/CodeAlpaca-20k
|
6 |
---
|
7 |
+
|
8 |
+
|
9 |
+
# Instruct_Yi-6B_Dolly15K
|
10 |
+
Fine-tuned from Yi-6B, used Dolly15k for the dataset. 90% for training, 10% validation. Trained for 2.0 epochs using Lora. Trained with 2048 context window. Compared with https://huggingface.co/HenryJJ/Instruct_Yi-6B_Dolly15K, I add additional CodeAlpaca_20K dataset that good at coding.
|
11 |
+
|
12 |
+
# Model Details
|
13 |
+
* **Trained by**: trained by HenryJJ.
|
14 |
+
* **Model type:** **Instruct_Yi-6B_Dolly15K** is an auto-regressive language model based on the Llama 2 transformer architecture.
|
15 |
+
* **Language(s)**: English
|
16 |
+
* **License for Instruct_Yi-6B_Dolly15K**: apache-2.0 license
|
17 |
+
|
18 |
+
|
19 |
+
# Prompting
|
20 |
+
|
21 |
+
## Prompt Template With Context
|
22 |
+
<|startoftext|>[INST]{instruction} {context}[/INST]{response}<|endoftext|>
|
23 |
+
|
24 |
+
```
|
25 |
+
<|startoftext|>[INST]
|
26 |
+
Write a 10-line poem about a given topic
|
27 |
+
The topic is about racecars
|
28 |
+
[/INST]
|
29 |
+
```
|
30 |
+
## Prompt Template Without Context
|
31 |
+
```
|
32 |
+
<|startoftext|>[INST]
|
33 |
+
Who was the was the second president of the United States?
|
34 |
+
[/INST]
|
35 |
+
```
|