weizhepei commited on
Commit
16daed5
·
1 Parent(s): 3fe4dc9
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: /home/jovyan/workspace/PipeDec/checkpoint/Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-humaneval-stage-2
3
+ tags:
4
+ - alignment-handbook
5
+ - generated_from_trainer
6
+ datasets:
7
+ - meng-lab/Llama-3.1-8B-Instruct-humaneval
8
+ model-index:
9
+ - name: Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-humaneval-stage-3
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/uva-llm/huggingface/runs/86389vz6)
17
+ # Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-humaneval-stage-3
18
+
19
+ This model is a fine-tuned version of [/home/jovyan/workspace/PipeDec/checkpoint/Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-humaneval-stage-2](https://huggingface.co//home/jovyan/workspace/PipeDec/checkpoint/Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-humaneval-stage-2) on the meng-lab/Llama-3.1-8B-Instruct-humaneval dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 11.0822
22
+ - Loss Three Hop Layer 8 Head: 3.3949
23
+ - Loss Three Hop Layer 16 Head: 2.9406
24
+ - Loss Three Hop Layer 24 Head: 2.6311
25
+ - Loss Three Hop Layer 32 Head: 2.4800
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.005
45
+ - train_batch_size: 1
46
+ - eval_batch_size: 2
47
+ - seed: 42
48
+ - distributed_type: multi-GPU
49
+ - num_devices: 8
50
+ - gradient_accumulation_steps: 16
51
+ - total_train_batch_size: 128
52
+ - total_eval_batch_size: 16
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: cosine
55
+ - lr_scheduler_warmup_ratio: 0.1
56
+ - num_epochs: 100
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Loss Three Hop Layer 8 Head | Loss Three Hop Layer 16 Head | Loss Three Hop Layer 24 Head | Loss Three Hop Layer 32 Head |
61
+ |:-------------:|:-------:|:----:|:---------------:|:---------------------------:|:----------------------------:|:----------------------------:|:----------------------------:|
62
+ | 17.1204 | 9.6677 | 200 | 17.4024 | 4.0165 | 3.6938 | 5.0117 | 5.0980 |
63
+ | 11.7831 | 19.3353 | 400 | 12.4640 | 3.8214 | 3.1283 | 2.8095 | 3.0563 |
64
+ | 11.1082 | 29.0030 | 600 | 12.3118 | 3.4779 | 3.1955 | 2.9590 | 2.9857 |
65
+ | 10.9205 | 38.6707 | 800 | 11.9277 | 3.7709 | 3.0051 | 2.8893 | 2.6454 |
66
+ | 10.1281 | 48.3384 | 1000 | 11.6923 | 3.4574 | 2.9719 | 2.8398 | 2.7656 |
67
+ | 9.4147 | 58.0060 | 1200 | 11.2543 | 3.4058 | 2.9891 | 2.6593 | 2.5635 |
68
+ | 8.9315 | 67.6737 | 1400 | 11.0952 | 3.3972 | 2.9370 | 2.6327 | 2.4895 |
69
+ | 8.9092 | 77.3414 | 1600 | 11.1042 | 3.4010 | 2.9454 | 2.6344 | 2.4875 |
70
+ | 8.8371 | 87.0091 | 1800 | 11.0849 | 3.3957 | 2.9410 | 2.6311 | 2.4803 |
71
+ | 8.8213 | 96.6767 | 2000 | 11.0822 | 3.3949 | 2.9406 | 2.6311 | 2.4800 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.43.2
77
+ - Pytorch 2.6.0+cu124
78
+ - Datasets 3.2.0
79
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764b691c57e3c7bc8c5500d7101cf0cfb958bd1ea0c62d34e97454004172d9b7
3
+ size 251
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f1b9ef668fe9567f1581c6fb6e3b0e6b9aee0af40a0098038599218ea5abc0e
3
+ size 1019
generation_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:324483b31149f2d62161e2fa091349f0dab8dac13704351ef2fd0a7076aca7ce
3
+ size 284
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b1879f356aed350030bb40eb45ad362c89d9891096f79a3ab323d3ba5607668
3
+ size 4976698672
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09d433f650646834a83c580877bd60c6d1f88f7755305c12576b5c7058f9af15
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:fc1cdddd6bfa91128d6e94ee73d0ce62bfcdb7af29e978ddcab30c66ae9ea7fa
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:def5a66323f05573126b1167474f594f2a25b8fe0d4e3799f984fb66a8943e1c
3
+ size 1537238912
model.safetensors.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a73762db236f8b17ed4982473f1f89d9796efcdf6c927fb938396a7787e80072
3
+ size 24945
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:208d307467cabecb563e033fdb478b7c11a1bc6eca9a9c761bf6a303ccfce4c1
3
+ size 439
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79e3e522635f3171300913bb421464a87de6222182a0570b9b2ccba2a964b2b4
3
+ size 9085657
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d67100f4fc8212c9bca4aea3c80348d0269240c483f96da7d8065104322391dc
3
+ size 50938
train_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764b691c57e3c7bc8c5500d7101cf0cfb958bd1ea0c62d34e97454004172d9b7
3
+ size 251
trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4614b4db25f4687b26b5ce5e7b429a2e9d8988d35f9a983caaff8d65ad5b1df2
3
+ size 166241
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b36b6a8ebe5124aa9786c1fcf7ac4bd0d159de22f7a84e1aa20fbbdba6f02ae
3
+ size 6904