finalform commited on
Commit
f1a2a5b
·
verified ·
1 Parent(s): 37ad4de

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,78 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: ibm-granite/granite-3.3-8b-instruct
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: factory_granite_results
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # factory_granite_results
20
+
21
+ This model is a fine-tuned version of [ibm-granite/granite-3.3-8b-instruct](https://huggingface.co/ibm-granite/granite-3.3-8b-instruct) on the train dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.2540
24
+ - Accuracy: 0.9496
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 0.0001
44
+ - train_batch_size: 2
45
+ - eval_batch_size: 2
46
+ - seed: 42
47
+ - distributed_type: multi-GPU
48
+ - num_devices: 3
49
+ - gradient_accumulation_steps: 4
50
+ - total_train_batch_size: 24
51
+ - total_eval_batch_size: 6
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine
54
+ - lr_scheduler_warmup_ratio: 0.03
55
+ - num_epochs: 9.0
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
60
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
61
+ | 0.4349 | 1.0 | 42 | 0.3939 | 0.9056 |
62
+ | 0.2652 | 2.0 | 84 | 0.2977 | 0.9272 |
63
+ | 0.215 | 3.0 | 126 | 0.2550 | 0.9369 |
64
+ | 0.2215 | 4.0 | 168 | 0.2335 | 0.9431 |
65
+ | 0.1367 | 5.0 | 210 | 0.2275 | 0.9462 |
66
+ | 0.1033 | 6.0 | 252 | 0.2333 | 0.9480 |
67
+ | 0.0617 | 7.0 | 294 | 0.2434 | 0.9494 |
68
+ | 0.0564 | 8.0 | 336 | 0.2531 | 0.9497 |
69
+ | 0.0384 | 8.7904 | 369 | 0.2540 | 0.9496 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - PEFT 0.15.2
75
+ - Transformers 4.51.3
76
+ - Pytorch 2.7.1+cu126
77
+ - Datasets 3.6.0
78
+ - Tokenizers 0.21.1
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 32,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "q_proj",
28
+ "k_proj",
29
+ "down_proj",
30
+ "o_proj",
31
+ "gate_proj",
32
+ "v_proj",
33
+ "up_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2950fd3d0458a07005b293e39398226721e5cef632387fd35b751893fd68b5c7
3
+ size 395912984
added_tokens.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|end_of_cite|>": 49156,
3
+ "<|end_of_plugin|>": 49158,
4
+ "<|end_of_role|>": 49153,
5
+ "<|start_of_cite|>": 49155,
6
+ "<|start_of_plugin|>": 49157,
7
+ "<|start_of_role|>": 49152,
8
+ "<|tool_call|>": 49154
9
+ }
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.790419161676647,
3
+ "eval_accuracy": 0.9495727484192179,
4
+ "eval_loss": 0.25400951504707336,
5
+ "eval_runtime": 33.9895,
6
+ "eval_samples_per_second": 11.327,
7
+ "eval_steps_per_second": 1.912,
8
+ "total_flos": 3.618115695725773e+17,
9
+ "train_loss": 0.2042977515113386,
10
+ "train_runtime": 3121.1368,
11
+ "train_samples_per_second": 2.884,
12
+ "train_steps_per_second": 0.118
13
+ }
checkpoint-369/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.3-8b-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.15.2
checkpoint-369/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "ibm-granite/granite-3.3-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 32,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "q_proj",
28
+ "k_proj",
29
+ "down_proj",
30
+ "o_proj",
31
+ "gate_proj",
32
+ "v_proj",
33
+ "up_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
checkpoint-369/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2950fd3d0458a07005b293e39398226721e5cef632387fd35b751893fd68b5c7
3
+ size 395912984
checkpoint-369/added_tokens.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|end_of_cite|>": 49156,
3
+ "<|end_of_plugin|>": 49158,
4
+ "<|end_of_role|>": 49153,
5
+ "<|start_of_cite|>": 49155,
6
+ "<|start_of_plugin|>": 49157,
7
+ "<|start_of_role|>": 49152,
8
+ "<|tool_call|>": 49154
9
+ }
checkpoint-369/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-369/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01e823f594349bdb36de7294be2f939e2cee4fd780afdb56ab468428cfbba9f4
3
+ size 792148467
checkpoint-369/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a6d8e2ef978849a1f1c4c4a289f1e07bd9129a419b444a5c2f242edfb872fb7
3
+ size 15173
checkpoint-369/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73a48e13acdbf7120b5fafb92eb2e511f4219ca116702e88e0a753e4b4e74536
3
+ size 15173
checkpoint-369/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b805832676e0d21fa9217b0cab5995a8ad6994df2bb59c31b1a59607a7008de6
3
+ size 15173
checkpoint-369/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:424755b5494adc5c2f757e98ba4ae1e8a1e2f36783c0fc67336778e50397db71
3
+ size 1465
checkpoint-369/special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|start_of_role|>",
4
+ "<|end_of_role|>",
5
+ "<|tool_call|>",
6
+ "<|start_of_cite|>",
7
+ "<|end_of_cite|>",
8
+ "<|start_of_plugin|>",
9
+ "<|end_of_plugin|>"
10
+ ],
11
+ "bos_token": {
12
+ "content": "<|end_of_text|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "eos_token": {
19
+ "content": "<|end_of_text|>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "pad_token": {
26
+ "content": "<|end_of_text|>",
27
+ "lstrip": false,
28
+ "normalized": false,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "unk_token": {
33
+ "content": "<|end_of_text|>",
34
+ "lstrip": false,
35
+ "normalized": false,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ }
39
+ }
checkpoint-369/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-369/tokenizer_config.json ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<|end_of_text|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<fim_prefix>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<fim_middle>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<fim_suffix>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "4": {
38
+ "content": "<fim_pad>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "5": {
46
+ "content": "<filename>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "6": {
54
+ "content": "<gh_stars>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "7": {
62
+ "content": "<issue_start>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "8": {
70
+ "content": "<issue_comment>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "9": {
78
+ "content": "<issue_closed>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "10": {
86
+ "content": "<jupyter_start>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "11": {
94
+ "content": "<jupyter_text>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "12": {
102
+ "content": "<jupyter_code>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "13": {
110
+ "content": "<jupyter_output>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "14": {
118
+ "content": "<empty_output>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "15": {
126
+ "content": "<commit_before>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": true
132
+ },
133
+ "16": {
134
+ "content": "<commit_msg>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": true
140
+ },
141
+ "17": {
142
+ "content": "<commit_after>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": true
148
+ },
149
+ "18": {
150
+ "content": "<reponame>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": true
156
+ },
157
+ "49152": {
158
+ "content": "<|start_of_role|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": true
164
+ },
165
+ "49153": {
166
+ "content": "<|end_of_role|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": true
172
+ },
173
+ "49154": {
174
+ "content": "<|tool_call|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": true
180
+ },
181
+ "49155": {
182
+ "content": "<|start_of_cite|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "49156": {
190
+ "content": "<|end_of_cite|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "49157": {
198
+ "content": "<|start_of_plugin|>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "49158": {
206
+ "content": "<|end_of_plugin|>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|start_of_role|>",
216
+ "<|end_of_role|>",
217
+ "<|tool_call|>",
218
+ "<|start_of_cite|>",
219
+ "<|end_of_cite|>",
220
+ "<|start_of_plugin|>",
221
+ "<|end_of_plugin|>"
222
+ ],
223
+ "bos_token": "<|end_of_text|>",
224
+ "chat_template": "{# Alias tools -> available_tools #}\n{%- if tools and not available_tools -%}\n {%- set available_tools = tools -%}\n{%- endif -%}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n {%- else %}\n {%- set system_message = \"Knowledge Cutoff Date: April 2024.\nToday's Date: \" + strftime_now('%B %d, %Y') + \".\nYou are Granite, developed by IBM.\" %}\n {%- if available_tools and documents %}\n {%- set system_message = system_message + \" You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.\nWrite the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.\" %}\n {%- elif available_tools %}\n {%- set system_message = system_message + \" You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.\" %}\n {%- elif documents %}\n {%- set system_message = system_message + \" Write the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.\" %}\n {%- elif thinking %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\nRespond to every user query in a comprehensive and detailed way. You can write down your thoughts and reasoning process before responding. In the thought process, engage in a comprehensive cycle of analysis, summarization, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. In the response section, based on various attempts, explorations, and reflections from the thoughts section, systematically present the final solution that you deem correct. The response should summarize the thought process. Write your thoughts between <think></think> and write your response between <response></response> for each user query.\" %}\n {%- else %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\" %}\n {%- endif %}\n {%- if 'citations' in controls and documents %}\n {%- set system_message = system_message + '\nUse the symbols <|start_of_cite|> and <|end_of_cite|> to indicate when a fact comes from a document in the search result, e.g <|start_of_cite|> {document_id: 1}my fact <|end_of_cite|> for a fact from document 1. Afterwards, list all the citations with their corresponding documents in an ordered list.' %}\n {%- endif %}\n {%- if 'hallucinations' in controls and documents %}\n {%- set system_message = system_message + '\nFinally, after the response is written, include a numbered list of sentences from the response with a corresponding risk value that are hallucinated and not based in the documents.' %}\n {%- endif %}\n {%- set loop_messages = messages %}\n {%- endif %}\n {{- '<|start_of_role|>system<|end_of_role|>' + system_message + '<|end_of_text|>\n' }}\n {%- if available_tools %}\n {{- '<|start_of_role|>available_tools<|end_of_role|>' }}\n {{- available_tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n {%- endif %}\n {%- if documents %}\n {%- for document in documents %}\n {{- '<|start_of_role|>document {\"document_id\": \"' + document['doc_id'] | string + '\"}<|end_of_role|>\n' }}\n {{- document['text'] }}\n {{- '<|end_of_text|>\n' }}\n {%- endfor %}\n {%- endif %}\n {%- for message in loop_messages %}\n {{- '<|start_of_role|>' + message['role'] + '<|end_of_role|>' + message['content'] + '<|end_of_text|>\n' }}\n {%- if loop.last and add_generation_prompt %}\n {{- '<|start_of_role|>assistant' }}\n {%- if controls %}\n {{- ' ' + controls | tojson()}}\n {%- endif %}\n {{- '<|end_of_role|>' }}\n {%- endif %}\n {%- endfor %}",
225
+ "clean_up_tokenization_spaces": true,
226
+ "eos_token": "<|end_of_text|>",
227
+ "errors": "replace",
228
+ "extra_special_tokens": {},
229
+ "model_max_length": 9223372036854775807,
230
+ "pad_token": "<|end_of_text|>",
231
+ "padding_side": "right",
232
+ "split_special_tokens": false,
233
+ "tokenizer_class": "GPT2Tokenizer",
234
+ "unk_token": "<|end_of_text|>",
235
+ "vocab_size": 49152
236
+ }
checkpoint-369/trainer_state.json ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 8.790419161676647,
6
+ "eval_steps": 500,
7
+ "global_step": 369,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.23952095808383234,
14
+ "grad_norm": 0.6599951386451721,
15
+ "learning_rate": 7.500000000000001e-05,
16
+ "loss": 1.1227,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.47904191616766467,
21
+ "grad_norm": 0.3134297728538513,
22
+ "learning_rate": 9.990516643685222e-05,
23
+ "loss": 0.6198,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.718562874251497,
28
+ "grad_norm": 0.31411099433898926,
29
+ "learning_rate": 9.944154131125642e-05,
30
+ "loss": 0.4961,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.9580838323353293,
35
+ "grad_norm": 0.2758181095123291,
36
+ "learning_rate": 9.859528969650738e-05,
37
+ "loss": 0.4349,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "eval_accuracy": 0.9055674652789968,
43
+ "eval_loss": 0.3939231336116791,
44
+ "eval_runtime": 34.0075,
45
+ "eval_samples_per_second": 11.321,
46
+ "eval_steps_per_second": 1.911,
47
+ "step": 42
48
+ },
49
+ {
50
+ "epoch": 1.1916167664670658,
51
+ "grad_norm": 0.2843815088272095,
52
+ "learning_rate": 9.737296070648186e-05,
53
+ "loss": 0.3507,
54
+ "step": 50
55
+ },
56
+ {
57
+ "epoch": 1.4311377245508983,
58
+ "grad_norm": 0.3070734441280365,
59
+ "learning_rate": 9.57840139057007e-05,
60
+ "loss": 0.3524,
61
+ "step": 60
62
+ },
63
+ {
64
+ "epoch": 1.6706586826347305,
65
+ "grad_norm": 0.4232611358165741,
66
+ "learning_rate": 9.384074610206495e-05,
67
+ "loss": 0.357,
68
+ "step": 70
69
+ },
70
+ {
71
+ "epoch": 1.910179640718563,
72
+ "grad_norm": 0.30136531591415405,
73
+ "learning_rate": 9.155819618225708e-05,
74
+ "loss": 0.2652,
75
+ "step": 80
76
+ },
77
+ {
78
+ "epoch": 2.0,
79
+ "eval_accuracy": 0.9271648627710736,
80
+ "eval_loss": 0.29773712158203125,
81
+ "eval_runtime": 33.9022,
82
+ "eval_samples_per_second": 11.356,
83
+ "eval_steps_per_second": 1.917,
84
+ "step": 84
85
+ },
86
+ {
87
+ "epoch": 2.143712574850299,
88
+ "grad_norm": 0.292621910572052,
89
+ "learning_rate": 8.895402872628352e-05,
90
+ "loss": 0.2932,
91
+ "step": 90
92
+ },
93
+ {
94
+ "epoch": 2.3832335329341316,
95
+ "grad_norm": 0.32854172587394714,
96
+ "learning_rate": 8.604839730186125e-05,
97
+ "loss": 0.2338,
98
+ "step": 100
99
+ },
100
+ {
101
+ "epoch": 2.622754491017964,
102
+ "grad_norm": 0.4840235412120819,
103
+ "learning_rate": 8.286378849660896e-05,
104
+ "loss": 0.266,
105
+ "step": 110
106
+ },
107
+ {
108
+ "epoch": 2.8622754491017965,
109
+ "grad_norm": 0.4044960141181946,
110
+ "learning_rate": 7.942484789507283e-05,
111
+ "loss": 0.215,
112
+ "step": 120
113
+ },
114
+ {
115
+ "epoch": 3.0,
116
+ "eval_accuracy": 0.9369269990688386,
117
+ "eval_loss": 0.2550356090068817,
118
+ "eval_runtime": 33.8759,
119
+ "eval_samples_per_second": 11.365,
120
+ "eval_steps_per_second": 1.919,
121
+ "step": 126
122
+ },
123
+ {
124
+ "epoch": 3.095808383233533,
125
+ "grad_norm": 0.33432769775390625,
126
+ "learning_rate": 7.57581893473448e-05,
127
+ "loss": 0.2036,
128
+ "step": 130
129
+ },
130
+ {
131
+ "epoch": 3.3353293413173652,
132
+ "grad_norm": 0.38244879245758057,
133
+ "learning_rate": 7.18921890053375e-05,
134
+ "loss": 0.1607,
135
+ "step": 140
136
+ },
137
+ {
138
+ "epoch": 3.5748502994011977,
139
+ "grad_norm": 0.4296240508556366,
140
+ "learning_rate": 6.785676572066225e-05,
141
+ "loss": 0.1785,
142
+ "step": 150
143
+ },
144
+ {
145
+ "epoch": 3.81437125748503,
146
+ "grad_norm": 0.47172796726226807,
147
+ "learning_rate": 6.368314950360415e-05,
148
+ "loss": 0.2215,
149
+ "step": 160
150
+ },
151
+ {
152
+ "epoch": 4.0,
153
+ "eval_accuracy": 0.9431379888235244,
154
+ "eval_loss": 0.23346135020256042,
155
+ "eval_runtime": 33.8413,
156
+ "eval_samples_per_second": 11.377,
157
+ "eval_steps_per_second": 1.921,
158
+ "step": 168
159
+ },
160
+ {
161
+ "epoch": 4.047904191616767,
162
+ "grad_norm": 0.32000893354415894,
163
+ "learning_rate": 5.940363983508257e-05,
164
+ "loss": 0.1491,
165
+ "step": 170
166
+ },
167
+ {
168
+ "epoch": 4.287425149700598,
169
+ "grad_norm": 0.4597998857498169,
170
+ "learning_rate": 5.5051355702012893e-05,
171
+ "loss": 0.1478,
172
+ "step": 180
173
+ },
174
+ {
175
+ "epoch": 4.526946107784431,
176
+ "grad_norm": 0.5424521565437317,
177
+ "learning_rate": 5.0659979290537954e-05,
178
+ "loss": 0.1245,
179
+ "step": 190
180
+ },
181
+ {
182
+ "epoch": 4.766467065868263,
183
+ "grad_norm": 0.433849036693573,
184
+ "learning_rate": 4.626349532067879e-05,
185
+ "loss": 0.1218,
186
+ "step": 200
187
+ },
188
+ {
189
+ "epoch": 5.0,
190
+ "grad_norm": 0.4479747712612152,
191
+ "learning_rate": 4.189592803968563e-05,
192
+ "loss": 0.1367,
193
+ "step": 210
194
+ },
195
+ {
196
+ "epoch": 5.0,
197
+ "eval_accuracy": 0.946174871725565,
198
+ "eval_loss": 0.22747232019901276,
199
+ "eval_runtime": 33.9356,
200
+ "eval_samples_per_second": 11.345,
201
+ "eval_steps_per_second": 1.915,
202
+ "step": 210
203
+ },
204
+ {
205
+ "epoch": 5.2395209580838324,
206
+ "grad_norm": 0.43904465436935425,
207
+ "learning_rate": 3.759107790948882e-05,
208
+ "loss": 0.0976,
209
+ "step": 220
210
+ },
211
+ {
212
+ "epoch": 5.479041916167665,
213
+ "grad_norm": 0.4111030697822571,
214
+ "learning_rate": 3.338226002601703e-05,
215
+ "loss": 0.099,
216
+ "step": 230
217
+ },
218
+ {
219
+ "epoch": 5.718562874251497,
220
+ "grad_norm": 0.44493556022644043,
221
+ "learning_rate": 2.9302046294747497e-05,
222
+ "loss": 0.0875,
223
+ "step": 240
224
+ },
225
+ {
226
+ "epoch": 5.95808383233533,
227
+ "grad_norm": 0.47588449716567993,
228
+ "learning_rate": 2.5382013357782893e-05,
229
+ "loss": 0.1033,
230
+ "step": 250
231
+ },
232
+ {
233
+ "epoch": 6.0,
234
+ "eval_accuracy": 0.9480128674164685,
235
+ "eval_loss": 0.2333451360464096,
236
+ "eval_runtime": 33.8321,
237
+ "eval_samples_per_second": 11.38,
238
+ "eval_steps_per_second": 1.921,
239
+ "step": 252
240
+ },
241
+ {
242
+ "epoch": 6.191616766467066,
243
+ "grad_norm": 0.4177131652832031,
244
+ "learning_rate": 2.1652498223239427e-05,
245
+ "loss": 0.0766,
246
+ "step": 260
247
+ },
248
+ {
249
+ "epoch": 6.431137724550898,
250
+ "grad_norm": 0.45009317994117737,
251
+ "learning_rate": 1.814236348812211e-05,
252
+ "loss": 0.094,
253
+ "step": 270
254
+ },
255
+ {
256
+ "epoch": 6.6706586826347305,
257
+ "grad_norm": 0.5086281299591064,
258
+ "learning_rate": 1.4878773971620074e-05,
259
+ "loss": 0.0606,
260
+ "step": 280
261
+ },
262
+ {
263
+ "epoch": 6.910179640718563,
264
+ "grad_norm": 0.4297720491886139,
265
+ "learning_rate": 1.1886986487449475e-05,
266
+ "loss": 0.0617,
267
+ "step": 290
268
+ },
269
+ {
270
+ "epoch": 7.0,
271
+ "eval_accuracy": 0.9493654377729795,
272
+ "eval_loss": 0.24343566596508026,
273
+ "eval_runtime": 33.8884,
274
+ "eval_samples_per_second": 11.361,
275
+ "eval_steps_per_second": 1.918,
276
+ "step": 294
277
+ },
278
+ {
279
+ "epoch": 7.1437125748503,
280
+ "grad_norm": 0.29749608039855957,
281
+ "learning_rate": 9.190154382188921e-06,
282
+ "loss": 0.0483,
283
+ "step": 300
284
+ },
285
+ {
286
+ "epoch": 7.383233532934132,
287
+ "grad_norm": 0.28365468978881836,
288
+ "learning_rate": 6.809148352279182e-06,
289
+ "loss": 0.0471,
290
+ "step": 310
291
+ },
292
+ {
293
+ "epoch": 7.6227544910179645,
294
+ "grad_norm": 0.296616792678833,
295
+ "learning_rate": 4.762394926378477e-06,
296
+ "loss": 0.0706,
297
+ "step": 320
298
+ },
299
+ {
300
+ "epoch": 7.862275449101796,
301
+ "grad_norm": 0.2559482455253601,
302
+ "learning_rate": 3.065733863053072e-06,
303
+ "loss": 0.0564,
304
+ "step": 330
305
+ },
306
+ {
307
+ "epoch": 8.0,
308
+ "eval_accuracy": 0.9497456075317338,
309
+ "eval_loss": 0.253061980009079,
310
+ "eval_runtime": 33.94,
311
+ "eval_samples_per_second": 11.344,
312
+ "eval_steps_per_second": 1.915,
313
+ "step": 336
314
+ },
315
+ {
316
+ "epoch": 8.095808383233534,
317
+ "grad_norm": 0.30027979612350464,
318
+ "learning_rate": 1.7322955673980678e-06,
319
+ "loss": 0.0555,
320
+ "step": 340
321
+ },
322
+ {
323
+ "epoch": 8.335329341317365,
324
+ "grad_norm": 0.29456067085266113,
325
+ "learning_rate": 7.723994752570462e-07,
326
+ "loss": 0.0552,
327
+ "step": 350
328
+ },
329
+ {
330
+ "epoch": 8.574850299401197,
331
+ "grad_norm": 0.33900371193885803,
332
+ "learning_rate": 1.9347419144180035e-07,
333
+ "loss": 0.0384,
334
+ "step": 360
335
+ }
336
+ ],
337
+ "logging_steps": 10,
338
+ "max_steps": 369,
339
+ "num_input_tokens_seen": 0,
340
+ "num_train_epochs": 9,
341
+ "save_steps": 500,
342
+ "stateful_callbacks": {
343
+ "TrainerControl": {
344
+ "args": {
345
+ "should_epoch_stop": false,
346
+ "should_evaluate": false,
347
+ "should_log": false,
348
+ "should_save": true,
349
+ "should_training_stop": true
350
+ },
351
+ "attributes": {}
352
+ }
353
+ },
354
+ "total_flos": 3.618115695725773e+17,
355
+ "train_batch_size": 2,
356
+ "trial_name": null,
357
+ "trial_params": null
358
+ }
checkpoint-369/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4df1c5c14e27e66bb39c5dd5e4000b3188c1e5705981baf17c8fd406c4f864ed
3
+ size 6097
checkpoint-369/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.790419161676647,
3
+ "eval_accuracy": 0.9495727484192179,
4
+ "eval_loss": 0.25400951504707336,
5
+ "eval_runtime": 33.9895,
6
+ "eval_samples_per_second": 11.327,
7
+ "eval_steps_per_second": 1.912
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
runs/Aug01_12-31-04_pan/events.out.tfevents.1754066012.pan ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18cebf0844a3748e101f5ca9861434022443e46c3e4d815f133fd307e238730a
3
+ size 16267
runs/Aug01_12-31-04_pan/events.out.tfevents.1754069165.pan ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3456d45a74ac41bcb5512673df67d54d9488fbb3506ac0236001dfba9363c6a8
3
+ size 363
special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|start_of_role|>",
4
+ "<|end_of_role|>",
5
+ "<|tool_call|>",
6
+ "<|start_of_cite|>",
7
+ "<|end_of_cite|>",
8
+ "<|start_of_plugin|>",
9
+ "<|end_of_plugin|>"
10
+ ],
11
+ "bos_token": {
12
+ "content": "<|end_of_text|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "eos_token": {
19
+ "content": "<|end_of_text|>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "pad_token": {
26
+ "content": "<|end_of_text|>",
27
+ "lstrip": false,
28
+ "normalized": false,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "unk_token": {
33
+ "content": "<|end_of_text|>",
34
+ "lstrip": false,
35
+ "normalized": false,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ }
39
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<|end_of_text|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<fim_prefix>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<fim_middle>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<fim_suffix>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "4": {
38
+ "content": "<fim_pad>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "5": {
46
+ "content": "<filename>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "6": {
54
+ "content": "<gh_stars>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "7": {
62
+ "content": "<issue_start>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "8": {
70
+ "content": "<issue_comment>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "9": {
78
+ "content": "<issue_closed>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "10": {
86
+ "content": "<jupyter_start>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "11": {
94
+ "content": "<jupyter_text>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "12": {
102
+ "content": "<jupyter_code>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "13": {
110
+ "content": "<jupyter_output>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "14": {
118
+ "content": "<empty_output>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "15": {
126
+ "content": "<commit_before>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": true
132
+ },
133
+ "16": {
134
+ "content": "<commit_msg>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": true
140
+ },
141
+ "17": {
142
+ "content": "<commit_after>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": true
148
+ },
149
+ "18": {
150
+ "content": "<reponame>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": true
156
+ },
157
+ "49152": {
158
+ "content": "<|start_of_role|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": true
164
+ },
165
+ "49153": {
166
+ "content": "<|end_of_role|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": true
172
+ },
173
+ "49154": {
174
+ "content": "<|tool_call|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": true
180
+ },
181
+ "49155": {
182
+ "content": "<|start_of_cite|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "49156": {
190
+ "content": "<|end_of_cite|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "49157": {
198
+ "content": "<|start_of_plugin|>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ },
205
+ "49158": {
206
+ "content": "<|end_of_plugin|>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": true
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|start_of_role|>",
216
+ "<|end_of_role|>",
217
+ "<|tool_call|>",
218
+ "<|start_of_cite|>",
219
+ "<|end_of_cite|>",
220
+ "<|start_of_plugin|>",
221
+ "<|end_of_plugin|>"
222
+ ],
223
+ "bos_token": "<|end_of_text|>",
224
+ "chat_template": "{# Alias tools -> available_tools #}\n{%- if tools and not available_tools -%}\n {%- set available_tools = tools -%}\n{%- endif -%}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n {%- else %}\n {%- set system_message = \"Knowledge Cutoff Date: April 2024.\nToday's Date: \" + strftime_now('%B %d, %Y') + \".\nYou are Granite, developed by IBM.\" %}\n {%- if available_tools and documents %}\n {%- set system_message = system_message + \" You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.\nWrite the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.\" %}\n {%- elif available_tools %}\n {%- set system_message = system_message + \" You are a helpful assistant with access to the following tools. When a tool is required to answer the user's query, respond only with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.\" %}\n {%- elif documents %}\n {%- set system_message = system_message + \" Write the response to the user's input by strictly aligning with the facts in the provided documents. If the information needed to answer the question is not available in the documents, inform the user that the question cannot be answered based on the available data.\" %}\n {%- elif thinking %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\nRespond to every user query in a comprehensive and detailed way. You can write down your thoughts and reasoning process before responding. In the thought process, engage in a comprehensive cycle of analysis, summarization, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. In the response section, based on various attempts, explorations, and reflections from the thoughts section, systematically present the final solution that you deem correct. The response should summarize the thought process. Write your thoughts between <think></think> and write your response between <response></response> for each user query.\" %}\n {%- else %}\n {%- set system_message = system_message + \" You are a helpful AI assistant.\" %}\n {%- endif %}\n {%- if 'citations' in controls and documents %}\n {%- set system_message = system_message + '\nUse the symbols <|start_of_cite|> and <|end_of_cite|> to indicate when a fact comes from a document in the search result, e.g <|start_of_cite|> {document_id: 1}my fact <|end_of_cite|> for a fact from document 1. Afterwards, list all the citations with their corresponding documents in an ordered list.' %}\n {%- endif %}\n {%- if 'hallucinations' in controls and documents %}\n {%- set system_message = system_message + '\nFinally, after the response is written, include a numbered list of sentences from the response with a corresponding risk value that are hallucinated and not based in the documents.' %}\n {%- endif %}\n {%- set loop_messages = messages %}\n {%- endif %}\n {{- '<|start_of_role|>system<|end_of_role|>' + system_message + '<|end_of_text|>\n' }}\n {%- if available_tools %}\n {{- '<|start_of_role|>available_tools<|end_of_role|>' }}\n {{- available_tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n {%- endif %}\n {%- if documents %}\n {%- for document in documents %}\n {{- '<|start_of_role|>document {\"document_id\": \"' + document['doc_id'] | string + '\"}<|end_of_role|>\n' }}\n {{- document['text'] }}\n {{- '<|end_of_text|>\n' }}\n {%- endfor %}\n {%- endif %}\n {%- for message in loop_messages %}\n {{- '<|start_of_role|>' + message['role'] + '<|end_of_role|>' + message['content'] + '<|end_of_text|>\n' }}\n {%- if loop.last and add_generation_prompt %}\n {{- '<|start_of_role|>assistant' }}\n {%- if controls %}\n {{- ' ' + controls | tojson()}}\n {%- endif %}\n {{- '<|end_of_role|>' }}\n {%- endif %}\n {%- endfor %}",
225
+ "clean_up_tokenization_spaces": true,
226
+ "eos_token": "<|end_of_text|>",
227
+ "errors": "replace",
228
+ "extra_special_tokens": {},
229
+ "model_max_length": 9223372036854775807,
230
+ "pad_token": "<|end_of_text|>",
231
+ "padding_side": "right",
232
+ "split_special_tokens": false,
233
+ "tokenizer_class": "GPT2Tokenizer",
234
+ "unk_token": "<|end_of_text|>",
235
+ "vocab_size": 49152
236
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.790419161676647,
3
+ "total_flos": 3.618115695725773e+17,
4
+ "train_loss": 0.2042977515113386,
5
+ "train_runtime": 3121.1368,
6
+ "train_samples_per_second": 2.884,
7
+ "train_steps_per_second": 0.118
8
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 10, "total_steps": 369, "loss": 1.1227, "lr": 7.500000000000001e-05, "epoch": 0.23952095808383234, "percentage": 2.71, "elapsed_time": "0:01:15", "remaining_time": "0:45:18"}
2
+ {"current_steps": 20, "total_steps": 369, "loss": 0.6198, "lr": 9.990516643685222e-05, "epoch": 0.47904191616766467, "percentage": 5.42, "elapsed_time": "0:02:30", "remaining_time": "0:43:37"}
3
+ {"current_steps": 30, "total_steps": 369, "loss": 0.4961, "lr": 9.944154131125642e-05, "epoch": 0.718562874251497, "percentage": 8.13, "elapsed_time": "0:03:46", "remaining_time": "0:42:34"}
4
+ {"current_steps": 40, "total_steps": 369, "loss": 0.4349, "lr": 9.859528969650738e-05, "epoch": 0.9580838323353293, "percentage": 10.84, "elapsed_time": "0:05:03", "remaining_time": "0:41:37"}
5
+ {"current_steps": 42, "total_steps": 369, "eval_loss": 0.3939231336116791, "epoch": 1.0, "percentage": 11.38, "elapsed_time": "0:05:51", "remaining_time": "0:45:37"}
6
+ {"current_steps": 50, "total_steps": 369, "loss": 0.3507, "lr": 9.737296070648186e-05, "epoch": 1.1916167664670658, "percentage": 13.55, "elapsed_time": "0:06:54", "remaining_time": "0:44:03"}
7
+ {"current_steps": 60, "total_steps": 369, "loss": 0.3524, "lr": 9.57840139057007e-05, "epoch": 1.4311377245508983, "percentage": 16.26, "elapsed_time": "0:08:10", "remaining_time": "0:42:06"}
8
+ {"current_steps": 70, "total_steps": 369, "loss": 0.357, "lr": 9.384074610206495e-05, "epoch": 1.6706586826347305, "percentage": 18.97, "elapsed_time": "0:09:27", "remaining_time": "0:40:24"}
9
+ {"current_steps": 80, "total_steps": 369, "loss": 0.2652, "lr": 9.155819618225708e-05, "epoch": 1.910179640718563, "percentage": 21.68, "elapsed_time": "0:10:45", "remaining_time": "0:38:50"}
10
+ {"current_steps": 84, "total_steps": 369, "eval_loss": 0.29773712158203125, "epoch": 2.0, "percentage": 22.76, "elapsed_time": "0:11:46", "remaining_time": "0:39:58"}
11
+ {"current_steps": 90, "total_steps": 369, "loss": 0.2932, "lr": 8.895402872628352e-05, "epoch": 2.143712574850299, "percentage": 24.39, "elapsed_time": "0:12:33", "remaining_time": "0:38:57"}
12
+ {"current_steps": 100, "total_steps": 369, "loss": 0.2338, "lr": 8.604839730186125e-05, "epoch": 2.3832335329341316, "percentage": 27.1, "elapsed_time": "0:13:50", "remaining_time": "0:37:13"}
13
+ {"current_steps": 110, "total_steps": 369, "loss": 0.266, "lr": 8.286378849660896e-05, "epoch": 2.622754491017964, "percentage": 29.81, "elapsed_time": "0:15:07", "remaining_time": "0:35:35"}
14
+ {"current_steps": 120, "total_steps": 369, "loss": 0.215, "lr": 7.942484789507283e-05, "epoch": 2.8622754491017965, "percentage": 32.52, "elapsed_time": "0:16:23", "remaining_time": "0:34:00"}
15
+ {"current_steps": 126, "total_steps": 369, "eval_loss": 0.2550356090068817, "epoch": 3.0, "percentage": 34.15, "elapsed_time": "0:17:40", "remaining_time": "0:34:05"}
16
+ {"current_steps": 130, "total_steps": 369, "loss": 0.2036, "lr": 7.57581893473448e-05, "epoch": 3.095808383233533, "percentage": 35.23, "elapsed_time": "0:18:11", "remaining_time": "0:33:26"}
17
+ {"current_steps": 140, "total_steps": 369, "loss": 0.1607, "lr": 7.18921890053375e-05, "epoch": 3.3353293413173652, "percentage": 37.94, "elapsed_time": "0:19:28", "remaining_time": "0:31:50"}
18
+ {"current_steps": 150, "total_steps": 369, "loss": 0.1785, "lr": 6.785676572066225e-05, "epoch": 3.5748502994011977, "percentage": 40.65, "elapsed_time": "0:20:45", "remaining_time": "0:30:18"}
19
+ {"current_steps": 160, "total_steps": 369, "loss": 0.2215, "lr": 6.368314950360415e-05, "epoch": 3.81437125748503, "percentage": 43.36, "elapsed_time": "0:22:00", "remaining_time": "0:28:44"}
20
+ {"current_steps": 168, "total_steps": 369, "eval_loss": 0.23346135020256042, "epoch": 4.0, "percentage": 45.53, "elapsed_time": "0:23:34", "remaining_time": "0:28:12"}
21
+ {"current_steps": 170, "total_steps": 369, "loss": 0.1491, "lr": 5.940363983508257e-05, "epoch": 4.047904191616767, "percentage": 46.07, "elapsed_time": "0:23:50", "remaining_time": "0:27:54"}
22
+ {"current_steps": 180, "total_steps": 369, "loss": 0.1478, "lr": 5.5051355702012893e-05, "epoch": 4.287425149700598, "percentage": 48.78, "elapsed_time": "0:25:07", "remaining_time": "0:26:23"}
23
+ {"current_steps": 190, "total_steps": 369, "loss": 0.1245, "lr": 5.0659979290537954e-05, "epoch": 4.526946107784431, "percentage": 51.49, "elapsed_time": "0:26:23", "remaining_time": "0:24:51"}
24
+ {"current_steps": 200, "total_steps": 369, "loss": 0.1218, "lr": 4.626349532067879e-05, "epoch": 4.766467065868263, "percentage": 54.2, "elapsed_time": "0:27:39", "remaining_time": "0:23:22"}
25
+ {"current_steps": 210, "total_steps": 369, "loss": 0.1367, "lr": 4.189592803968563e-05, "epoch": 5.0, "percentage": 56.91, "elapsed_time": "0:28:53", "remaining_time": "0:21:52"}
26
+ {"current_steps": 210, "total_steps": 369, "eval_loss": 0.22747232019901276, "epoch": 5.0, "percentage": 56.91, "elapsed_time": "0:29:27", "remaining_time": "0:22:18"}
27
+ {"current_steps": 220, "total_steps": 369, "loss": 0.0976, "lr": 3.759107790948882e-05, "epoch": 5.2395209580838324, "percentage": 59.62, "elapsed_time": "0:30:44", "remaining_time": "0:20:49"}
28
+ {"current_steps": 230, "total_steps": 369, "loss": 0.099, "lr": 3.338226002601703e-05, "epoch": 5.479041916167665, "percentage": 62.33, "elapsed_time": "0:32:01", "remaining_time": "0:19:21"}
29
+ {"current_steps": 240, "total_steps": 369, "loss": 0.0875, "lr": 2.9302046294747497e-05, "epoch": 5.718562874251497, "percentage": 65.04, "elapsed_time": "0:33:15", "remaining_time": "0:17:52"}
30
+ {"current_steps": 250, "total_steps": 369, "loss": 0.1033, "lr": 2.5382013357782893e-05, "epoch": 5.95808383233533, "percentage": 67.75, "elapsed_time": "0:34:32", "remaining_time": "0:16:26"}
31
+ {"current_steps": 252, "total_steps": 369, "eval_loss": 0.2333451360464096, "epoch": 6.0, "percentage": 68.29, "elapsed_time": "0:35:19", "remaining_time": "0:16:24"}
32
+ {"current_steps": 260, "total_steps": 369, "loss": 0.0766, "lr": 2.1652498223239427e-05, "epoch": 6.191616766467066, "percentage": 70.46, "elapsed_time": "0:36:21", "remaining_time": "0:15:14"}
33
+ {"current_steps": 270, "total_steps": 369, "loss": 0.094, "lr": 1.814236348812211e-05, "epoch": 6.431137724550898, "percentage": 73.17, "elapsed_time": "0:37:40", "remaining_time": "0:13:48"}
34
+ {"current_steps": 280, "total_steps": 369, "loss": 0.0606, "lr": 1.4878773971620074e-05, "epoch": 6.6706586826347305, "percentage": 75.88, "elapsed_time": "0:38:54", "remaining_time": "0:12:22"}
35
+ {"current_steps": 290, "total_steps": 369, "loss": 0.0617, "lr": 1.1886986487449475e-05, "epoch": 6.910179640718563, "percentage": 78.59, "elapsed_time": "0:40:10", "remaining_time": "0:10:56"}
36
+ {"current_steps": 294, "total_steps": 369, "eval_loss": 0.24343566596508026, "epoch": 7.0, "percentage": 79.67, "elapsed_time": "0:41:12", "remaining_time": "0:10:30"}
37
+ {"current_steps": 300, "total_steps": 369, "loss": 0.0483, "lr": 9.190154382188921e-06, "epoch": 7.1437125748503, "percentage": 81.3, "elapsed_time": "0:41:59", "remaining_time": "0:09:39"}
38
+ {"current_steps": 310, "total_steps": 369, "loss": 0.0471, "lr": 6.809148352279182e-06, "epoch": 7.383233532934132, "percentage": 84.01, "elapsed_time": "0:43:16", "remaining_time": "0:08:14"}
39
+ {"current_steps": 320, "total_steps": 369, "loss": 0.0706, "lr": 4.762394926378477e-06, "epoch": 7.6227544910179645, "percentage": 86.72, "elapsed_time": "0:44:33", "remaining_time": "0:06:49"}
40
+ {"current_steps": 330, "total_steps": 369, "loss": 0.0564, "lr": 3.065733863053072e-06, "epoch": 7.862275449101796, "percentage": 89.43, "elapsed_time": "0:45:51", "remaining_time": "0:05:25"}
41
+ {"current_steps": 336, "total_steps": 369, "eval_loss": 0.253061980009079, "epoch": 8.0, "percentage": 91.06, "elapsed_time": "0:47:09", "remaining_time": "0:04:37"}
42
+ {"current_steps": 340, "total_steps": 369, "loss": 0.0555, "lr": 1.7322955673980678e-06, "epoch": 8.095808383233534, "percentage": 92.14, "elapsed_time": "0:47:39", "remaining_time": "0:04:03"}
43
+ {"current_steps": 350, "total_steps": 369, "loss": 0.0552, "lr": 7.723994752570462e-07, "epoch": 8.335329341317365, "percentage": 94.85, "elapsed_time": "0:48:56", "remaining_time": "0:02:39"}
44
+ {"current_steps": 360, "total_steps": 369, "loss": 0.0384, "lr": 1.9347419144180035e-07, "epoch": 8.574850299401197, "percentage": 97.56, "elapsed_time": "0:50:11", "remaining_time": "0:01:15"}
45
+ {"current_steps": 369, "total_steps": 369, "eval_loss": 0.25400951504707336, "epoch": 8.790419161676647, "percentage": 100.0, "elapsed_time": "0:51:57", "remaining_time": "0:00:00"}
46
+ {"current_steps": 369, "total_steps": 369, "epoch": 8.790419161676647, "percentage": 100.0, "elapsed_time": "0:51:57", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 8.790419161676647,
6
+ "eval_steps": 500,
7
+ "global_step": 369,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.23952095808383234,
14
+ "grad_norm": 0.6599951386451721,
15
+ "learning_rate": 7.500000000000001e-05,
16
+ "loss": 1.1227,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.47904191616766467,
21
+ "grad_norm": 0.3134297728538513,
22
+ "learning_rate": 9.990516643685222e-05,
23
+ "loss": 0.6198,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.718562874251497,
28
+ "grad_norm": 0.31411099433898926,
29
+ "learning_rate": 9.944154131125642e-05,
30
+ "loss": 0.4961,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.9580838323353293,
35
+ "grad_norm": 0.2758181095123291,
36
+ "learning_rate": 9.859528969650738e-05,
37
+ "loss": 0.4349,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "eval_accuracy": 0.9055674652789968,
43
+ "eval_loss": 0.3939231336116791,
44
+ "eval_runtime": 34.0075,
45
+ "eval_samples_per_second": 11.321,
46
+ "eval_steps_per_second": 1.911,
47
+ "step": 42
48
+ },
49
+ {
50
+ "epoch": 1.1916167664670658,
51
+ "grad_norm": 0.2843815088272095,
52
+ "learning_rate": 9.737296070648186e-05,
53
+ "loss": 0.3507,
54
+ "step": 50
55
+ },
56
+ {
57
+ "epoch": 1.4311377245508983,
58
+ "grad_norm": 0.3070734441280365,
59
+ "learning_rate": 9.57840139057007e-05,
60
+ "loss": 0.3524,
61
+ "step": 60
62
+ },
63
+ {
64
+ "epoch": 1.6706586826347305,
65
+ "grad_norm": 0.4232611358165741,
66
+ "learning_rate": 9.384074610206495e-05,
67
+ "loss": 0.357,
68
+ "step": 70
69
+ },
70
+ {
71
+ "epoch": 1.910179640718563,
72
+ "grad_norm": 0.30136531591415405,
73
+ "learning_rate": 9.155819618225708e-05,
74
+ "loss": 0.2652,
75
+ "step": 80
76
+ },
77
+ {
78
+ "epoch": 2.0,
79
+ "eval_accuracy": 0.9271648627710736,
80
+ "eval_loss": 0.29773712158203125,
81
+ "eval_runtime": 33.9022,
82
+ "eval_samples_per_second": 11.356,
83
+ "eval_steps_per_second": 1.917,
84
+ "step": 84
85
+ },
86
+ {
87
+ "epoch": 2.143712574850299,
88
+ "grad_norm": 0.292621910572052,
89
+ "learning_rate": 8.895402872628352e-05,
90
+ "loss": 0.2932,
91
+ "step": 90
92
+ },
93
+ {
94
+ "epoch": 2.3832335329341316,
95
+ "grad_norm": 0.32854172587394714,
96
+ "learning_rate": 8.604839730186125e-05,
97
+ "loss": 0.2338,
98
+ "step": 100
99
+ },
100
+ {
101
+ "epoch": 2.622754491017964,
102
+ "grad_norm": 0.4840235412120819,
103
+ "learning_rate": 8.286378849660896e-05,
104
+ "loss": 0.266,
105
+ "step": 110
106
+ },
107
+ {
108
+ "epoch": 2.8622754491017965,
109
+ "grad_norm": 0.4044960141181946,
110
+ "learning_rate": 7.942484789507283e-05,
111
+ "loss": 0.215,
112
+ "step": 120
113
+ },
114
+ {
115
+ "epoch": 3.0,
116
+ "eval_accuracy": 0.9369269990688386,
117
+ "eval_loss": 0.2550356090068817,
118
+ "eval_runtime": 33.8759,
119
+ "eval_samples_per_second": 11.365,
120
+ "eval_steps_per_second": 1.919,
121
+ "step": 126
122
+ },
123
+ {
124
+ "epoch": 3.095808383233533,
125
+ "grad_norm": 0.33432769775390625,
126
+ "learning_rate": 7.57581893473448e-05,
127
+ "loss": 0.2036,
128
+ "step": 130
129
+ },
130
+ {
131
+ "epoch": 3.3353293413173652,
132
+ "grad_norm": 0.38244879245758057,
133
+ "learning_rate": 7.18921890053375e-05,
134
+ "loss": 0.1607,
135
+ "step": 140
136
+ },
137
+ {
138
+ "epoch": 3.5748502994011977,
139
+ "grad_norm": 0.4296240508556366,
140
+ "learning_rate": 6.785676572066225e-05,
141
+ "loss": 0.1785,
142
+ "step": 150
143
+ },
144
+ {
145
+ "epoch": 3.81437125748503,
146
+ "grad_norm": 0.47172796726226807,
147
+ "learning_rate": 6.368314950360415e-05,
148
+ "loss": 0.2215,
149
+ "step": 160
150
+ },
151
+ {
152
+ "epoch": 4.0,
153
+ "eval_accuracy": 0.9431379888235244,
154
+ "eval_loss": 0.23346135020256042,
155
+ "eval_runtime": 33.8413,
156
+ "eval_samples_per_second": 11.377,
157
+ "eval_steps_per_second": 1.921,
158
+ "step": 168
159
+ },
160
+ {
161
+ "epoch": 4.047904191616767,
162
+ "grad_norm": 0.32000893354415894,
163
+ "learning_rate": 5.940363983508257e-05,
164
+ "loss": 0.1491,
165
+ "step": 170
166
+ },
167
+ {
168
+ "epoch": 4.287425149700598,
169
+ "grad_norm": 0.4597998857498169,
170
+ "learning_rate": 5.5051355702012893e-05,
171
+ "loss": 0.1478,
172
+ "step": 180
173
+ },
174
+ {
175
+ "epoch": 4.526946107784431,
176
+ "grad_norm": 0.5424521565437317,
177
+ "learning_rate": 5.0659979290537954e-05,
178
+ "loss": 0.1245,
179
+ "step": 190
180
+ },
181
+ {
182
+ "epoch": 4.766467065868263,
183
+ "grad_norm": 0.433849036693573,
184
+ "learning_rate": 4.626349532067879e-05,
185
+ "loss": 0.1218,
186
+ "step": 200
187
+ },
188
+ {
189
+ "epoch": 5.0,
190
+ "grad_norm": 0.4479747712612152,
191
+ "learning_rate": 4.189592803968563e-05,
192
+ "loss": 0.1367,
193
+ "step": 210
194
+ },
195
+ {
196
+ "epoch": 5.0,
197
+ "eval_accuracy": 0.946174871725565,
198
+ "eval_loss": 0.22747232019901276,
199
+ "eval_runtime": 33.9356,
200
+ "eval_samples_per_second": 11.345,
201
+ "eval_steps_per_second": 1.915,
202
+ "step": 210
203
+ },
204
+ {
205
+ "epoch": 5.2395209580838324,
206
+ "grad_norm": 0.43904465436935425,
207
+ "learning_rate": 3.759107790948882e-05,
208
+ "loss": 0.0976,
209
+ "step": 220
210
+ },
211
+ {
212
+ "epoch": 5.479041916167665,
213
+ "grad_norm": 0.4111030697822571,
214
+ "learning_rate": 3.338226002601703e-05,
215
+ "loss": 0.099,
216
+ "step": 230
217
+ },
218
+ {
219
+ "epoch": 5.718562874251497,
220
+ "grad_norm": 0.44493556022644043,
221
+ "learning_rate": 2.9302046294747497e-05,
222
+ "loss": 0.0875,
223
+ "step": 240
224
+ },
225
+ {
226
+ "epoch": 5.95808383233533,
227
+ "grad_norm": 0.47588449716567993,
228
+ "learning_rate": 2.5382013357782893e-05,
229
+ "loss": 0.1033,
230
+ "step": 250
231
+ },
232
+ {
233
+ "epoch": 6.0,
234
+ "eval_accuracy": 0.9480128674164685,
235
+ "eval_loss": 0.2333451360464096,
236
+ "eval_runtime": 33.8321,
237
+ "eval_samples_per_second": 11.38,
238
+ "eval_steps_per_second": 1.921,
239
+ "step": 252
240
+ },
241
+ {
242
+ "epoch": 6.191616766467066,
243
+ "grad_norm": 0.4177131652832031,
244
+ "learning_rate": 2.1652498223239427e-05,
245
+ "loss": 0.0766,
246
+ "step": 260
247
+ },
248
+ {
249
+ "epoch": 6.431137724550898,
250
+ "grad_norm": 0.45009317994117737,
251
+ "learning_rate": 1.814236348812211e-05,
252
+ "loss": 0.094,
253
+ "step": 270
254
+ },
255
+ {
256
+ "epoch": 6.6706586826347305,
257
+ "grad_norm": 0.5086281299591064,
258
+ "learning_rate": 1.4878773971620074e-05,
259
+ "loss": 0.0606,
260
+ "step": 280
261
+ },
262
+ {
263
+ "epoch": 6.910179640718563,
264
+ "grad_norm": 0.4297720491886139,
265
+ "learning_rate": 1.1886986487449475e-05,
266
+ "loss": 0.0617,
267
+ "step": 290
268
+ },
269
+ {
270
+ "epoch": 7.0,
271
+ "eval_accuracy": 0.9493654377729795,
272
+ "eval_loss": 0.24343566596508026,
273
+ "eval_runtime": 33.8884,
274
+ "eval_samples_per_second": 11.361,
275
+ "eval_steps_per_second": 1.918,
276
+ "step": 294
277
+ },
278
+ {
279
+ "epoch": 7.1437125748503,
280
+ "grad_norm": 0.29749608039855957,
281
+ "learning_rate": 9.190154382188921e-06,
282
+ "loss": 0.0483,
283
+ "step": 300
284
+ },
285
+ {
286
+ "epoch": 7.383233532934132,
287
+ "grad_norm": 0.28365468978881836,
288
+ "learning_rate": 6.809148352279182e-06,
289
+ "loss": 0.0471,
290
+ "step": 310
291
+ },
292
+ {
293
+ "epoch": 7.6227544910179645,
294
+ "grad_norm": 0.296616792678833,
295
+ "learning_rate": 4.762394926378477e-06,
296
+ "loss": 0.0706,
297
+ "step": 320
298
+ },
299
+ {
300
+ "epoch": 7.862275449101796,
301
+ "grad_norm": 0.2559482455253601,
302
+ "learning_rate": 3.065733863053072e-06,
303
+ "loss": 0.0564,
304
+ "step": 330
305
+ },
306
+ {
307
+ "epoch": 8.0,
308
+ "eval_accuracy": 0.9497456075317338,
309
+ "eval_loss": 0.253061980009079,
310
+ "eval_runtime": 33.94,
311
+ "eval_samples_per_second": 11.344,
312
+ "eval_steps_per_second": 1.915,
313
+ "step": 336
314
+ },
315
+ {
316
+ "epoch": 8.095808383233534,
317
+ "grad_norm": 0.30027979612350464,
318
+ "learning_rate": 1.7322955673980678e-06,
319
+ "loss": 0.0555,
320
+ "step": 340
321
+ },
322
+ {
323
+ "epoch": 8.335329341317365,
324
+ "grad_norm": 0.29456067085266113,
325
+ "learning_rate": 7.723994752570462e-07,
326
+ "loss": 0.0552,
327
+ "step": 350
328
+ },
329
+ {
330
+ "epoch": 8.574850299401197,
331
+ "grad_norm": 0.33900371193885803,
332
+ "learning_rate": 1.9347419144180035e-07,
333
+ "loss": 0.0384,
334
+ "step": 360
335
+ },
336
+ {
337
+ "epoch": 8.790419161676647,
338
+ "eval_accuracy": 0.9495727484192179,
339
+ "eval_loss": 0.25400951504707336,
340
+ "eval_runtime": 33.8666,
341
+ "eval_samples_per_second": 11.368,
342
+ "eval_steps_per_second": 1.919,
343
+ "step": 369
344
+ },
345
+ {
346
+ "epoch": 8.790419161676647,
347
+ "step": 369,
348
+ "total_flos": 3.618115695725773e+17,
349
+ "train_loss": 0.2042977515113386,
350
+ "train_runtime": 3121.1368,
351
+ "train_samples_per_second": 2.884,
352
+ "train_steps_per_second": 0.118
353
+ }
354
+ ],
355
+ "logging_steps": 10,
356
+ "max_steps": 369,
357
+ "num_input_tokens_seen": 0,
358
+ "num_train_epochs": 9,
359
+ "save_steps": 500,
360
+ "stateful_callbacks": {
361
+ "TrainerControl": {
362
+ "args": {
363
+ "should_epoch_stop": false,
364
+ "should_evaluate": false,
365
+ "should_log": false,
366
+ "should_save": true,
367
+ "should_training_stop": true
368
+ },
369
+ "attributes": {}
370
+ }
371
+ },
372
+ "total_flos": 3.618115695725773e+17,
373
+ "train_batch_size": 2,
374
+ "trial_name": null,
375
+ "trial_params": null
376
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4df1c5c14e27e66bb39c5dd5e4000b3188c1e5705981baf17c8fd406c4f864ed
3
+ size 6097
training_eval_accuracy.png ADDED
training_eval_loss.png ADDED
training_loss.png ADDED
vocab.json ADDED
The diff for this file is too large to render. See raw diff