MatVet commited on
Commit
71eb357
·
verified ·
1 Parent(s): e7d75bc

Initial model upload

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .ipynb_checkpoints/README-checkpoint.md +141 -0
  2. README.md +141 -0
  3. adapter_config.json +39 -0
  4. adapter_model.safetensors +3 -0
  5. added_tokens.json +5 -0
  6. checkpoint-191/README.md +202 -0
  7. checkpoint-191/adapter_config.json +39 -0
  8. checkpoint-191/adapter_model.safetensors +3 -0
  9. checkpoint-191/added_tokens.json +5 -0
  10. checkpoint-191/merges.txt +0 -0
  11. checkpoint-191/optimizer.pt +3 -0
  12. checkpoint-191/rng_state_0.pth +3 -0
  13. checkpoint-191/rng_state_1.pth +3 -0
  14. checkpoint-191/rng_state_2.pth +3 -0
  15. checkpoint-191/rng_state_3.pth +3 -0
  16. checkpoint-191/rng_state_4.pth +3 -0
  17. checkpoint-191/rng_state_5.pth +3 -0
  18. checkpoint-191/rng_state_6.pth +3 -0
  19. checkpoint-191/rng_state_7.pth +3 -0
  20. checkpoint-191/scheduler.pt +3 -0
  21. checkpoint-191/special_tokens_map.json +35 -0
  22. checkpoint-191/tokenizer.json +0 -0
  23. checkpoint-191/tokenizer_config.json +199 -0
  24. checkpoint-191/trainer_state.json +167 -0
  25. checkpoint-191/training_args.bin +3 -0
  26. checkpoint-191/vocab.json +0 -0
  27. checkpoint-382/README.md +202 -0
  28. checkpoint-382/adapter_config.json +39 -0
  29. checkpoint-382/adapter_model.safetensors +3 -0
  30. checkpoint-382/added_tokens.json +5 -0
  31. checkpoint-382/merges.txt +0 -0
  32. checkpoint-382/optimizer.pt +3 -0
  33. checkpoint-382/rng_state_0.pth +3 -0
  34. checkpoint-382/rng_state_1.pth +3 -0
  35. checkpoint-382/rng_state_2.pth +3 -0
  36. checkpoint-382/rng_state_3.pth +3 -0
  37. checkpoint-382/rng_state_4.pth +3 -0
  38. checkpoint-382/rng_state_5.pth +3 -0
  39. checkpoint-382/rng_state_6.pth +3 -0
  40. checkpoint-382/rng_state_7.pth +3 -0
  41. checkpoint-382/scheduler.pt +3 -0
  42. checkpoint-382/special_tokens_map.json +35 -0
  43. checkpoint-382/tokenizer.json +0 -0
  44. checkpoint-382/tokenizer_config.json +199 -0
  45. checkpoint-382/trainer_state.json +300 -0
  46. checkpoint-382/training_args.bin +3 -0
  47. checkpoint-382/vocab.json +0 -0
  48. checkpoint-573/README.md +202 -0
  49. checkpoint-573/adapter_config.json +39 -0
  50. checkpoint-573/adapter_model.safetensors +3 -0
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: ibm-granite/granite-3.2-8b-instruct
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: home/ec2-user/SageMaker/task_decomposition/trained_models/granite-fc-judge-plans-3.2-8b-lora
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.8.0.dev0`
19
+ ```yaml
20
+ base_model: ibm-granite/granite-3.2-8b-instruct
21
+ model_type: AutoModelForCausalLM
22
+ tokenizer_type: AutoTokenizer
23
+
24
+ resize_token_embeddings_to_32x: true
25
+ load_in_8bit: true
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: fc_reflection_training_data.jsonl
31
+ type: chat_template
32
+ chat_template: tokenizer_default
33
+ field_messages: conversations
34
+ message_field_role: role
35
+ message_field_content: value
36
+ dataset_prepared_path: last_run_prepared_sft_fc_judge
37
+
38
+ val_set_size: 0
39
+ sequence_len: 16384
40
+ sample_packing: false
41
+ pad_to_sequence_len: true
42
+ eval_sample_packing: false
43
+ output_dir: granite-fc-judge-plans-3.2-8b-lora
44
+
45
+ wandb_project: null
46
+ wandb_entity: null
47
+ wandb_watch: null
48
+ wandb_name: null
49
+ wandb_log_model: null
50
+
51
+ adapter: lora
52
+ lora_model_dir:
53
+ lora_r: 32
54
+ lora_alpha: 16
55
+ lora_dropout: 0.05
56
+ lora_target_linear: true
57
+ lora_fan_in_fan_out:
58
+
59
+ gradient_accumulation_steps: 8
60
+ micro_batch_size: 1
61
+ eval_batch_size: 1
62
+ num_epochs: 3
63
+ optimizer: adamw_bnb_8bit
64
+ lr_scheduler: cosine
65
+ learning_rate: 1e-05
66
+
67
+ max_grad_norm: 1.0
68
+ logging_steps: 10
69
+
70
+ train_on_inputs: false
71
+ group_by_length: false
72
+
73
+ bf16: auto
74
+ fp16:
75
+ tf32: false
76
+
77
+ gradient_checkpointing: true
78
+ gradient_checkpointing_kwargs:
79
+ use_reentrant: false
80
+ early_stopping_patience:
81
+ resume_from_checkpoint:
82
+ local_rank:
83
+ xformers_attention:
84
+ flash_attention: true
85
+ warmup_ratio: 0.05
86
+ eval_steps:
87
+ save_strategy: epoch
88
+ eval_table_size:
89
+ num_processes: 8
90
+ deepspeed:
91
+ weight_decay: 0.0
92
+ ```
93
+
94
+ </details><br>
95
+
96
+ # home/ec2-user/SageMaker/task_decomposition/trained_models/granite-fc-judge-plans-3.2-8b-lora
97
+
98
+ This model is a fine-tuned version of [ibm-granite/granite-3.2-8b-instruct](https://huggingface.co/ibm-granite/granite-3.2-8b-instruct) on the /home/ec2-user/SageMaker/task_decomposition/data/fc_reflection_training_data.jsonl dataset.
99
+
100
+ ## Model description
101
+
102
+ More information needed
103
+
104
+ ## Intended uses & limitations
105
+
106
+ More information needed
107
+
108
+ ## Training and evaluation data
109
+
110
+ More information needed
111
+
112
+ ## Training procedure
113
+
114
+ ### Training hyperparameters
115
+
116
+ The following hyperparameters were used during training:
117
+ - learning_rate: 1e-05
118
+ - train_batch_size: 1
119
+ - eval_batch_size: 1
120
+ - seed: 42
121
+ - distributed_type: multi-GPU
122
+ - num_devices: 2
123
+ - gradient_accumulation_steps: 8
124
+ - total_train_batch_size: 16
125
+ - total_eval_batch_size: 8
126
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
127
+ - lr_scheduler_type: cosine
128
+ - lr_scheduler_warmup_steps: 28
129
+ - num_epochs: 3.0
130
+
131
+ ### Training results
132
+
133
+
134
+
135
+ ### Framework versions
136
+
137
+ - PEFT 0.15.0
138
+ - Transformers 4.50.0
139
+ - Pytorch 2.6.0+cu124
140
+ - Datasets 3.4.1
141
+ - Tokenizers 0.21.1
README.md ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: ibm-granite/granite-3.2-8b-instruct
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: home/ec2-user/SageMaker/task_decomposition/trained_models/granite-fc-judge-plans-3.2-8b-lora
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.8.0.dev0`
19
+ ```yaml
20
+ base_model: ibm-granite/granite-3.2-8b-instruct
21
+ model_type: AutoModelForCausalLM
22
+ tokenizer_type: AutoTokenizer
23
+
24
+ resize_token_embeddings_to_32x: true
25
+ load_in_8bit: true
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: fc_reflection_training_data.jsonl
31
+ type: chat_template
32
+ chat_template: tokenizer_default
33
+ field_messages: conversations
34
+ message_field_role: role
35
+ message_field_content: value
36
+ dataset_prepared_path: last_run_prepared_sft_fc_judge
37
+
38
+ val_set_size: 0
39
+ sequence_len: 16384
40
+ sample_packing: false
41
+ pad_to_sequence_len: true
42
+ eval_sample_packing: false
43
+ output_dir: granite-fc-judge-plans-3.2-8b-lora
44
+
45
+ wandb_project: null
46
+ wandb_entity: null
47
+ wandb_watch: null
48
+ wandb_name: null
49
+ wandb_log_model: null
50
+
51
+ adapter: lora
52
+ lora_model_dir:
53
+ lora_r: 32
54
+ lora_alpha: 16
55
+ lora_dropout: 0.05
56
+ lora_target_linear: true
57
+ lora_fan_in_fan_out:
58
+
59
+ gradient_accumulation_steps: 8
60
+ micro_batch_size: 1
61
+ eval_batch_size: 1
62
+ num_epochs: 3
63
+ optimizer: adamw_bnb_8bit
64
+ lr_scheduler: cosine
65
+ learning_rate: 1e-05
66
+
67
+ max_grad_norm: 1.0
68
+ logging_steps: 10
69
+
70
+ train_on_inputs: false
71
+ group_by_length: false
72
+
73
+ bf16: auto
74
+ fp16:
75
+ tf32: false
76
+
77
+ gradient_checkpointing: true
78
+ gradient_checkpointing_kwargs:
79
+ use_reentrant: false
80
+ early_stopping_patience:
81
+ resume_from_checkpoint:
82
+ local_rank:
83
+ xformers_attention:
84
+ flash_attention: true
85
+ warmup_ratio: 0.05
86
+ eval_steps:
87
+ save_strategy: epoch
88
+ eval_table_size:
89
+ num_processes: 8
90
+ deepspeed:
91
+ weight_decay: 0.0
92
+ ```
93
+
94
+ </details><br>
95
+
96
+ # home/ec2-user/SageMaker/task_decomposition/trained_models/granite-fc-judge-plans-3.2-8b-lora
97
+
98
+ This model is a fine-tuned version of [ibm-granite/granite-3.2-8b-instruct](https://huggingface.co/ibm-granite/granite-3.2-8b-instruct) on the /home/ec2-user/SageMaker/task_decomposition/data/fc_reflection_training_data.jsonl dataset.
99
+
100
+ ## Model description
101
+
102
+ More information needed
103
+
104
+ ## Intended uses & limitations
105
+
106
+ More information needed
107
+
108
+ ## Training and evaluation data
109
+
110
+ More information needed
111
+
112
+ ## Training procedure
113
+
114
+ ### Training hyperparameters
115
+
116
+ The following hyperparameters were used during training:
117
+ - learning_rate: 1e-05
118
+ - train_batch_size: 1
119
+ - eval_batch_size: 1
120
+ - seed: 42
121
+ - distributed_type: multi-GPU
122
+ - num_devices: 2
123
+ - gradient_accumulation_steps: 8
124
+ - total_train_batch_size: 16
125
+ - total_eval_batch_size: 8
126
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
127
+ - lr_scheduler_type: cosine
128
+ - lr_scheduler_warmup_steps: 28
129
+ - num_epochs: 3.0
130
+
131
+ ### Training results
132
+
133
+
134
+
135
+ ### Framework versions
136
+
137
+ - PEFT 0.15.0
138
+ - Transformers 4.50.0
139
+ - Pytorch 2.6.0+cu124
140
+ - Datasets 3.4.1
141
+ - 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.2-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
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.05,
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
+ "gate_proj",
29
+ "k_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "down_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:de9cba78e95d23f54709455ac4d1f7f3da3a5668b8ee55312abdbd8d5b36a588
3
+ size 1201743872
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|end_of_role|>": 49153,
3
+ "<|start_of_role|>": 49152,
4
+ "<|tool_call|>": 49154
5
+ }
checkpoint-191/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.2-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.0
checkpoint-191/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.2-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
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.05,
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
+ "gate_proj",
29
+ "k_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "down_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-191/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e4b69af08cc2fbf7464dbd38e52beb50a5557fcff82e1f5a2f9bac59aecb0a
3
+ size 1201743872
checkpoint-191/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|end_of_role|>": 49153,
3
+ "<|start_of_role|>": 49152,
4
+ "<|tool_call|>": 49154
5
+ }
checkpoint-191/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-191/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c95f78c60768cbc7fad51814dc65c183a54ee743a9599d0af8df8bfec4266037
3
+ size 201669140
checkpoint-191/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46ecd960c3616ab898f7ef02288545305514eb92cd32d36ed0949c209f1578a3
3
+ size 15984
checkpoint-191/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1418b990dc7e4dc01b7828a80373e5215c4c877d6f0c13be5ad5693f0af396d
3
+ size 15984
checkpoint-191/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ed9a6ecd0ff3e4a8a441bf48b745b8fa6cda5afc916f0f77cccacdc01c5d27a
3
+ size 15984
checkpoint-191/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62d3fcf3b7a791f4a0a1e6a4b124e56784e93dc252e62e7527d94cb21266a06b
3
+ size 15984
checkpoint-191/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eb51958eda5f96e94418b9d44efbed6d541baba5f71cdd9fdf2f1fea413af75
3
+ size 15984
checkpoint-191/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a8efa143b07ec3955e100388ef2398fcc90ac47db573ec292162fa4edaecc8c
3
+ size 15984
checkpoint-191/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:498ea9e789ed79f53da30088fc46085039f39be42db22d379eb30e2945ac0795
3
+ size 15984
checkpoint-191/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74b19e13d9d6db9a01c1107e5a0017ed1e6cb7a00bd8829d3b0f965abbbff867
3
+ size 15984
checkpoint-191/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da0cec87ef0d7499649be3c86b0bd382ed3a44ae272b07eb1e2569c0f370de0
3
+ size 1064
checkpoint-191/special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|start_of_role|>",
4
+ "<|end_of_role|>",
5
+ "<|tool_call|>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<|end_of_text|>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "<|end_of_text|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "<|end_of_text|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<|end_of_text|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
checkpoint-191/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-191/tokenizer_config.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|start_of_role|>",
184
+ "<|end_of_role|>",
185
+ "<|tool_call|>"
186
+ ],
187
+ "bos_token": "<|end_of_text|>",
188
+ "chat_template": "{%- 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 tools and documents %}\n {%- set system_message = system_message + \" You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond 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\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 tools %}\n {%- set system_message = system_message + \" You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond 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 after 'Here is my thought process:' and write your response after 'Here is my 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 + '\n\nIn your response, use the symbols <co> and </co> to indicate when a fact comes from a document in the search result, e.g <co>0</co> for a fact from document 0. 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 + '\n\nFinally, after the response is written, include a numbered list of sentences from the response that are potentially 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 tools %}\n {{- '<|start_of_role|>tools<|end_of_role|>' }}\n {{- tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n{%- endif %}\n{%- if documents %}\n {{- '<|start_of_role|>documents<|end_of_role|>' }}\n {%- for document in documents %}\n {{- 'Document ' + loop.index0 | string + '\n' }}\n {{- document['text'] }}\n {%- if not loop.last %}\n {{- '\n\n'}}\n {%- endif%}\n {%- endfor %}\n {{- '<|end_of_text|>\n' }}\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 %}",
189
+ "clean_up_tokenization_spaces": true,
190
+ "eos_token": "<|end_of_text|>",
191
+ "errors": "replace",
192
+ "extra_special_tokens": {},
193
+ "model_max_length": 9223372036854775807,
194
+ "pad_token": "<|end_of_text|>",
195
+ "padding_side": "left",
196
+ "tokenizer_class": "GPT2Tokenizer",
197
+ "unk_token": "<|end_of_text|>",
198
+ "vocab_size": 49152
199
+ }
checkpoint-191/trainer_state.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 191,
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.05235602094240838,
14
+ "grad_norm": 1.7465206384658813,
15
+ "learning_rate": 3.5714285714285718e-06,
16
+ "loss": 2.1706,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.10471204188481675,
21
+ "grad_norm": 1.7565288543701172,
22
+ "learning_rate": 7.1428571428571436e-06,
23
+ "loss": 2.1298,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.15706806282722513,
28
+ "grad_norm": 1.6833906173706055,
29
+ "learning_rate": 9.999667721737726e-06,
30
+ "loss": 2.0094,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.2094240837696335,
35
+ "grad_norm": 0.9849353432655334,
36
+ "learning_rate": 9.988042619072185e-06,
37
+ "loss": 1.6463,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.2617801047120419,
42
+ "grad_norm": 0.6070773601531982,
43
+ "learning_rate": 9.959847740452746e-06,
44
+ "loss": 1.2906,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.31413612565445026,
49
+ "grad_norm": 0.6333560943603516,
50
+ "learning_rate": 9.915176746430746e-06,
51
+ "loss": 1.0662,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.36649214659685864,
56
+ "grad_norm": 0.6348393559455872,
57
+ "learning_rate": 9.854178029555945e-06,
58
+ "loss": 0.8419,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.418848167539267,
63
+ "grad_norm": 0.5582183599472046,
64
+ "learning_rate": 9.777054221431418e-06,
65
+ "loss": 0.607,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.4712041884816754,
70
+ "grad_norm": 0.3988368809223175,
71
+ "learning_rate": 9.684061519591734e-06,
72
+ "loss": 0.4058,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.5235602094240838,
77
+ "grad_norm": 0.2803727686405182,
78
+ "learning_rate": 9.575508836440516e-06,
79
+ "loss": 0.2719,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.5759162303664922,
84
+ "grad_norm": 0.22803670167922974,
85
+ "learning_rate": 9.4517567730745e-06,
86
+ "loss": 0.2187,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.6282722513089005,
91
+ "grad_norm": 0.15162332355976105,
92
+ "learning_rate": 9.31321642140296e-06,
93
+ "loss": 0.1683,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.680628272251309,
98
+ "grad_norm": 0.14552448689937592,
99
+ "learning_rate": 9.160347998541722e-06,
100
+ "loss": 0.1498,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.7329842931937173,
105
+ "grad_norm": 0.12311847507953644,
106
+ "learning_rate": 8.993659318018191e-06,
107
+ "loss": 0.1275,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.7853403141361257,
112
+ "grad_norm": 0.12518972158432007,
113
+ "learning_rate": 8.813704102865881e-06,
114
+ "loss": 0.1355,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.837696335078534,
119
+ "grad_norm": 0.10763471573591232,
120
+ "learning_rate": 8.621080146212181e-06,
121
+ "loss": 0.117,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.8900523560209425,
126
+ "grad_norm": 0.09098246693611145,
127
+ "learning_rate": 8.416427325469705e-06,
128
+ "loss": 0.1136,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.9424083769633508,
133
+ "grad_norm": 0.09860527515411377,
134
+ "learning_rate": 8.20042547672788e-06,
135
+ "loss": 0.094,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.9947643979057592,
140
+ "grad_norm": 0.10945748537778854,
141
+ "learning_rate": 7.97379213640582e-06,
142
+ "loss": 0.0942,
143
+ "step": 190
144
+ }
145
+ ],
146
+ "logging_steps": 10,
147
+ "max_steps": 573,
148
+ "num_input_tokens_seen": 0,
149
+ "num_train_epochs": 3,
150
+ "save_steps": 500,
151
+ "stateful_callbacks": {
152
+ "TrainerControl": {
153
+ "args": {
154
+ "should_epoch_stop": false,
155
+ "should_evaluate": false,
156
+ "should_log": false,
157
+ "should_save": true,
158
+ "should_training_stop": false
159
+ },
160
+ "attributes": {}
161
+ }
162
+ },
163
+ "total_flos": 9.695621790042161e+18,
164
+ "train_batch_size": 1,
165
+ "trial_name": null,
166
+ "trial_params": null
167
+ }
checkpoint-191/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31aeacfa1a2b290902b6cafb206b38d399a339205d051a75623e21e7b5112851
3
+ size 6776
checkpoint-191/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-382/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.2-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.0
checkpoint-382/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.2-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
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.05,
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
+ "gate_proj",
29
+ "k_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "down_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-382/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaeb087337ce84aecc2e49fe9a9ea337f9b73c4450cdb019e6f10bfdc0c75f39
3
+ size 1201743872
checkpoint-382/added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|end_of_role|>": 49153,
3
+ "<|start_of_role|>": 49152,
4
+ "<|tool_call|>": 49154
5
+ }
checkpoint-382/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-382/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0054c30f154997ed9e752103a35d472691fb146d6b206546f27b8b78ac49c2b6
3
+ size 201669716
checkpoint-382/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa8737d6a349f5d2abe194f8edeb9f89346cfe2de8e937d4d4923b1e8f4a2231
3
+ size 15984
checkpoint-382/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c52378c3915397d11135b8827444d231a8635aefae5759523b68c1bf28b67e4
3
+ size 15984
checkpoint-382/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0275ba87f1b865e6d7cf570a64028be3ad1aaf85a4f1815e43744745dda4335
3
+ size 15984
checkpoint-382/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:606efce2b86141b576fc51df45c319649c4a706d23730af540fbf7ff3aca3963
3
+ size 15984
checkpoint-382/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ac6720a28c3efdab571e963c3268cf83a6a1b4190e1ddf8cc2820059130f80e
3
+ size 15984
checkpoint-382/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d3569de9c4e6089773b76e1ce6f13ec494dd124b0f468ace2e9270755267df8
3
+ size 15984
checkpoint-382/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7237b597f12ecebd822dedeb1a2a18dfbb3662eab23489e862325da0bcbbcde3
3
+ size 15984
checkpoint-382/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c09bb4fd2784709edf28ea8ae4926786f04e09371df95d0b48ff15b51c86457
3
+ size 15984
checkpoint-382/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd484fd59b7bb025d62cc2eff1f06e2c11f94b24ed8fc144c58724d711cb9633
3
+ size 1064
checkpoint-382/special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|start_of_role|>",
4
+ "<|end_of_role|>",
5
+ "<|tool_call|>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<|end_of_text|>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "<|end_of_text|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "<|end_of_text|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<|end_of_text|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
checkpoint-382/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-382/tokenizer_config.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|start_of_role|>",
184
+ "<|end_of_role|>",
185
+ "<|tool_call|>"
186
+ ],
187
+ "bos_token": "<|end_of_text|>",
188
+ "chat_template": "{%- 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 tools and documents %}\n {%- set system_message = system_message + \" You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond 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\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 tools %}\n {%- set system_message = system_message + \" You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond 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 after 'Here is my thought process:' and write your response after 'Here is my 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 + '\n\nIn your response, use the symbols <co> and </co> to indicate when a fact comes from a document in the search result, e.g <co>0</co> for a fact from document 0. 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 + '\n\nFinally, after the response is written, include a numbered list of sentences from the response that are potentially 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 tools %}\n {{- '<|start_of_role|>tools<|end_of_role|>' }}\n {{- tools | tojson(indent=4) }}\n {{- '<|end_of_text|>\n' }}\n{%- endif %}\n{%- if documents %}\n {{- '<|start_of_role|>documents<|end_of_role|>' }}\n {%- for document in documents %}\n {{- 'Document ' + loop.index0 | string + '\n' }}\n {{- document['text'] }}\n {%- if not loop.last %}\n {{- '\n\n'}}\n {%- endif%}\n {%- endfor %}\n {{- '<|end_of_text|>\n' }}\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 %}",
189
+ "clean_up_tokenization_spaces": true,
190
+ "eos_token": "<|end_of_text|>",
191
+ "errors": "replace",
192
+ "extra_special_tokens": {},
193
+ "model_max_length": 9223372036854775807,
194
+ "pad_token": "<|end_of_text|>",
195
+ "padding_side": "left",
196
+ "tokenizer_class": "GPT2Tokenizer",
197
+ "unk_token": "<|end_of_text|>",
198
+ "vocab_size": 49152
199
+ }
checkpoint-382/trainer_state.json ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 382,
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.05235602094240838,
14
+ "grad_norm": 1.7465206384658813,
15
+ "learning_rate": 3.5714285714285718e-06,
16
+ "loss": 2.1706,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.10471204188481675,
21
+ "grad_norm": 1.7565288543701172,
22
+ "learning_rate": 7.1428571428571436e-06,
23
+ "loss": 2.1298,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.15706806282722513,
28
+ "grad_norm": 1.6833906173706055,
29
+ "learning_rate": 9.999667721737726e-06,
30
+ "loss": 2.0094,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.2094240837696335,
35
+ "grad_norm": 0.9849353432655334,
36
+ "learning_rate": 9.988042619072185e-06,
37
+ "loss": 1.6463,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.2617801047120419,
42
+ "grad_norm": 0.6070773601531982,
43
+ "learning_rate": 9.959847740452746e-06,
44
+ "loss": 1.2906,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.31413612565445026,
49
+ "grad_norm": 0.6333560943603516,
50
+ "learning_rate": 9.915176746430746e-06,
51
+ "loss": 1.0662,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.36649214659685864,
56
+ "grad_norm": 0.6348393559455872,
57
+ "learning_rate": 9.854178029555945e-06,
58
+ "loss": 0.8419,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.418848167539267,
63
+ "grad_norm": 0.5582183599472046,
64
+ "learning_rate": 9.777054221431418e-06,
65
+ "loss": 0.607,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.4712041884816754,
70
+ "grad_norm": 0.3988368809223175,
71
+ "learning_rate": 9.684061519591734e-06,
72
+ "loss": 0.4058,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.5235602094240838,
77
+ "grad_norm": 0.2803727686405182,
78
+ "learning_rate": 9.575508836440516e-06,
79
+ "loss": 0.2719,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.5759162303664922,
84
+ "grad_norm": 0.22803670167922974,
85
+ "learning_rate": 9.4517567730745e-06,
86
+ "loss": 0.2187,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.6282722513089005,
91
+ "grad_norm": 0.15162332355976105,
92
+ "learning_rate": 9.31321642140296e-06,
93
+ "loss": 0.1683,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.680628272251309,
98
+ "grad_norm": 0.14552448689937592,
99
+ "learning_rate": 9.160347998541722e-06,
100
+ "loss": 0.1498,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.7329842931937173,
105
+ "grad_norm": 0.12311847507953644,
106
+ "learning_rate": 8.993659318018191e-06,
107
+ "loss": 0.1275,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.7853403141361257,
112
+ "grad_norm": 0.12518972158432007,
113
+ "learning_rate": 8.813704102865881e-06,
114
+ "loss": 0.1355,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.837696335078534,
119
+ "grad_norm": 0.10763471573591232,
120
+ "learning_rate": 8.621080146212181e-06,
121
+ "loss": 0.117,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.8900523560209425,
126
+ "grad_norm": 0.09098246693611145,
127
+ "learning_rate": 8.416427325469705e-06,
128
+ "loss": 0.1136,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.9424083769633508,
133
+ "grad_norm": 0.09860527515411377,
134
+ "learning_rate": 8.20042547672788e-06,
135
+ "loss": 0.094,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.9947643979057592,
140
+ "grad_norm": 0.10945748537778854,
141
+ "learning_rate": 7.97379213640582e-06,
142
+ "loss": 0.0942,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 1.0471204188481675,
147
+ "grad_norm": 0.11834724992513657,
148
+ "learning_rate": 7.737280157668503e-06,
149
+ "loss": 0.09,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 1.0994764397905759,
154
+ "grad_norm": 0.10080426931381226,
155
+ "learning_rate": 7.491675209524272e-06,
156
+ "loss": 0.0946,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 1.1518324607329844,
161
+ "grad_norm": 0.08215247094631195,
162
+ "learning_rate": 7.2377931669113934e-06,
163
+ "loss": 0.0806,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 1.2041884816753927,
168
+ "grad_norm": 0.08016388863325119,
169
+ "learning_rate": 6.9764774004435685e-06,
170
+ "loss": 0.0789,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 1.256544502617801,
175
+ "grad_norm": 0.07389019429683685,
176
+ "learning_rate": 6.7085959748175685e-06,
177
+ "loss": 0.074,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 1.3089005235602094,
182
+ "grad_norm": 0.07971442490816116,
183
+ "learning_rate": 6.4350387651896025e-06,
184
+ "loss": 0.0747,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 1.3612565445026177,
189
+ "grad_norm": 0.08037588745355606,
190
+ "learning_rate": 6.156714501099544e-06,
191
+ "loss": 0.0697,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 1.4136125654450262,
196
+ "grad_norm": 0.08765669167041779,
197
+ "learning_rate": 5.874547747762792e-06,
198
+ "loss": 0.0718,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 1.4659685863874345,
203
+ "grad_norm": 0.07357458770275116,
204
+ "learning_rate": 5.589475834757595e-06,
205
+ "loss": 0.0792,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 1.518324607329843,
210
+ "grad_norm": 0.07739537954330444,
211
+ "learning_rate": 5.30244574231046e-06,
212
+ "loss": 0.065,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 1.5706806282722514,
217
+ "grad_norm": 0.08964010328054428,
218
+ "learning_rate": 5.014410955523079e-06,
219
+ "loss": 0.078,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 1.6230366492146597,
224
+ "grad_norm": 0.08084548264741898,
225
+ "learning_rate": 4.726328296990699e-06,
226
+ "loss": 0.0664,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 1.675392670157068,
231
+ "grad_norm": 0.0787574052810669,
232
+ "learning_rate": 4.439154748333695e-06,
233
+ "loss": 0.0898,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 1.7277486910994764,
238
+ "grad_norm": 0.07267516106367111,
239
+ "learning_rate": 4.1538442712008545e-06,
240
+ "loss": 0.0651,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 1.7801047120418847,
245
+ "grad_norm": 0.06778734922409058,
246
+ "learning_rate": 3.8713446383047295e-06,
247
+ "loss": 0.072,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 1.8324607329842932,
252
+ "grad_norm": 0.06181349232792854,
253
+ "learning_rate": 3.5925942850159895e-06,
254
+ "loss": 0.0679,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 1.8848167539267016,
259
+ "grad_norm": 0.07907990366220474,
260
+ "learning_rate": 3.318519191975499e-06,
261
+ "loss": 0.0716,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 1.93717277486911,
266
+ "grad_norm": 0.061959393322467804,
267
+ "learning_rate": 3.0500298090797465e-06,
268
+ "loss": 0.0715,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 1.9895287958115184,
273
+ "grad_norm": 0.059804897755384445,
274
+ "learning_rate": 2.7880180310578546e-06,
275
+ "loss": 0.0621,
276
+ "step": 380
277
+ }
278
+ ],
279
+ "logging_steps": 10,
280
+ "max_steps": 573,
281
+ "num_input_tokens_seen": 0,
282
+ "num_train_epochs": 3,
283
+ "save_steps": 500,
284
+ "stateful_callbacks": {
285
+ "TrainerControl": {
286
+ "args": {
287
+ "should_epoch_stop": false,
288
+ "should_evaluate": false,
289
+ "should_log": false,
290
+ "should_save": true,
291
+ "should_training_stop": false
292
+ },
293
+ "attributes": {}
294
+ }
295
+ },
296
+ "total_flos": 1.9391243571494388e+19,
297
+ "train_batch_size": 1,
298
+ "trial_name": null,
299
+ "trial_params": null
300
+ }
checkpoint-382/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31aeacfa1a2b290902b6cafb206b38d399a339205d051a75623e21e7b5112851
3
+ size 6776
checkpoint-382/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-573/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ibm-granite/granite-3.2-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.0
checkpoint-573/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.2-8b-instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
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.05,
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
+ "gate_proj",
29
+ "k_proj",
30
+ "v_proj",
31
+ "o_proj",
32
+ "down_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-573/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de9cba78e95d23f54709455ac4d1f7f3da3a5668b8ee55312abdbd8d5b36a588
3
+ size 1201743872