phgrouptechs commited on
Commit
1a5ab74
·
verified ·
1 Parent(s): 11e2dc3

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +6 -0
  2. README.md +62 -3
  3. adapter_config.json +46 -0
  4. adapter_model.safetensors +3 -0
  5. chat_template.jinja +5 -0
  6. checkpoint-100/README.md +209 -0
  7. checkpoint-100/adapter_config.json +46 -0
  8. checkpoint-100/adapter_model.safetensors +3 -0
  9. checkpoint-100/chat_template.jinja +5 -0
  10. checkpoint-100/optimizer.pt +3 -0
  11. checkpoint-100/rng_state.pth +3 -0
  12. checkpoint-100/scheduler.pt +3 -0
  13. checkpoint-100/tokenizer.json +3 -0
  14. checkpoint-100/tokenizer_config.json +15 -0
  15. checkpoint-100/trainer_state.json +134 -0
  16. checkpoint-100/training_args.bin +3 -0
  17. checkpoint-200/README.md +209 -0
  18. checkpoint-200/adapter_config.json +46 -0
  19. checkpoint-200/adapter_model.safetensors +3 -0
  20. checkpoint-200/chat_template.jinja +5 -0
  21. checkpoint-200/optimizer.pt +3 -0
  22. checkpoint-200/rng_state.pth +3 -0
  23. checkpoint-200/scheduler.pt +3 -0
  24. checkpoint-200/tokenizer.json +3 -0
  25. checkpoint-200/tokenizer_config.json +15 -0
  26. checkpoint-200/trainer_state.json +234 -0
  27. checkpoint-200/training_args.bin +3 -0
  28. checkpoint-300/README.md +209 -0
  29. checkpoint-300/adapter_config.json +46 -0
  30. checkpoint-300/adapter_model.safetensors +3 -0
  31. checkpoint-300/chat_template.jinja +5 -0
  32. checkpoint-300/optimizer.pt +3 -0
  33. checkpoint-300/rng_state.pth +3 -0
  34. checkpoint-300/scheduler.pt +3 -0
  35. checkpoint-300/tokenizer.json +3 -0
  36. checkpoint-300/tokenizer_config.json +15 -0
  37. checkpoint-300/trainer_state.json +334 -0
  38. checkpoint-300/training_args.bin +3 -0
  39. checkpoint-400/README.md +209 -0
  40. checkpoint-400/adapter_config.json +46 -0
  41. checkpoint-400/adapter_model.safetensors +3 -0
  42. checkpoint-400/chat_template.jinja +5 -0
  43. checkpoint-400/optimizer.pt +3 -0
  44. checkpoint-400/rng_state.pth +3 -0
  45. checkpoint-400/scheduler.pt +3 -0
  46. checkpoint-400/tokenizer.json +3 -0
  47. checkpoint-400/tokenizer_config.json +15 -0
  48. checkpoint-400/trainer_state.json +434 -0
  49. checkpoint-400/training_args.bin +3 -0
  50. checkpoint-500/README.md +209 -0
