Commit
·
591ae1d
1
Parent(s):
de61537
Upload model
Browse files- README.md +8 -21
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
README.md
CHANGED
@@ -3,30 +3,17 @@ library_name: peft
|
|
3 |
base_model: 01-ai/Yi-6B-Chat
|
4 |
---
|
5 |
|
6 |
-
#
|
7 |
|
8 |
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
<|im_start|>assistant
|
18 |
-
```
|
19 |
-
|
20 |
-
## Prompt Template for Fine-tuning
|
21 |
-
|
22 |
-
```
|
23 |
-
<|im_start|>system
|
24 |
-
If you are a doctor, please answer the medical questions based on the patient's description.<|im_end|>
|
25 |
-
<|im_start|>user
|
26 |
-
{data_point["instruction"]}<|im_end|>
|
27 |
-
<|im_start|>assistant
|
28 |
-
{data_point["output"]}<|im_end|>
|
29 |
-
```
|
30 |
|
31 |
|
32 |
|
|
|
3 |
base_model: 01-ai/Yi-6B-Chat
|
4 |
---
|
5 |
|
6 |
+
# Model Card for Model ID
|
7 |
|
8 |
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
|
19 |
|
adapter_config.json
CHANGED
@@ -19,8 +19,8 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"
|
23 |
-
"
|
24 |
],
|
25 |
"task_type": "CAUSAL_LM"
|
26 |
}
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
+
"q_proj",
|
23 |
+
"v_proj"
|
24 |
],
|
25 |
"task_type": "CAUSAL_LM"
|
26 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 26231544
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75b7015098d6f831bd3ef0b8bc5a7dfe1ee037ed1c0058ecd6fcaf1de3405df3
|
3 |
size 26231544
|