hawei_LinkedIn
commited on
Commit
·
6ade107
1
Parent(s):
5267aa3
upload model weights and model card
Browse files- .gitattributes +3 -0
- README.md +105 -0
- benchmark_results_meta_pretrain.json +3 -0
- benchmark_results_zh_pretrain_multishot.json +3 -0
- config.json +3 -0
- evaluation_results.json +3 -0
- generation_config.json +3 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +3 -0
- plots/alignment_worst.png +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
38 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,108 @@
|
|
1 |
---
|
2 |
license: llama3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: llama3.1
|
3 |
+
datasets:
|
4 |
+
- survivi/Llama-3-SynE-Dataset
|
5 |
+
- hfl/stem_zh_instruction
|
6 |
+
- llamafactory/alpaca_zh
|
7 |
+
- llamafactory/alpaca_gpt4_zh
|
8 |
+
- hfl/ruozhiba_gpt4
|
9 |
+
- codingsteven/Llama-3-8B-chat
|
10 |
+
language:
|
11 |
+
- zh
|
12 |
+
base_model:
|
13 |
+
- meta-llama/Llama-3.1-8B-Instruct
|
14 |
+
model-index:
|
15 |
+
- name: Control-LLM-Llama3.1-8B-SynE-Full-Parameter-Tuning
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
type: pretraining-evaluation
|
19 |
+
dataset:
|
20 |
+
type: mixed
|
21 |
+
name: Pretraining Evaluation Dataset
|
22 |
+
metrics:
|
23 |
+
- name: exact_match,strict-match (meta_pretrain)
|
24 |
+
type: exact_match
|
25 |
+
value: 0.45445720757159036
|
26 |
+
stderr: 0.0035036029889520047
|
27 |
+
verified: false
|
28 |
+
- name: exact_match,strict-match (meta_bbh_3shot_cot_pretrain)
|
29 |
+
type: exact_match
|
30 |
+
value: 0.6482875134387959
|
31 |
+
stderr: 0.005918167158231359
|
32 |
+
verified: false
|
33 |
+
- name: acc,none (meta_mmlu_5shot_pretrain)
|
34 |
+
type: accuracy
|
35 |
+
value: 0.649480131035465
|
36 |
+
stderr: 0.004026616190778244
|
37 |
+
verified: false
|
38 |
+
- name: exact_match,strict-match (meta_mmlu_pro_5shot_pretrain)
|
39 |
+
type: exact_match
|
40 |
+
value: 0.34956781914893614
|
41 |
+
stderr: 0.004347262544061378
|
42 |
+
verified: false
|
43 |
+
- task:
|
44 |
+
type: chinese-evaluation
|
45 |
+
dataset:
|
46 |
+
type: mixed
|
47 |
+
name: Chinese Evaluation Dataset
|
48 |
+
metrics:
|
49 |
+
- name: acc,none (ceval-valid)
|
50 |
+
type: accuracy
|
51 |
+
value: 0.5898959881129272
|
52 |
+
stderr: 0.012699457390113113
|
53 |
+
verified: false
|
54 |
+
- name: exact_match,strict-match (ceval-valid-pretrain-cot_zh)
|
55 |
+
type: exact_match
|
56 |
+
value: 0.40193164933135217
|
57 |
+
stderr: 0.01265090064840271
|
58 |
+
verified: false
|
59 |
+
- name: acc,none (cmmlu)
|
60 |
+
type: accuracy
|
61 |
+
value: 0.6018822310481782
|
62 |
+
stderr: 0.004420298073040671
|
63 |
+
verified: false
|
64 |
+
- name: exact_match,strict-match (cmmlu_pretrain_cot_zh)
|
65 |
+
type: exact_match
|
66 |
+
value: 0.4425833189431877
|
67 |
+
stderr: 0.004506238417180843
|
68 |
+
verified: false
|
69 |
+
|
70 |
---
|
71 |
+
# Control-LLM-Llama3.1-8B-SynE-Full-Parameter-Tuning
|
72 |
+
This is a fine-tuned model of Llama-3.1-8B for muliligual-Chinese tasks on SynE dataset.
|
73 |
+
|
74 |
+
## Evaluation Results
|
75 |
+
Here is an overview of the evaluation results and findings:
|
76 |
+
|
77 |
+
### Benchmark Results Table
|
78 |
+
|
79 |
+
The table below summarizes evaluation results across Chinese tasks and original capabilities.
|
80 |
+
|
81 |
+
| **Model** | **CEval** | **CEvalC** | **CMMLU** | **CMMLUC** | **C-Avg** | **BBH** | **MLU** | **MLUP** | **O-Avg** | **Overall** |
|
82 |
+
|--------------------|-----------|------------|-----------|------------|-----------|---------|---------|----------|-----------|-------------|
|
83 |
+
| Llama3.1-8B | 48.3 | 12.8 | 51.1 | 14.1 | 13.9 | 65.2 | 65.4 | 35.5 | 45.9 | 29.9 |
|
84 |
+
| Llama-3-SynE | 57.7 | 22.3 | 57.1 | 22.8 | 22.8 | 61.9 | 64.0 | 32.6 | 42.9 | 32.9 |
|
85 |
+
| **Full Param Tune**| 59.0 | 40.2 | **60.2** | 44.3 | 43.8 | 64.8 | 64.9 | 35.0 | 45.4 | 44.6 |
|
86 |
+
| Stack Expansion | 56.0 | 32.7 | 55.2 | 33.4 | 33.3 | 62.3 | 65.6 | 35.3 | 44.8 | 39.1 |
|
87 |
+
| Concat-Lerp* | 57.1 | 34.8 | 57.0 | 37.4 | 37.1 | 64.4 | 64.6 | 35.8 | 45.9 | 41.5 |
|
88 |
+
| **Hybrid Expansion**| **58.9** | 44.7 | 57.9 | 44.3 | 44.4 | 65.1 | **65.7**| 36.9 | 46.8 | 45.6 |
|
89 |
+
| **Control LLM*** | 57.0 | **44.7** | 56.0 | **44.9** | **44.8** | **68.2**| 65.6 | **37.9** | **48.5** | **46.7** |
|
90 |
+
|
91 |
+
---
|
92 |
+
|
93 |
+
### Explanation:
|
94 |
+
- **CEval**: Chinese Evaluation
|
95 |
+
- **CEvalC**: Chinese Evaluation (CoT - Chain of Thought)
|
96 |
+
- **CMMLU**: Chinese MMLU
|
97 |
+
- **CMMLUC**: Chinese MMLU (CoT)
|
98 |
+
- **C-Avg**: Chinese - Size Weighted Average across CEval, CEvalC, CMMLU, and CMMLUC
|
99 |
+
- **BBH**: BigBench Hard
|
100 |
+
- **MLU**: MMLU (Massive Multitask Language Understanding)
|
101 |
+
- **MLUP**: MMLU Pro
|
102 |
+
- **O-Avg**: Original Capability - Size Weighted Average across BBH, MLU, and MLUP
|
103 |
+
- **Overall**: Combined average across all tasks
|
104 |
+
|
105 |
+
### Full Parameter Tuning on Chinese-SynE
|
106 |
+
The following plot illustrates the Catastrophic Forgetting of full parameter tuning in terms of hidden states alignment drift.
|
107 |
+
|
108 |
+
![Catastrophic Forgetting](plots/alignment_worst.png)
|
benchmark_results_meta_pretrain.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7916c730157224a6f72f8d60aff0c1d85f6ea5e86efe41e809c1e66e3f929b21
|
3 |
+
size 14565
|
benchmark_results_zh_pretrain_multishot.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f697052882bb3e25d7c21f8e23f83ead3c57d63ab06151b1fd2b61165788aa1f
|
3 |
+
size 483144
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:536db8dbb2eae8b6922e32ea3eba9d303422677e29f21e6049988173d932dfd7
|
3 |
+
size 1217
|
evaluation_results.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3885e1161b8caa9d7fc15ada0297eccced2ab412529e28d9a139a101a1e5012
|
3 |
+
size 272
|
generation_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:876653772dee958707f51e8a0aebd2a6ec7f3e3cbc1d35986a55b9134814ccbe
|
3 |
+
size 143
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3da6a639ee54a080233f00599f656ae4f20fac5648e4f5371d190a3f241d3da
|
3 |
+
size 4976660480
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da14a1f7573e82c206341761cbf8ab9cf8104e707706fbba42aef6b8f3f819b7
|
3 |
+
size 4999802720
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:111cb952aafc85e16e97fea6582f456058049d5c41854c7d951009fdf61c6017
|
3 |
+
size 4915916176
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:805698261ddf30b477e262172b4c40e011f67d7d948a6850741431b49bb410ec
|
3 |
+
size 1168155192
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95e675e9f23a294baff7e3a614ae39e4cef7f2b7aef18cf8baf18515eec29ef1
|
3 |
+
size 23950
|
plots/alignment_worst.png
ADDED
Git LFS Details
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:602e9a79a0ea636f1a1aafdc524ee6919d17b1c5c737d81332b1aaf5927122cf
|
3 |
+
size 577
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a200d62d1a1177908f4310d7e367f0194d474db0038dc1f2f2434a3ef74af7d9
|
3 |
+
size 17210284
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1db3384732a446ad1fb56b15ec603920b13f148d7be21cda2c67857a9b7afe61
|
3 |
+
size 50969
|