.gitattributes CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ checkpoint-400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
+ checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
41
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,62 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ model_name: tutor_model_output
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for tutor_model_output
16
+
17
+ This model is a fine-tuned version of [unsloth/llama-3-8b-Instruct-bnb-4bit](https://huggingface.co/unsloth/llama-3-8b-Instruct-bnb-4bit).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/phgrouptechs-phgroup-technology-solutions-co-ltd/my-awesome-project/runs/7vqgjc2u)
34
+
35
+
36
+
37
+ This model was trained with SFT.
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.18.1
42
+ - TRL: 0.29.0
43
+ - Transformers: 5.2.0
44
+ - Pytorch: 2.8.0+cu128
45
+ - Datasets: 4.6.0
46
+ - Tokenizers: 0.22.2
47
+
48
+ ## Citations
49
+
50
+
51
+
52
+ Cite TRL as:
53
+
54
+ ```bibtex
55
+ @software{vonwerra2020trl,
56
+ title = {{TRL: Transformers Reinforcement Learning}},
57
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
58
+ license = {Apache-2.0},
59
+ url = {https://github.com/huggingface/trl},
60
+ year = {2020}
61
+ }
62
+ ```
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "unsloth/llama-3-8b-Instruct-bnb-4bit",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "up_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27e2e812aa91b0af98fa9af3f5cbd95f3212af35d91ec3ab0e8d1cf1f47b5ba6
3
+ size 83946192
chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
checkpoint-100/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "unsloth/llama-3-8b-Instruct-bnb-4bit",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "up_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2c2b8092d72e36662bbcb939947cb8b00883bb89d3249cfedbc4e6a800463f
3
+ size 83946192
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:189d043694baff6a2630a6b1e5a58f07b1e7a255a848278d3f7622fe030eabe4
3
+ size 335817867
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:656940eec6948746efc59dba0c191ea5ae91cfbd43a4858cae4f839eac52b6a0
3
+ size 14645
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb4fcae01b7d3ddee06d5dff83dd357ce4a03d2635baedaafac11fed9751390f
3
+ size 1465
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5cf44023714fb39b05e71e425f8d7b92805ff73f7988b083b8c87f0bf87393
3
+ size 17209961
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 1000000000000000019884624838656,
12
+ "pad_token": "<|reserved_special_token_250|>",
13
+ "padding_side": "left",
14
+ "tokenizer_class": "TokenizersBackend"
15
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.010103561505430665,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.45259268283844,
14
+ "epoch": 0.0010103561505430665,
15
+ "grad_norm": 0.2451171875,
16
+ "learning_rate": 0.0001964,
17
+ "loss": 1.7130912780761718,
18
+ "mean_token_accuracy": 0.6436435863375664,
19
+ "num_tokens": 28151.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.3634081721305846,
24
+ "epoch": 0.002020712301086133,
25
+ "grad_norm": 0.484375,
26
+ "learning_rate": 0.00019240000000000001,
27
+ "loss": 1.3450921058654786,
28
+ "mean_token_accuracy": 0.686880823969841,
29
+ "num_tokens": 57374.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.1857430338859558,
34
+ "epoch": 0.0030310684516291994,
35
+ "grad_norm": 0.322265625,
36
+ "learning_rate": 0.0001884,
37
+ "loss": 1.205996608734131,
38
+ "mean_token_accuracy": 0.706908255815506,
39
+ "num_tokens": 86755.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.156875231862068,
44
+ "epoch": 0.004041424602172266,
45
+ "grad_norm": 0.359375,
46
+ "learning_rate": 0.0001844,
47
+ "loss": 1.1667716026306152,
48
+ "mean_token_accuracy": 0.7132074117660523,
49
+ "num_tokens": 114130.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 1.083250343799591,
54
+ "epoch": 0.005051780752715332,
55
+ "grad_norm": 0.330078125,
56
+ "learning_rate": 0.00018040000000000002,
57
+ "loss": 1.1047730445861816,
58
+ "mean_token_accuracy": 0.7196864277124405,
59
+ "num_tokens": 141768.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 1.0874410301446915,
64
+ "epoch": 0.006062136903258399,
65
+ "grad_norm": 0.265625,
66
+ "learning_rate": 0.0001764,
67
+ "loss": 1.0894905090332032,
68
+ "mean_token_accuracy": 0.7210412979125976,
69
+ "num_tokens": 172272.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 1.1303296595811845,
74
+ "epoch": 0.007072493053801465,
75
+ "grad_norm": 0.25390625,
76
+ "learning_rate": 0.00017240000000000002,
77
+ "loss": 1.1445048332214356,
78
+ "mean_token_accuracy": 0.7178041815757752,
79
+ "num_tokens": 200909.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 1.0938484042882919,
84
+ "epoch": 0.008082849204344532,
85
+ "grad_norm": 0.271484375,
86
+ "learning_rate": 0.0001684,
87
+ "loss": 1.098367691040039,
88
+ "mean_token_accuracy": 0.7246084690093995,
89
+ "num_tokens": 228726.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 1.0779876083135604,
94
+ "epoch": 0.009093205354887599,
95
+ "grad_norm": 0.2216796875,
96
+ "learning_rate": 0.0001644,
97
+ "loss": 1.0803230285644532,
98
+ "mean_token_accuracy": 0.720952507853508,
99
+ "num_tokens": 255181.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 1.1645614862442017,
104
+ "epoch": 0.010103561505430665,
105
+ "grad_norm": 0.1826171875,
106
+ "learning_rate": 0.00016040000000000002,
107
+ "loss": 1.147304630279541,
108
+ "mean_token_accuracy": 0.7067203193902969,
109
+ "num_tokens": 283616.0,
110
+ "step": 100
111
+ }
112
+ ],
113
+ "logging_steps": 10,
114
+ "max_steps": 500,
115
+ "num_input_tokens_seen": 0,
116
+ "num_train_epochs": 1,
117
+ "save_steps": 100,
118
+ "stateful_callbacks": {
119
+ "TrainerControl": {
120
+ "args": {
121
+ "should_epoch_stop": false,
122
+ "should_evaluate": false,
123
+ "should_log": false,
124
+ "should_save": true,
125
+ "should_training_stop": false
126
+ },
127
+ "attributes": {}
128
+ }
129
+ },
130
+ "total_flos": 2.9285710718828544e+16,
131
+ "train_batch_size": 8,
132
+ "trial_name": null,
133
+ "trial_params": null
134
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421ff9d264ca2f5b99d8b884b2e0d356ce8f07a8e1af063b86e9c6462968a6e6
3
+ size 5649
checkpoint-200/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "unsloth/llama-3-8b-Instruct-bnb-4bit",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "up_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09fa87e3d3e86a067d90eaa846ea88c86e8db4d6dfc7c81c48161d222148cc90
3
+ size 83946192
checkpoint-200/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3067ac6f15a78cb59a530f24b6f633438906cff514328780a56664d4019d1cac
3
+ size 335817867
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83c2fb90a464d2069f8c9696adef67a1221780665f6aa89b1aee6e5e66a9bb1
3
+ size 14645
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a0a4d24c23c6486b90f7f10609a9f77a224ecf6d0d34386034a3cba267d7fe8
3
+ size 1465
checkpoint-200/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5cf44023714fb39b05e71e425f8d7b92805ff73f7988b083b8c87f0bf87393
3
+ size 17209961
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 1000000000000000019884624838656,
12
+ "pad_token": "<|reserved_special_token_250|>",
13
+ "padding_side": "left",
14
+ "tokenizer_class": "TokenizersBackend"
15
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.02020712301086133,
6
+ "eval_steps": 500,
7
+ "global_step": 200,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.45259268283844,
14
+ "epoch": 0.0010103561505430665,
15
+ "grad_norm": 0.2451171875,
16
+ "learning_rate": 0.0001964,
17
+ "loss": 1.7130912780761718,
18
+ "mean_token_accuracy": 0.6436435863375664,
19
+ "num_tokens": 28151.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.3634081721305846,
24
+ "epoch": 0.002020712301086133,
25
+ "grad_norm": 0.484375,
26
+ "learning_rate": 0.00019240000000000001,
27
+ "loss": 1.3450921058654786,
28
+ "mean_token_accuracy": 0.686880823969841,
29
+ "num_tokens": 57374.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.1857430338859558,
34
+ "epoch": 0.0030310684516291994,
35
+ "grad_norm": 0.322265625,
36
+ "learning_rate": 0.0001884,
37
+ "loss": 1.205996608734131,
38
+ "mean_token_accuracy": 0.706908255815506,
39
+ "num_tokens": 86755.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.156875231862068,
44
+ "epoch": 0.004041424602172266,
45
+ "grad_norm": 0.359375,
46
+ "learning_rate": 0.0001844,
47
+ "loss": 1.1667716026306152,
48
+ "mean_token_accuracy": 0.7132074117660523,
49
+ "num_tokens": 114130.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 1.083250343799591,
54
+ "epoch": 0.005051780752715332,
55
+ "grad_norm": 0.330078125,
56
+ "learning_rate": 0.00018040000000000002,
57
+ "loss": 1.1047730445861816,
58
+ "mean_token_accuracy": 0.7196864277124405,
59
+ "num_tokens": 141768.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 1.0874410301446915,
64
+ "epoch": 0.006062136903258399,
65
+ "grad_norm": 0.265625,
66
+ "learning_rate": 0.0001764,
67
+ "loss": 1.0894905090332032,
68
+ "mean_token_accuracy": 0.7210412979125976,
69
+ "num_tokens": 172272.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 1.1303296595811845,
74
+ "epoch": 0.007072493053801465,
75
+ "grad_norm": 0.25390625,
76
+ "learning_rate": 0.00017240000000000002,
77
+ "loss": 1.1445048332214356,
78
+ "mean_token_accuracy": 0.7178041815757752,
79
+ "num_tokens": 200909.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 1.0938484042882919,
84
+ "epoch": 0.008082849204344532,
85
+ "grad_norm": 0.271484375,
86
+ "learning_rate": 0.0001684,
87
+ "loss": 1.098367691040039,
88
+ "mean_token_accuracy": 0.7246084690093995,
89
+ "num_tokens": 228726.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 1.0779876083135604,
94
+ "epoch": 0.009093205354887599,
95
+ "grad_norm": 0.2216796875,
96
+ "learning_rate": 0.0001644,
97
+ "loss": 1.0803230285644532,
98
+ "mean_token_accuracy": 0.720952507853508,
99
+ "num_tokens": 255181.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 1.1645614862442017,
104
+ "epoch": 0.010103561505430665,
105
+ "grad_norm": 0.1826171875,
106
+ "learning_rate": 0.00016040000000000002,
107
+ "loss": 1.147304630279541,
108
+ "mean_token_accuracy": 0.7067203193902969,
109
+ "num_tokens": 283616.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 1.126008078455925,
114
+ "epoch": 0.011113917655973731,
115
+ "grad_norm": 0.2001953125,
116
+ "learning_rate": 0.0001564,
117
+ "loss": 1.1415093421936036,
118
+ "mean_token_accuracy": 0.7101349741220474,
119
+ "num_tokens": 312151.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 1.091178685426712,
124
+ "epoch": 0.012124273806516797,
125
+ "grad_norm": 0.1953125,
126
+ "learning_rate": 0.00015240000000000002,
127
+ "loss": 1.0913947105407715,
128
+ "mean_token_accuracy": 0.7238801747560502,
129
+ "num_tokens": 340776.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 1.2382428109645844,
134
+ "epoch": 0.013134629957059864,
135
+ "grad_norm": 0.2099609375,
136
+ "learning_rate": 0.0001484,
137
+ "loss": 1.2411503791809082,
138
+ "mean_token_accuracy": 0.697870621085167,
139
+ "num_tokens": 371270.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 1.1168828099966048,
144
+ "epoch": 0.01414498610760293,
145
+ "grad_norm": 0.220703125,
146
+ "learning_rate": 0.0001444,
147
+ "loss": 1.1341249465942382,
148
+ "mean_token_accuracy": 0.7141003280878067,
149
+ "num_tokens": 400176.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 1.114673560857773,
154
+ "epoch": 0.015155342258145996,
155
+ "grad_norm": 0.2109375,
156
+ "learning_rate": 0.0001404,
157
+ "loss": 1.1116752624511719,
158
+ "mean_token_accuracy": 0.7234076589345932,
159
+ "num_tokens": 427204.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 1.1378572463989258,
164
+ "epoch": 0.016165698408689064,
165
+ "grad_norm": 0.1904296875,
166
+ "learning_rate": 0.0001364,
167
+ "loss": 1.1589903831481934,
168
+ "mean_token_accuracy": 0.7053093910217285,
169
+ "num_tokens": 458094.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 1.110730269551277,
174
+ "epoch": 0.01717605455923213,
175
+ "grad_norm": 0.1962890625,
176
+ "learning_rate": 0.00013240000000000002,
177
+ "loss": 1.087682342529297,
178
+ "mean_token_accuracy": 0.7177392661571502,
179
+ "num_tokens": 487098.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 1.0602406531572341,
184
+ "epoch": 0.018186410709775197,
185
+ "grad_norm": 0.228515625,
186
+ "learning_rate": 0.0001284,
187
+ "loss": 1.0950936317443847,
188
+ "mean_token_accuracy": 0.7214239358901977,
189
+ "num_tokens": 516025.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 1.1597254037857057,
194
+ "epoch": 0.01919676686031826,
195
+ "grad_norm": 0.203125,
196
+ "learning_rate": 0.00012440000000000002,
197
+ "loss": 1.1208978652954102,
198
+ "mean_token_accuracy": 0.7143576145172119,
199
+ "num_tokens": 544810.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 1.0519475936889648,
204
+ "epoch": 0.02020712301086133,
205
+ "grad_norm": 0.20703125,
206
+ "learning_rate": 0.0001204,
207
+ "loss": 1.0744948387145996,
208
+ "mean_token_accuracy": 0.718455109000206,
209
+ "num_tokens": 573002.0,
210
+ "step": 200
211
+ }
212
+ ],
213
+ "logging_steps": 10,
214
+ "max_steps": 500,
215
+ "num_input_tokens_seen": 0,
216
+ "num_train_epochs": 1,
217
+ "save_steps": 100,
218
+ "stateful_callbacks": {
219
+ "TrainerControl": {
220
+ "args": {
221
+ "should_epoch_stop": false,
222
+ "should_evaluate": false,
223
+ "should_log": false,
224
+ "should_save": true,
225
+ "should_training_stop": false
226
+ },
227
+ "attributes": {}
228
+ }
229
+ },
230
+ "total_flos": 6.072716910585446e+16,
231
+ "train_batch_size": 8,
232
+ "trial_name": null,
233
+ "trial_params": null
234
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421ff9d264ca2f5b99d8b884b2e0d356ce8f07a8e1af063b86e9c6462968a6e6
3
+ size 5649
checkpoint-300/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "unsloth/llama-3-8b-Instruct-bnb-4bit",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "up_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cbcf3ca8d5775d18c717b9664d07d0f3dbf4ad047e02f29c45b2aafbe03f792
3
+ size 83946192
checkpoint-300/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fe138a3267a60f56d4593f3a156e8d355dda78fbaf390d33617b908b29bccfb
3
+ size 335818315
checkpoint-300/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:298e8a5d47da5232d3f20a30a20c275f9abe3afa14bbb395ac3df2d3ab6f5203
3
+ size 14645
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce6e9012b6e51c76f0ec4ef3163722be704ec28c62a3467bda2f81291304af4b
3
+ size 1465
checkpoint-300/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5cf44023714fb39b05e71e425f8d7b92805ff73f7988b083b8c87f0bf87393
3
+ size 17209961
checkpoint-300/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 1000000000000000019884624838656,
12
+ "pad_token": "<|reserved_special_token_250|>",
13
+ "padding_side": "left",
14
+ "tokenizer_class": "TokenizersBackend"
15
+ }
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.030310684516291993,
6
+ "eval_steps": 500,
7
+ "global_step": 300,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.45259268283844,
14
+ "epoch": 0.0010103561505430665,
15
+ "grad_norm": 0.2451171875,
16
+ "learning_rate": 0.0001964,
17
+ "loss": 1.7130912780761718,
18
+ "mean_token_accuracy": 0.6436435863375664,
19
+ "num_tokens": 28151.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.3634081721305846,
24
+ "epoch": 0.002020712301086133,
25
+ "grad_norm": 0.484375,
26
+ "learning_rate": 0.00019240000000000001,
27
+ "loss": 1.3450921058654786,
28
+ "mean_token_accuracy": 0.686880823969841,
29
+ "num_tokens": 57374.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.1857430338859558,
34
+ "epoch": 0.0030310684516291994,
35
+ "grad_norm": 0.322265625,
36
+ "learning_rate": 0.0001884,
37
+ "loss": 1.205996608734131,
38
+ "mean_token_accuracy": 0.706908255815506,
39
+ "num_tokens": 86755.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.156875231862068,
44
+ "epoch": 0.004041424602172266,
45
+ "grad_norm": 0.359375,
46
+ "learning_rate": 0.0001844,
47
+ "loss": 1.1667716026306152,
48
+ "mean_token_accuracy": 0.7132074117660523,
49
+ "num_tokens": 114130.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 1.083250343799591,
54
+ "epoch": 0.005051780752715332,
55
+ "grad_norm": 0.330078125,
56
+ "learning_rate": 0.00018040000000000002,
57
+ "loss": 1.1047730445861816,
58
+ "mean_token_accuracy": 0.7196864277124405,
59
+ "num_tokens": 141768.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 1.0874410301446915,
64
+ "epoch": 0.006062136903258399,
65
+ "grad_norm": 0.265625,
66
+ "learning_rate": 0.0001764,
67
+ "loss": 1.0894905090332032,
68
+ "mean_token_accuracy": 0.7210412979125976,
69
+ "num_tokens": 172272.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 1.1303296595811845,
74
+ "epoch": 0.007072493053801465,
75
+ "grad_norm": 0.25390625,
76
+ "learning_rate": 0.00017240000000000002,
77
+ "loss": 1.1445048332214356,
78
+ "mean_token_accuracy": 0.7178041815757752,
79
+ "num_tokens": 200909.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 1.0938484042882919,
84
+ "epoch": 0.008082849204344532,
85
+ "grad_norm": 0.271484375,
86
+ "learning_rate": 0.0001684,
87
+ "loss": 1.098367691040039,
88
+ "mean_token_accuracy": 0.7246084690093995,
89
+ "num_tokens": 228726.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 1.0779876083135604,
94
+ "epoch": 0.009093205354887599,
95
+ "grad_norm": 0.2216796875,
96
+ "learning_rate": 0.0001644,
97
+ "loss": 1.0803230285644532,
98
+ "mean_token_accuracy": 0.720952507853508,
99
+ "num_tokens": 255181.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 1.1645614862442017,
104
+ "epoch": 0.010103561505430665,
105
+ "grad_norm": 0.1826171875,
106
+ "learning_rate": 0.00016040000000000002,
107
+ "loss": 1.147304630279541,
108
+ "mean_token_accuracy": 0.7067203193902969,
109
+ "num_tokens": 283616.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 1.126008078455925,
114
+ "epoch": 0.011113917655973731,
115
+ "grad_norm": 0.2001953125,
116
+ "learning_rate": 0.0001564,
117
+ "loss": 1.1415093421936036,
118
+ "mean_token_accuracy": 0.7101349741220474,
119
+ "num_tokens": 312151.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 1.091178685426712,
124
+ "epoch": 0.012124273806516797,
125
+ "grad_norm": 0.1953125,
126
+ "learning_rate": 0.00015240000000000002,
127
+ "loss": 1.0913947105407715,
128
+ "mean_token_accuracy": 0.7238801747560502,
129
+ "num_tokens": 340776.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 1.2382428109645844,
134
+ "epoch": 0.013134629957059864,
135
+ "grad_norm": 0.2099609375,
136
+ "learning_rate": 0.0001484,
137
+ "loss": 1.2411503791809082,
138
+ "mean_token_accuracy": 0.697870621085167,
139
+ "num_tokens": 371270.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 1.1168828099966048,
144
+ "epoch": 0.01414498610760293,
145
+ "grad_norm": 0.220703125,
146
+ "learning_rate": 0.0001444,
147
+ "loss": 1.1341249465942382,
148
+ "mean_token_accuracy": 0.7141003280878067,
149
+ "num_tokens": 400176.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 1.114673560857773,
154
+ "epoch": 0.015155342258145996,
155
+ "grad_norm": 0.2109375,
156
+ "learning_rate": 0.0001404,
157
+ "loss": 1.1116752624511719,
158
+ "mean_token_accuracy": 0.7234076589345932,
159
+ "num_tokens": 427204.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 1.1378572463989258,
164
+ "epoch": 0.016165698408689064,
165
+ "grad_norm": 0.1904296875,
166
+ "learning_rate": 0.0001364,
167
+ "loss": 1.1589903831481934,
168
+ "mean_token_accuracy": 0.7053093910217285,
169
+ "num_tokens": 458094.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 1.110730269551277,
174
+ "epoch": 0.01717605455923213,
175
+ "grad_norm": 0.1962890625,
176
+ "learning_rate": 0.00013240000000000002,
177
+ "loss": 1.087682342529297,
178
+ "mean_token_accuracy": 0.7177392661571502,
179
+ "num_tokens": 487098.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 1.0602406531572341,
184
+ "epoch": 0.018186410709775197,
185
+ "grad_norm": 0.228515625,
186
+ "learning_rate": 0.0001284,
187
+ "loss": 1.0950936317443847,
188
+ "mean_token_accuracy": 0.7214239358901977,
189
+ "num_tokens": 516025.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 1.1597254037857057,
194
+ "epoch": 0.01919676686031826,
195
+ "grad_norm": 0.203125,
196
+ "learning_rate": 0.00012440000000000002,
197
+ "loss": 1.1208978652954102,
198
+ "mean_token_accuracy": 0.7143576145172119,
199
+ "num_tokens": 544810.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 1.0519475936889648,
204
+ "epoch": 0.02020712301086133,
205
+ "grad_norm": 0.20703125,
206
+ "learning_rate": 0.0001204,
207
+ "loss": 1.0744948387145996,
208
+ "mean_token_accuracy": 0.718455109000206,
209
+ "num_tokens": 573002.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 1.2084601551294327,
214
+ "epoch": 0.021217479161404394,
215
+ "grad_norm": 0.1943359375,
216
+ "learning_rate": 0.0001164,
217
+ "loss": 1.2174930572509766,
218
+ "mean_token_accuracy": 0.6999662011861801,
219
+ "num_tokens": 602401.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 1.1912338614463807,
224
+ "epoch": 0.022227835311947462,
225
+ "grad_norm": 0.216796875,
226
+ "learning_rate": 0.00011240000000000002,
227
+ "loss": 1.183759880065918,
228
+ "mean_token_accuracy": 0.7107820093631745,
229
+ "num_tokens": 629994.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 1.0905429303646088,
234
+ "epoch": 0.023238191462490527,
235
+ "grad_norm": 0.203125,
236
+ "learning_rate": 0.00010840000000000002,
237
+ "loss": 1.086796474456787,
238
+ "mean_token_accuracy": 0.7176417618989944,
239
+ "num_tokens": 658686.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 1.0157978028059005,
244
+ "epoch": 0.024248547613033595,
245
+ "grad_norm": 0.23828125,
246
+ "learning_rate": 0.0001044,
247
+ "loss": 1.012559700012207,
248
+ "mean_token_accuracy": 0.7369582027196884,
249
+ "num_tokens": 685539.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 1.1027084678411483,
254
+ "epoch": 0.02525890376357666,
255
+ "grad_norm": 0.2314453125,
256
+ "learning_rate": 0.0001004,
257
+ "loss": 1.1228812217712403,
258
+ "mean_token_accuracy": 0.7192230314016342,
259
+ "num_tokens": 715224.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 1.0666967660188675,
264
+ "epoch": 0.026269259914119727,
265
+ "grad_norm": 0.2412109375,
266
+ "learning_rate": 9.64e-05,
267
+ "loss": 1.0753504753112793,
268
+ "mean_token_accuracy": 0.719659861922264,
269
+ "num_tokens": 745782.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 1.034983891248703,
274
+ "epoch": 0.027279616064662792,
275
+ "grad_norm": 0.2216796875,
276
+ "learning_rate": 9.240000000000001e-05,
277
+ "loss": 1.032216453552246,
278
+ "mean_token_accuracy": 0.7364529073238373,
279
+ "num_tokens": 772358.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 1.0821890532970428,
284
+ "epoch": 0.02828997221520586,
285
+ "grad_norm": 0.2294921875,
286
+ "learning_rate": 8.840000000000001e-05,
287
+ "loss": 1.0743555068969726,
288
+ "mean_token_accuracy": 0.7248906105756759,
289
+ "num_tokens": 800173.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 1.1281798005104064,
294
+ "epoch": 0.029300328365748928,
295
+ "grad_norm": 0.2216796875,
296
+ "learning_rate": 8.44e-05,
297
+ "loss": 1.1471177101135255,
298
+ "mean_token_accuracy": 0.7095231086015701,
299
+ "num_tokens": 826835.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 1.0436414241790772,
304
+ "epoch": 0.030310684516291993,
305
+ "grad_norm": 0.2001953125,
306
+ "learning_rate": 8.04e-05,
307
+ "loss": 1.0298893928527832,
308
+ "mean_token_accuracy": 0.7325254619121552,
309
+ "num_tokens": 853598.0,
310
+ "step": 300
311
+ }
312
+ ],
313
+ "logging_steps": 10,
314
+ "max_steps": 500,
315
+ "num_input_tokens_seen": 0,
316
+ "num_train_epochs": 1,
317
+ "save_steps": 100,
318
+ "stateful_callbacks": {
319
+ "TrainerControl": {
320
+ "args": {
321
+ "should_epoch_stop": false,
322
+ "should_evaluate": false,
323
+ "should_log": false,
324
+ "should_save": true,
325
+ "should_training_stop": false
326
+ },
327
+ "attributes": {}
328
+ }
329
+ },
330
+ "total_flos": 9.026935257700762e+16,
331
+ "train_batch_size": 8,
332
+ "trial_name": null,
333
+ "trial_params": null
334
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421ff9d264ca2f5b99d8b884b2e0d356ce8f07a8e1af063b86e9c6462968a6e6
3
+ size 5649
checkpoint-400/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1
checkpoint-400/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "unsloth/llama-3-8b-Instruct-bnb-4bit",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "o_proj",
34
+ "k_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "up_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-400/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed830c28dd9009fd9f8f9ef49fadbe801b9643637319560ff6802f35368f57f7
3
+ size 83946192
checkpoint-400/chat_template.jinja ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>
2
+
3
+ '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
4
+
5
+ ' }}{% endif %}
checkpoint-400/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a29a5e86755e5f4d7bf3569dfbccdee1d4b290afa30db3b8c00266514c2b8248
3
+ size 335818315
checkpoint-400/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edf3e1d34f77115ba655f936fb1927d096562299f766f37a65033d66f88d36c4
3
+ size 14645
checkpoint-400/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a488d0df71c0c4ad51b6aee82ccb2de3b999cb205d5e4fd378a76bd6378e758b
3
+ size 1465
checkpoint-400/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5cf44023714fb39b05e71e425f8d7b92805ff73f7988b083b8c87f0bf87393
3
+ size 17209961
checkpoint-400/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|begin_of_text|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|eot_id|>",
6
+ "is_local": false,
7
+ "model_input_names": [
8
+ "input_ids",
9
+ "attention_mask"
10
+ ],
11
+ "model_max_length": 1000000000000000019884624838656,
12
+ "pad_token": "<|reserved_special_token_250|>",
13
+ "padding_side": "left",
14
+ "tokenizer_class": "TokenizersBackend"
15
+ }
checkpoint-400/trainer_state.json ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.04041424602172266,
6
+ "eval_steps": 500,
7
+ "global_step": 400,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.45259268283844,
14
+ "epoch": 0.0010103561505430665,
15
+ "grad_norm": 0.2451171875,
16
+ "learning_rate": 0.0001964,
17
+ "loss": 1.7130912780761718,
18
+ "mean_token_accuracy": 0.6436435863375664,
19
+ "num_tokens": 28151.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.3634081721305846,
24
+ "epoch": 0.002020712301086133,
25
+ "grad_norm": 0.484375,
26
+ "learning_rate": 0.00019240000000000001,
27
+ "loss": 1.3450921058654786,
28
+ "mean_token_accuracy": 0.686880823969841,
29
+ "num_tokens": 57374.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 1.1857430338859558,
34
+ "epoch": 0.0030310684516291994,
35
+ "grad_norm": 0.322265625,
36
+ "learning_rate": 0.0001884,
37
+ "loss": 1.205996608734131,
38
+ "mean_token_accuracy": 0.706908255815506,
39
+ "num_tokens": 86755.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 1.156875231862068,
44
+ "epoch": 0.004041424602172266,
45
+ "grad_norm": 0.359375,
46
+ "learning_rate": 0.0001844,
47
+ "loss": 1.1667716026306152,
48
+ "mean_token_accuracy": 0.7132074117660523,
49
+ "num_tokens": 114130.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 1.083250343799591,
54
+ "epoch": 0.005051780752715332,
55
+ "grad_norm": 0.330078125,
56
+ "learning_rate": 0.00018040000000000002,
57
+ "loss": 1.1047730445861816,
58
+ "mean_token_accuracy": 0.7196864277124405,
59
+ "num_tokens": 141768.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 1.0874410301446915,
64
+ "epoch": 0.006062136903258399,
65
+ "grad_norm": 0.265625,
66
+ "learning_rate": 0.0001764,
67
+ "loss": 1.0894905090332032,
68
+ "mean_token_accuracy": 0.7210412979125976,
69
+ "num_tokens": 172272.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 1.1303296595811845,
74
+ "epoch": 0.007072493053801465,
75
+ "grad_norm": 0.25390625,
76
+ "learning_rate": 0.00017240000000000002,
77
+ "loss": 1.1445048332214356,
78
+ "mean_token_accuracy": 0.7178041815757752,
79
+ "num_tokens": 200909.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 1.0938484042882919,
84
+ "epoch": 0.008082849204344532,
85
+ "grad_norm": 0.271484375,
86
+ "learning_rate": 0.0001684,
87
+ "loss": 1.098367691040039,
88
+ "mean_token_accuracy": 0.7246084690093995,
89
+ "num_tokens": 228726.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 1.0779876083135604,
94
+ "epoch": 0.009093205354887599,
95
+ "grad_norm": 0.2216796875,
96
+ "learning_rate": 0.0001644,
97
+ "loss": 1.0803230285644532,
98
+ "mean_token_accuracy": 0.720952507853508,
99
+ "num_tokens": 255181.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 1.1645614862442017,
104
+ "epoch": 0.010103561505430665,
105
+ "grad_norm": 0.1826171875,
106
+ "learning_rate": 0.00016040000000000002,
107
+ "loss": 1.147304630279541,
108
+ "mean_token_accuracy": 0.7067203193902969,
109
+ "num_tokens": 283616.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 1.126008078455925,
114
+ "epoch": 0.011113917655973731,
115
+ "grad_norm": 0.2001953125,
116
+ "learning_rate": 0.0001564,
117
+ "loss": 1.1415093421936036,
118
+ "mean_token_accuracy": 0.7101349741220474,
119
+ "num_tokens": 312151.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 1.091178685426712,
124
+ "epoch": 0.012124273806516797,
125
+ "grad_norm": 0.1953125,
126
+ "learning_rate": 0.00015240000000000002,
127
+ "loss": 1.0913947105407715,
128
+ "mean_token_accuracy": 0.7238801747560502,
129
+ "num_tokens": 340776.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 1.2382428109645844,
134
+ "epoch": 0.013134629957059864,
135
+ "grad_norm": 0.2099609375,
136
+ "learning_rate": 0.0001484,
137
+ "loss": 1.2411503791809082,
138
+ "mean_token_accuracy": 0.697870621085167,
139
+ "num_tokens": 371270.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 1.1168828099966048,
144
+ "epoch": 0.01414498610760293,
145
+ "grad_norm": 0.220703125,
146
+ "learning_rate": 0.0001444,
147
+ "loss": 1.1341249465942382,
148
+ "mean_token_accuracy": 0.7141003280878067,
149
+ "num_tokens": 400176.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 1.114673560857773,
154
+ "epoch": 0.015155342258145996,
155
+ "grad_norm": 0.2109375,
156
+ "learning_rate": 0.0001404,
157
+ "loss": 1.1116752624511719,
158
+ "mean_token_accuracy": 0.7234076589345932,
159
+ "num_tokens": 427204.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 1.1378572463989258,
164
+ "epoch": 0.016165698408689064,
165
+ "grad_norm": 0.1904296875,
166
+ "learning_rate": 0.0001364,
167
+ "loss": 1.1589903831481934,
168
+ "mean_token_accuracy": 0.7053093910217285,
169
+ "num_tokens": 458094.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 1.110730269551277,
174
+ "epoch": 0.01717605455923213,
175
+ "grad_norm": 0.1962890625,
176
+ "learning_rate": 0.00013240000000000002,
177
+ "loss": 1.087682342529297,
178
+ "mean_token_accuracy": 0.7177392661571502,
179
+ "num_tokens": 487098.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 1.0602406531572341,
184
+ "epoch": 0.018186410709775197,
185
+ "grad_norm": 0.228515625,
186
+ "learning_rate": 0.0001284,
187
+ "loss": 1.0950936317443847,
188
+ "mean_token_accuracy": 0.7214239358901977,
189
+ "num_tokens": 516025.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 1.1597254037857057,
194
+ "epoch": 0.01919676686031826,
195
+ "grad_norm": 0.203125,
196
+ "learning_rate": 0.00012440000000000002,
197
+ "loss": 1.1208978652954102,
198
+ "mean_token_accuracy": 0.7143576145172119,
199
+ "num_tokens": 544810.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 1.0519475936889648,
204
+ "epoch": 0.02020712301086133,
205
+ "grad_norm": 0.20703125,
206
+ "learning_rate": 0.0001204,
207
+ "loss": 1.0744948387145996,
208
+ "mean_token_accuracy": 0.718455109000206,
209
+ "num_tokens": 573002.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 1.2084601551294327,
214
+ "epoch": 0.021217479161404394,
215
+ "grad_norm": 0.1943359375,
216
+ "learning_rate": 0.0001164,
217
+ "loss": 1.2174930572509766,
218
+ "mean_token_accuracy": 0.6999662011861801,
219
+ "num_tokens": 602401.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 1.1912338614463807,
224
+ "epoch": 0.022227835311947462,
225
+ "grad_norm": 0.216796875,
226
+ "learning_rate": 0.00011240000000000002,
227
+ "loss": 1.183759880065918,
228
+ "mean_token_accuracy": 0.7107820093631745,
229
+ "num_tokens": 629994.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 1.0905429303646088,
234
+ "epoch": 0.023238191462490527,
235
+ "grad_norm": 0.203125,
236
+ "learning_rate": 0.00010840000000000002,
237
+ "loss": 1.086796474456787,
238
+ "mean_token_accuracy": 0.7176417618989944,
239
+ "num_tokens": 658686.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 1.0157978028059005,
244
+ "epoch": 0.024248547613033595,
245
+ "grad_norm": 0.23828125,
246
+ "learning_rate": 0.0001044,
247
+ "loss": 1.012559700012207,
248
+ "mean_token_accuracy": 0.7369582027196884,
249
+ "num_tokens": 685539.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 1.1027084678411483,
254
+ "epoch": 0.02525890376357666,
255
+ "grad_norm": 0.2314453125,
256
+ "learning_rate": 0.0001004,
257
+ "loss": 1.1228812217712403,
258
+ "mean_token_accuracy": 0.7192230314016342,
259
+ "num_tokens": 715224.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 1.0666967660188675,
264
+ "epoch": 0.026269259914119727,
265
+ "grad_norm": 0.2412109375,
266
+ "learning_rate": 9.64e-05,
267
+ "loss": 1.0753504753112793,
268
+ "mean_token_accuracy": 0.719659861922264,
269
+ "num_tokens": 745782.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 1.034983891248703,
274
+ "epoch": 0.027279616064662792,
275
+ "grad_norm": 0.2216796875,
276
+ "learning_rate": 9.240000000000001e-05,
277
+ "loss": 1.032216453552246,
278
+ "mean_token_accuracy": 0.7364529073238373,
279
+ "num_tokens": 772358.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 1.0821890532970428,
284
+ "epoch": 0.02828997221520586,
285
+ "grad_norm": 0.2294921875,
286
+ "learning_rate": 8.840000000000001e-05,
287
+ "loss": 1.0743555068969726,
288
+ "mean_token_accuracy": 0.7248906105756759,
289
+ "num_tokens": 800173.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 1.1281798005104064,
294
+ "epoch": 0.029300328365748928,
295
+ "grad_norm": 0.2216796875,
296
+ "learning_rate": 8.44e-05,
297
+ "loss": 1.1471177101135255,
298
+ "mean_token_accuracy": 0.7095231086015701,
299
+ "num_tokens": 826835.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 1.0436414241790772,
304
+ "epoch": 0.030310684516291993,
305
+ "grad_norm": 0.2001953125,
306
+ "learning_rate": 8.04e-05,
307
+ "loss": 1.0298893928527832,
308
+ "mean_token_accuracy": 0.7325254619121552,
309
+ "num_tokens": 853598.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 1.0947031527757645,
314
+ "epoch": 0.03132104066683506,
315
+ "grad_norm": 0.232421875,
316
+ "learning_rate": 7.64e-05,
317
+ "loss": 1.0945837020874023,
318
+ "mean_token_accuracy": 0.7231394708156585,
319
+ "num_tokens": 884023.0,
320
+ "step": 310
321
+ },
322
+ {
323
+ "entropy": 1.1012510120868684,
324
+ "epoch": 0.03233139681737813,
325
+ "grad_norm": 0.17578125,
326
+ "learning_rate": 7.24e-05,
327
+ "loss": 1.106449031829834,
328
+ "mean_token_accuracy": 0.7150771111249924,
329
+ "num_tokens": 910709.0,
330
+ "step": 320
331
+ },
332
+ {
333
+ "entropy": 1.0871451586484908,
334
+ "epoch": 0.03334175296792119,
335
+ "grad_norm": 0.2041015625,
336
+ "learning_rate": 6.840000000000001e-05,
337
+ "loss": 1.0799496650695801,
338
+ "mean_token_accuracy": 0.7183821439743042,
339
+ "num_tokens": 938961.0,
340
+ "step": 330
341
+ },
342
+ {
343
+ "entropy": 1.0514528155326843,
344
+ "epoch": 0.03435210911846426,
345
+ "grad_norm": 0.2080078125,
346
+ "learning_rate": 6.440000000000001e-05,
347
+ "loss": 1.081194019317627,
348
+ "mean_token_accuracy": 0.7243827939033508,
349
+ "num_tokens": 967584.0,
350
+ "step": 340
351
+ },
352
+ {
353
+ "entropy": 1.1092546790838242,
354
+ "epoch": 0.035362465269007326,
355
+ "grad_norm": 0.201171875,
356
+ "learning_rate": 6.04e-05,
357
+ "loss": 1.0813716888427733,
358
+ "mean_token_accuracy": 0.7228824734687805,
359
+ "num_tokens": 995895.0,
360
+ "step": 350
361
+ },
362
+ {
363
+ "entropy": 1.0287963569164276,
364
+ "epoch": 0.036372821419550394,
365
+ "grad_norm": 0.265625,
366
+ "learning_rate": 5.6399999999999995e-05,
367
+ "loss": 1.0419590950012207,
368
+ "mean_token_accuracy": 0.7281966924667358,
369
+ "num_tokens": 1024358.0,
370
+ "step": 360
371
+ },
372
+ {
373
+ "entropy": 1.121953997015953,
374
+ "epoch": 0.037383177570093455,
375
+ "grad_norm": 0.26171875,
376
+ "learning_rate": 5.2400000000000007e-05,
377
+ "loss": 1.0987840652465821,
378
+ "mean_token_accuracy": 0.7203631848096848,
379
+ "num_tokens": 1052323.0,
380
+ "step": 370
381
+ },
382
+ {
383
+ "entropy": 1.110439071059227,
384
+ "epoch": 0.03839353372063652,
385
+ "grad_norm": 0.291015625,
386
+ "learning_rate": 4.8400000000000004e-05,
387
+ "loss": 1.0895070075988769,
388
+ "mean_token_accuracy": 0.7241304695606232,
389
+ "num_tokens": 1079594.0,
390
+ "step": 380
391
+ },
392
+ {
393
+ "entropy": 1.070469456911087,
394
+ "epoch": 0.03940388987117959,
395
+ "grad_norm": 0.3046875,
396
+ "learning_rate": 4.44e-05,
397
+ "loss": 1.1078936576843261,
398
+ "mean_token_accuracy": 0.7139627873897553,
399
+ "num_tokens": 1110202.0,
400
+ "step": 390
401
+ },
402
+ {
403
+ "entropy": 1.1429108887910844,
404
+ "epoch": 0.04041424602172266,
405
+ "grad_norm": 0.265625,
406
+ "learning_rate": 4.0400000000000006e-05,
407
+ "loss": 1.1321399688720704,
408
+ "mean_token_accuracy": 0.7121616303920746,
409
+ "num_tokens": 1138357.0,
410
+ "step": 400
411
+ }
412
+ ],
413
+ "logging_steps": 10,
414
+ "max_steps": 500,
415
+ "num_input_tokens_seen": 0,
416
+ "num_train_epochs": 1,
417
+ "save_steps": 100,
418
+ "stateful_callbacks": {
419
+ "TrainerControl": {
420
+ "args": {
421
+ "should_epoch_stop": false,
422
+ "should_evaluate": false,
423
+ "should_log": false,
424
+ "should_save": true,
425
+ "should_training_stop": false
426
+ },
427
+ "attributes": {}
428
+ }
429
+ },
430
+ "total_flos": 1.1975538735238349e+17,
431
+ "train_batch_size": 8,
432
+ "trial_name": null,
433
+ "trial_params": null
434
+ }
checkpoint-400/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:421ff9d264ca2f5b99d8b884b2e0d356ce8f07a8e1af063b86e9c6462968a6e6
3
+ size 5649
checkpoint-500/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/llama-3-8b-Instruct-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.18.1