AnonyResearcher commited on
Commit
36554c9
·
1 Parent(s): aa3257c
.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,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.1
3
+ base_model: meta-llama/Llama-3.1-8B-Instruct
4
+ tags:
5
+ - alignment-handbook
6
+ - generated_from_trainer
7
+ datasets:
8
+ - meng-lab/Llama-3.1-8B-Instruct-gsm8k
9
+ model-index:
10
+ - name: Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-gsm8k
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ [<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/aofsi06v)
18
+ # Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-gsm8k
19
+
20
+ This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on the meng-lab/Llama-3.1-8B-Instruct-gsm8k dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 6.0386
23
+ - Loss Layer 4 Head: 1.7920
24
+ - Loss Layer 8 Head: 1.4613
25
+ - Loss Layer 12 Head: 1.4113
26
+ - Loss Layer 16 Head: 0.7502
27
+ - Loss Layer 20 Head: 0.3285
28
+ - Loss Layer 24 Head: 0.1760
29
+ - Loss Layer 28 Head: 0.0876
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 0.005
49
+ - train_batch_size: 1
50
+ - eval_batch_size: 2
51
+ - seed: 42
52
+ - distributed_type: multi-GPU
53
+ - num_devices: 4
54
+ - gradient_accumulation_steps: 32
55
+ - total_train_batch_size: 128
56
+ - total_eval_batch_size: 8
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: cosine
59
+ - lr_scheduler_warmup_ratio: 0.1
60
+ - num_epochs: 100
61
+
62
+ ### Training results
63
+
64
+ | Training Loss | Epoch | Step | Validation Loss | Loss Layer 4 Head | Loss Layer 8 Head | Loss Layer 12 Head | Loss Layer 16 Head | Loss Layer 20 Head | Loss Layer 24 Head | Loss Layer 28 Head |
65
+ |:-------------:|:-------:|:----:|:---------------:|:-----------------:|:-----------------:|:------------------:|:------------------:|:------------------:|:------------------:|:------------------:|
66
+ | 5.3945 | 23.6162 | 200 | 7.0517 | 2.0468 | 1.7131 | 1.5892 | 0.8683 | 0.4093 | 0.2547 | 0.1286 |
67
+ | 3.8702 | 47.2325 | 400 | 6.2998 | 1.8651 | 1.5127 | 1.4674 | 0.7790 | 0.3461 | 0.1892 | 0.1047 |
68
+ | 3.146 | 70.8487 | 600 | 6.0631 | 1.8044 | 1.4661 | 1.4136 | 0.7520 | 0.3300 | 0.1769 | 0.0885 |
69
+ | 3.0395 | 94.4649 | 800 | 6.0386 | 1.7920 | 1.4613 | 1.4113 | 0.7502 | 0.3285 | 0.1760 | 0.0876 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.43.2
75
+ - Pytorch 2.4.1+cu121
76
+ - Datasets 3.0.1
77
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ce6832f3b45cee2b36fef94e4cd68ce6d40c146fc2ad9fe47f3e5ba8787c567
3
+ size 247
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0853bee540c88980a875e719009ab014f3e2705748fc076a98348bbebc7eaabc
3
+ size 951
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:0c7f64b205ea3ac4203253820b3235e399e8e3581de83cc99bf6e3132bd91ed4
3
+ size 1403020632
model.safetensors.index.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03816fe763739367a4a05039e17c75cfc4d7d9388d4aa56bf8aaab0952e3d0b
3
+ size 24522
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b1835caa5b4d70acaa210fa222b0036f1882f9525c4660fd4810fb3e1e40ff8
3
+ size 325
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:1ce6832f3b45cee2b36fef94e4cd68ce6d40c146fc2ad9fe47f3e5ba8787c567
3
+ size 247
trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:928b1c2466b2d6b8bbb942e2a738f19e6661f5ada595dde8473dc122e479833c
3
+ size 84749
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21e7a2592545ceb5df1047b96ac0c9109ec8ccb2cb0cd23493da06eab5ceff2e
3
+ size 6840