Fan commited on
Commit
3106b28
·
1 Parent(s): 399c643

finetuned llama3.2-3b on lima with train set

Browse files
.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,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: meta-llama/Llama-3.2-3B-Instruct
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: lima
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
+ # lima
18
+
19
+ This model is a fine-tuned version of [meta-llama/Llama-3.2-3B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) on the lima_train dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.1396
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0001
41
+ - train_batch_size: 1
42
+ - eval_batch_size: 1
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 8
45
+ - total_train_batch_size: 8
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: cosine
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 3.0
50
+
51
+ ### Training results
52
+
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - PEFT 0.12.0
58
+ - Transformers 4.46.1
59
+ - Pytorch 2.5.1+cu124
60
+ - Datasets 3.1.0
61
+ - Tokenizers 0.20.3
adapter_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcae1cdc0ab630ade29b36af71ec6bdc306c14730e424c3ff59fcae008aecb64
3
+ size 733
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ac7ed54c9463801afe6e720e90fe461919b4e63070da4434b35bee9499c676
3
+ size 48679352
all_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6b7714e0ba53b9b2875f366c76517b7c0ff1ce33c78b98e97f34bf1a5495f08
3
+ size 346
checkpoint-270/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: meta-llama/Llama-3.2-3B-Instruct
3
+ library_name: peft
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
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.12.0
checkpoint-270/adapter_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcae1cdc0ab630ade29b36af71ec6bdc306c14730e424c3ff59fcae008aecb64
3
+ size 733
checkpoint-270/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ac7ed54c9463801afe6e720e90fe461919b4e63070da4434b35bee9499c676
3
+ size 48679352
checkpoint-270/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c57daf25668f208f318e912ac28a7a7389546fbd7f1e6b59473554942eea83
3
+ size 97585002
checkpoint-270/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9196a1e708bf24d6abba41cce3f8558820acc3e50f9394c5955e29eb41ffea3d
3
+ size 14244
checkpoint-270/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aca50632b9dcfeaf56f29cc41af869dfc765fe5c731289691cb32c1dd52ebe96
3
+ size 1064
checkpoint-270/special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82a7fb78938eefe5da710322cf3cdb591d87c175c20d7bf852c27a36de2e472
3
+ size 650
checkpoint-270/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
checkpoint-270/tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181008fb16bf28777fee26b09da74b432ab5bc42285b83db29a4b3ab50f58247
3
+ size 54688
checkpoint-270/trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e1cc0baccb73e739c93cfb03b20cd2c9523f256e2eec1676ea26680b923115c
3
+ size 5349
checkpoint-270/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfa854c7c00c304723b2576a0c2bd6f2620cde816df745af1f4c4ed3ce254930
3
+ size 5496
eval_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a774a1056faa4649651f022fd381fea9553321e4e6e268a6119acde3ac0eff0
3
+ size 160
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82a7fb78938eefe5da710322cf3cdb591d87c175c20d7bf852c27a36de2e472
3
+ size 650
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b
3
+ size 17209920
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181008fb16bf28777fee26b09da74b432ab5bc42285b83db29a4b3ab50f58247
3
+ size 54688
train_results.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a980d7941e9292ce90a89174433a31c7e4f1a0e5434fb8ef7509d61af18de35d
3
+ size 206
trainer_log.jsonl ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 10, "total_steps": 270, "loss": 2.203, "lr": 3.7037037037037037e-05, "epoch": 0.1111111111111111, "percentage": 3.7, "elapsed_time": "0:00:13", "remaining_time": "0:05:46"}
2
+ {"current_steps": 20, "total_steps": 270, "loss": 2.2318, "lr": 7.407407407407407e-05, "epoch": 0.2222222222222222, "percentage": 7.41, "elapsed_time": "0:00:27", "remaining_time": "0:05:40"}
3
+ {"current_steps": 30, "total_steps": 270, "loss": 2.1844, "lr": 9.996239762521151e-05, "epoch": 0.3333333333333333, "percentage": 11.11, "elapsed_time": "0:00:39", "remaining_time": "0:05:17"}
4
+ {"current_steps": 40, "total_steps": 270, "loss": 2.1017, "lr": 9.929548316723982e-05, "epoch": 0.4444444444444444, "percentage": 14.81, "elapsed_time": "0:00:54", "remaining_time": "0:05:12"}
5
+ {"current_steps": 50, "total_steps": 270, "loss": 2.0372, "lr": 9.780577808869398e-05, "epoch": 0.5555555555555556, "percentage": 18.52, "elapsed_time": "0:01:09", "remaining_time": "0:05:04"}
6
+ {"current_steps": 60, "total_steps": 270, "loss": 2.1209, "lr": 9.551814704830734e-05, "epoch": 0.6666666666666666, "percentage": 22.22, "elapsed_time": "0:01:22", "remaining_time": "0:04:47"}
7
+ {"current_steps": 70, "total_steps": 270, "loss": 2.092, "lr": 9.247077288236488e-05, "epoch": 0.7777777777777778, "percentage": 25.93, "elapsed_time": "0:01:37", "remaining_time": "0:04:37"}
8
+ {"current_steps": 80, "total_steps": 270, "loss": 2.214, "lr": 8.871451929520663e-05, "epoch": 0.8888888888888888, "percentage": 29.63, "elapsed_time": "0:01:52", "remaining_time": "0:04:26"}
9
+ {"current_steps": 90, "total_steps": 270, "loss": 2.1295, "lr": 8.43120818934367e-05, "epoch": 1.0, "percentage": 33.33, "elapsed_time": "0:02:06", "remaining_time": "0:04:13"}
10
+ {"current_steps": 100, "total_steps": 270, "loss": 2.1204, "lr": 7.93369417339209e-05, "epoch": 1.1111111111111112, "percentage": 37.04, "elapsed_time": "0:02:20", "remaining_time": "0:03:59"}
11
+ {"current_steps": 110, "total_steps": 270, "loss": 2.0444, "lr": 7.387213885189746e-05, "epoch": 1.2222222222222223, "percentage": 40.74, "elapsed_time": "0:02:33", "remaining_time": "0:03:43"}
12
+ {"current_steps": 120, "total_steps": 270, "loss": 2.1076, "lr": 6.800888624023553e-05, "epoch": 1.3333333333333333, "percentage": 44.44, "elapsed_time": "0:02:45", "remaining_time": "0:03:27"}
13
+ {"current_steps": 130, "total_steps": 270, "loss": 2.134, "lr": 6.184504741390596e-05, "epoch": 1.4444444444444444, "percentage": 48.15, "elapsed_time": "0:02:58", "remaining_time": "0:03:12"}
14
+ {"current_steps": 140, "total_steps": 270, "loss": 1.993, "lr": 5.548350297062659e-05, "epoch": 1.5555555555555556, "percentage": 51.85, "elapsed_time": "0:03:13", "remaining_time": "0:02:59"}
15
+ {"current_steps": 150, "total_steps": 270, "loss": 2.0616, "lr": 4.903043341140879e-05, "epoch": 1.6666666666666665, "percentage": 55.56, "elapsed_time": "0:03:27", "remaining_time": "0:02:46"}
16
+ {"current_steps": 160, "total_steps": 270, "loss": 2.1526, "lr": 4.259354688243757e-05, "epoch": 1.7777777777777777, "percentage": 59.26, "elapsed_time": "0:03:43", "remaining_time": "0:02:33"}
17
+ {"current_steps": 170, "total_steps": 270, "loss": 2.0105, "lr": 3.628028141903493e-05, "epoch": 1.8888888888888888, "percentage": 62.96, "elapsed_time": "0:03:58", "remaining_time": "0:02:20"}
18
+ {"current_steps": 180, "total_steps": 270, "loss": 1.9649, "lr": 3.019601169804216e-05, "epoch": 2.0, "percentage": 66.67, "elapsed_time": "0:04:14", "remaining_time": "0:02:07"}
19
+ {"current_steps": 190, "total_steps": 270, "loss": 1.973, "lr": 2.4442290229706344e-05, "epoch": 2.111111111111111, "percentage": 70.37, "elapsed_time": "0:04:28", "remaining_time": "0:01:52"}
20
+ {"current_steps": 200, "total_steps": 270, "loss": 1.973, "lr": 1.9115152345327152e-05, "epoch": 2.2222222222222223, "percentage": 74.07, "elapsed_time": "0:04:42", "remaining_time": "0:01:38"}
21
+ {"current_steps": 210, "total_steps": 270, "loss": 1.995, "lr": 1.4303513272105057e-05, "epoch": 2.3333333333333335, "percentage": 77.78, "elapsed_time": "0:04:56", "remaining_time": "0:01:24"}
22
+ {"current_steps": 220, "total_steps": 270, "loss": 2.0065, "lr": 1.008768404960535e-05, "epoch": 2.4444444444444446, "percentage": 81.48, "elapsed_time": "0:05:10", "remaining_time": "0:01:10"}
23
+ {"current_steps": 230, "total_steps": 270, "loss": 1.9803, "lr": 6.53803105866761e-06, "epoch": 2.5555555555555554, "percentage": 85.19, "elapsed_time": "0:05:24", "remaining_time": "0:00:56"}
24
+ {"current_steps": 240, "total_steps": 270, "loss": 1.911, "lr": 3.7138015365554833e-06, "epoch": 2.6666666666666665, "percentage": 88.89, "elapsed_time": "0:05:40", "remaining_time": "0:00:42"}
25
+ {"current_steps": 250, "total_steps": 270, "loss": 2.1055, "lr": 1.6621346816668992e-06, "epoch": 2.7777777777777777, "percentage": 92.59, "elapsed_time": "0:05:54", "remaining_time": "0:00:28"}
26
+ {"current_steps": 260, "total_steps": 270, "loss": 1.9595, "lr": 4.1727485344994486e-07, "epoch": 2.888888888888889, "percentage": 96.3, "elapsed_time": "0:06:08", "remaining_time": "0:00:14"}
27
+ {"current_steps": 270, "total_steps": 270, "loss": 2.0491, "lr": 0.0, "epoch": 3.0, "percentage": 100.0, "elapsed_time": "0:06:21", "remaining_time": "0:00:00"}
28
+ {"current_steps": 270, "total_steps": 270, "epoch": 3.0, "percentage": 100.0, "elapsed_time": "0:06:22", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62af120660b027a75fbbea32e0dfef8ab4fc4fff219a7f24046bed0864ea91c6
3
+ size 5596
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfa854c7c00c304723b2576a0c2bd6f2620cde816df745af1f4c4ed3ce254930
3
+ size 5496
training_loss.png ADDED