SatyamSinghal commited on
Commit
15b7dd7
·
verified ·
1 Parent(s): a667d84

Add TaskMind LoRA adapter — trained on WhatsApp task extraction dataset

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +62 -0
  2. adapter_config.json +46 -0
  3. adapter_model.safetensors +3 -0
  4. chat_template.jinja +15 -0
  5. checkpoint-117/README.md +209 -0
  6. checkpoint-117/adapter_config.json +46 -0
  7. checkpoint-117/adapter_model.safetensors +3 -0
  8. checkpoint-117/chat_template.jinja +15 -0
  9. checkpoint-117/optimizer.pt +3 -0
  10. checkpoint-117/rng_state.pth +3 -0
  11. checkpoint-117/scheduler.pt +3 -0
  12. checkpoint-117/special_tokens_map.json +24 -0
  13. checkpoint-117/tokenizer.json +0 -0
  14. checkpoint-117/tokenizer.model +3 -0
  15. checkpoint-117/tokenizer_config.json +43 -0
  16. checkpoint-117/trainer_state.json +177 -0
  17. checkpoint-117/training_args.bin +3 -0
  18. checkpoint-156/README.md +209 -0
  19. checkpoint-156/adapter_config.json +46 -0
  20. checkpoint-156/adapter_model.safetensors +3 -0
  21. checkpoint-156/chat_template.jinja +15 -0
  22. checkpoint-156/optimizer.pt +3 -0
  23. checkpoint-156/rng_state.pth +3 -0
  24. checkpoint-156/scheduler.pt +3 -0
  25. checkpoint-156/special_tokens_map.json +24 -0
  26. checkpoint-156/tokenizer.json +0 -0
  27. checkpoint-156/tokenizer.model +3 -0
  28. checkpoint-156/tokenizer_config.json +43 -0
  29. checkpoint-156/trainer_state.json +228 -0
  30. checkpoint-156/training_args.bin +3 -0
  31. checkpoint-195/README.md +209 -0
  32. checkpoint-195/adapter_config.json +46 -0
  33. checkpoint-195/adapter_model.safetensors +3 -0
  34. checkpoint-195/chat_template.jinja +15 -0
  35. checkpoint-195/optimizer.pt +3 -0
  36. checkpoint-195/rng_state.pth +3 -0
  37. checkpoint-195/scheduler.pt +3 -0
  38. checkpoint-195/special_tokens_map.json +24 -0
  39. checkpoint-195/tokenizer.json +0 -0
  40. checkpoint-195/tokenizer.model +3 -0
  41. checkpoint-195/tokenizer_config.json +43 -0
  42. checkpoint-195/trainer_state.json +279 -0
  43. checkpoint-195/training_args.bin +3 -0
  44. checkpoint-234/README.md +209 -0
  45. checkpoint-234/adapter_config.json +46 -0
  46. checkpoint-234/adapter_model.safetensors +3 -0
  47. checkpoint-234/chat_template.jinja +15 -0
  48. checkpoint-234/optimizer.pt +3 -0
  49. checkpoint-234/rng_state.pth +3 -0
  50. checkpoint-234/scheduler.pt +3 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ model_name: taskmind_lora_r2
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for taskmind_lora_r2
16
+
17
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0).
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
+
34
+
35
+
36
+
37
+ This model was trained with SFT.
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.18.1
42
+ - TRL: 1.1.0
43
+ - Transformers: 4.57.0
44
+ - Pytorch: 2.2.2
45
+ - Datasets: 4.8.4
46
+ - Tokenizers: 0.22.1
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": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
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": 64,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "v_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_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:08834a2d790efc7ff95520f1767a95647668b53d9fd1551642b50c1ccc7dfb4e
3
+ size 100966336
chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoint-117/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
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-117/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": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
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": 64,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "v_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_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-117/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08834a2d790efc7ff95520f1767a95647668b53d9fd1551642b50c1ccc7dfb4e
3
+ size 100966336
checkpoint-117/chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoint-117/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6279bcb89e66860bf87781e5a0d8e5a260e93869a1c6bba51f68f2632d8356a0
3
+ size 202101754
checkpoint-117/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32d32051101ec51c2b04c4ee6a6d2c7f40562e56836cbb02d6e6e3126490484d
3
+ size 13990
checkpoint-117/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70b5d85410c25568c0a11711d7130f8ff27272ffd2f27999a7aef996da304096
3
+ size 1064
checkpoint-117/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-117/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-117/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-117/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": false,
36
+ "model_max_length": 2048,
37
+ "pad_token": "</s>",
38
+ "padding_side": "right",
39
+ "sp_model_kwargs": {},
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
checkpoint-117/trainer_state.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 117,
3
+ "best_metric": 0.40241146087646484,
4
+ "best_model_checkpoint": "out/taskmind_lora_r2/checkpoint-117",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 117,
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.7179150760173798,
14
+ "epoch": 0.2564102564102564,
15
+ "grad_norm": 2.5452802181243896,
16
+ "learning_rate": 3.6e-05,
17
+ "loss": 2.1281,
18
+ "mean_token_accuracy": 0.6145351931452752,
19
+ "num_tokens": 13644.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.19541779384017,
24
+ "epoch": 0.5128205128205128,
25
+ "grad_norm": 2.5751521587371826,
26
+ "learning_rate": 7.6e-05,
27
+ "loss": 1.1145,
28
+ "mean_token_accuracy": 0.7703276634216308,
29
+ "num_tokens": 27398.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.35528318025171757,
34
+ "epoch": 0.7692307692307693,
35
+ "grad_norm": 0.8191161155700684,
36
+ "learning_rate": 7.753424657534247e-05,
37
+ "loss": 0.3534,
38
+ "mean_token_accuracy": 0.9318128570914268,
39
+ "num_tokens": 41008.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "epoch": 1.0,
44
+ "eval_entropy": 0.4318943719069163,
45
+ "eval_loss": 0.4599609375,
46
+ "eval_mean_token_accuracy": 0.915368656317393,
47
+ "eval_num_tokens": 53280.0,
48
+ "eval_runtime": 4.1078,
49
+ "eval_samples_per_second": 5.843,
50
+ "eval_steps_per_second": 0.73,
51
+ "step": 39
52
+ },
53
+ {
54
+ "entropy": 0.34713621363043784,
55
+ "epoch": 1.0256410256410255,
56
+ "grad_norm": 0.5747274160385132,
57
+ "learning_rate": 7.47945205479452e-05,
58
+ "loss": 0.3455,
59
+ "mean_token_accuracy": 0.9327198296785355,
60
+ "num_tokens": 54619.0,
61
+ "step": 40
62
+ },
63
+ {
64
+ "entropy": 0.29785057827830314,
65
+ "epoch": 1.282051282051282,
66
+ "grad_norm": 0.5261789560317993,
67
+ "learning_rate": 7.205479452054796e-05,
68
+ "loss": 0.2928,
69
+ "mean_token_accuracy": 0.9401231810450554,
70
+ "num_tokens": 68310.0,
71
+ "step": 50
72
+ },
73
+ {
74
+ "entropy": 0.25945029519498347,
75
+ "epoch": 1.5384615384615383,
76
+ "grad_norm": 0.3967696726322174,
77
+ "learning_rate": 6.93150684931507e-05,
78
+ "loss": 0.2491,
79
+ "mean_token_accuracy": 0.9500185340642929,
80
+ "num_tokens": 81865.0,
81
+ "step": 60
82
+ },
83
+ {
84
+ "entropy": 0.2741880103945732,
85
+ "epoch": 1.7948717948717947,
86
+ "grad_norm": 0.5456269383430481,
87
+ "learning_rate": 6.657534246575343e-05,
88
+ "loss": 0.2771,
89
+ "mean_token_accuracy": 0.9445250034332275,
90
+ "num_tokens": 95656.0,
91
+ "step": 70
92
+ },
93
+ {
94
+ "epoch": 2.0,
95
+ "eval_entropy": 0.3964502811431885,
96
+ "eval_loss": 0.4085829555988312,
97
+ "eval_mean_token_accuracy": 0.9256282250086466,
98
+ "eval_num_tokens": 106560.0,
99
+ "eval_runtime": 3.1585,
100
+ "eval_samples_per_second": 7.598,
101
+ "eval_steps_per_second": 0.95,
102
+ "step": 78
103
+ },
104
+ {
105
+ "entropy": 0.3172414764761925,
106
+ "epoch": 2.051282051282051,
107
+ "grad_norm": 0.6122390627861023,
108
+ "learning_rate": 6.383561643835617e-05,
109
+ "loss": 0.321,
110
+ "mean_token_accuracy": 0.9391013815999031,
111
+ "num_tokens": 109408.0,
112
+ "step": 80
113
+ },
114
+ {
115
+ "entropy": 0.28223426416516306,
116
+ "epoch": 2.3076923076923075,
117
+ "grad_norm": 0.47210052609443665,
118
+ "learning_rate": 6.109589041095891e-05,
119
+ "loss": 0.2494,
120
+ "mean_token_accuracy": 0.9481928303837777,
121
+ "num_tokens": 123140.0,
122
+ "step": 90
123
+ },
124
+ {
125
+ "entropy": 0.22195697724819183,
126
+ "epoch": 2.564102564102564,
127
+ "grad_norm": 0.48354053497314453,
128
+ "learning_rate": 5.835616438356165e-05,
129
+ "loss": 0.2218,
130
+ "mean_token_accuracy": 0.95259810090065,
131
+ "num_tokens": 136850.0,
132
+ "step": 100
133
+ },
134
+ {
135
+ "entropy": 0.21110524237155914,
136
+ "epoch": 2.8205128205128203,
137
+ "grad_norm": 0.48064902424812317,
138
+ "learning_rate": 5.561643835616439e-05,
139
+ "loss": 0.1959,
140
+ "mean_token_accuracy": 0.9575912490487098,
141
+ "num_tokens": 150480.0,
142
+ "step": 110
143
+ },
144
+ {
145
+ "epoch": 3.0,
146
+ "eval_entropy": 0.355695774157842,
147
+ "eval_loss": 0.40241146087646484,
148
+ "eval_mean_token_accuracy": 0.9268327752749125,
149
+ "eval_num_tokens": 159840.0,
150
+ "eval_runtime": 2.7968,
151
+ "eval_samples_per_second": 8.581,
152
+ "eval_steps_per_second": 1.073,
153
+ "step": 117
154
+ }
155
+ ],
156
+ "logging_steps": 10,
157
+ "max_steps": 312,
158
+ "num_input_tokens_seen": 0,
159
+ "num_train_epochs": 8,
160
+ "save_steps": 500,
161
+ "stateful_callbacks": {
162
+ "TrainerControl": {
163
+ "args": {
164
+ "should_epoch_stop": false,
165
+ "should_evaluate": false,
166
+ "should_log": false,
167
+ "should_save": true,
168
+ "should_training_stop": false
169
+ },
170
+ "attributes": {}
171
+ }
172
+ },
173
+ "total_flos": 1045916207628288.0,
174
+ "train_batch_size": 2,
175
+ "trial_name": null,
176
+ "trial_params": null
177
+ }
checkpoint-117/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a481ec4511ff65e6d89887f1674e392bf7f467a3e700014f4a1bc5e7acd6d9fd
3
+ size 5880
checkpoint-156/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
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-156/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": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
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": 64,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "v_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_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-156/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41187d6f4c4db6ec1a4e2b4c28edb918ffe5f80e6e2da72129430775f51aba6d
3
+ size 100966336
checkpoint-156/chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoint-156/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c754aecb02d487715f450502e7bed238e14775f3efda14f514ebd9396b966b3f
3
+ size 202101754
checkpoint-156/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fed77b14fe062f6db72d68cedd6fd95bae3305b7a735eef3c85da43fd15d476
3
+ size 13990
checkpoint-156/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a9720a18fb01e8f591c3c875e8c64e8a60c7b2f1d5c51255ce4e00e05afac28
3
+ size 1064
checkpoint-156/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-156/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-156/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-156/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": false,
36
+ "model_max_length": 2048,
37
+ "pad_token": "</s>",
38
+ "padding_side": "right",
39
+ "sp_model_kwargs": {},
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
checkpoint-156/trainer_state.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 117,
3
+ "best_metric": 0.40241146087646484,
4
+ "best_model_checkpoint": "out/taskmind_lora_r2/checkpoint-117",
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 156,
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.7179150760173798,
14
+ "epoch": 0.2564102564102564,
15
+ "grad_norm": 2.5452802181243896,
16
+ "learning_rate": 3.6e-05,
17
+ "loss": 2.1281,
18
+ "mean_token_accuracy": 0.6145351931452752,
19
+ "num_tokens": 13644.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.19541779384017,
24
+ "epoch": 0.5128205128205128,
25
+ "grad_norm": 2.5751521587371826,
26
+ "learning_rate": 7.6e-05,
27
+ "loss": 1.1145,
28
+ "mean_token_accuracy": 0.7703276634216308,
29
+ "num_tokens": 27398.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.35528318025171757,
34
+ "epoch": 0.7692307692307693,
35
+ "grad_norm": 0.8191161155700684,
36
+ "learning_rate": 7.753424657534247e-05,
37
+ "loss": 0.3534,
38
+ "mean_token_accuracy": 0.9318128570914268,
39
+ "num_tokens": 41008.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "epoch": 1.0,
44
+ "eval_entropy": 0.4318943719069163,
45
+ "eval_loss": 0.4599609375,
46
+ "eval_mean_token_accuracy": 0.915368656317393,
47
+ "eval_num_tokens": 53280.0,
48
+ "eval_runtime": 4.1078,
49
+ "eval_samples_per_second": 5.843,
50
+ "eval_steps_per_second": 0.73,
51
+ "step": 39
52
+ },
53
+ {
54
+ "entropy": 0.34713621363043784,
55
+ "epoch": 1.0256410256410255,
56
+ "grad_norm": 0.5747274160385132,
57
+ "learning_rate": 7.47945205479452e-05,
58
+ "loss": 0.3455,
59
+ "mean_token_accuracy": 0.9327198296785355,
60
+ "num_tokens": 54619.0,
61
+ "step": 40
62
+ },
63
+ {
64
+ "entropy": 0.29785057827830314,
65
+ "epoch": 1.282051282051282,
66
+ "grad_norm": 0.5261789560317993,
67
+ "learning_rate": 7.205479452054796e-05,
68
+ "loss": 0.2928,
69
+ "mean_token_accuracy": 0.9401231810450554,
70
+ "num_tokens": 68310.0,
71
+ "step": 50
72
+ },
73
+ {
74
+ "entropy": 0.25945029519498347,
75
+ "epoch": 1.5384615384615383,
76
+ "grad_norm": 0.3967696726322174,
77
+ "learning_rate": 6.93150684931507e-05,
78
+ "loss": 0.2491,
79
+ "mean_token_accuracy": 0.9500185340642929,
80
+ "num_tokens": 81865.0,
81
+ "step": 60
82
+ },
83
+ {
84
+ "entropy": 0.2741880103945732,
85
+ "epoch": 1.7948717948717947,
86
+ "grad_norm": 0.5456269383430481,
87
+ "learning_rate": 6.657534246575343e-05,
88
+ "loss": 0.2771,
89
+ "mean_token_accuracy": 0.9445250034332275,
90
+ "num_tokens": 95656.0,
91
+ "step": 70
92
+ },
93
+ {
94
+ "epoch": 2.0,
95
+ "eval_entropy": 0.3964502811431885,
96
+ "eval_loss": 0.4085829555988312,
97
+ "eval_mean_token_accuracy": 0.9256282250086466,
98
+ "eval_num_tokens": 106560.0,
99
+ "eval_runtime": 3.1585,
100
+ "eval_samples_per_second": 7.598,
101
+ "eval_steps_per_second": 0.95,
102
+ "step": 78
103
+ },
104
+ {
105
+ "entropy": 0.3172414764761925,
106
+ "epoch": 2.051282051282051,
107
+ "grad_norm": 0.6122390627861023,
108
+ "learning_rate": 6.383561643835617e-05,
109
+ "loss": 0.321,
110
+ "mean_token_accuracy": 0.9391013815999031,
111
+ "num_tokens": 109408.0,
112
+ "step": 80
113
+ },
114
+ {
115
+ "entropy": 0.28223426416516306,
116
+ "epoch": 2.3076923076923075,
117
+ "grad_norm": 0.47210052609443665,
118
+ "learning_rate": 6.109589041095891e-05,
119
+ "loss": 0.2494,
120
+ "mean_token_accuracy": 0.9481928303837777,
121
+ "num_tokens": 123140.0,
122
+ "step": 90
123
+ },
124
+ {
125
+ "entropy": 0.22195697724819183,
126
+ "epoch": 2.564102564102564,
127
+ "grad_norm": 0.48354053497314453,
128
+ "learning_rate": 5.835616438356165e-05,
129
+ "loss": 0.2218,
130
+ "mean_token_accuracy": 0.95259810090065,
131
+ "num_tokens": 136850.0,
132
+ "step": 100
133
+ },
134
+ {
135
+ "entropy": 0.21110524237155914,
136
+ "epoch": 2.8205128205128203,
137
+ "grad_norm": 0.48064902424812317,
138
+ "learning_rate": 5.561643835616439e-05,
139
+ "loss": 0.1959,
140
+ "mean_token_accuracy": 0.9575912490487098,
141
+ "num_tokens": 150480.0,
142
+ "step": 110
143
+ },
144
+ {
145
+ "epoch": 3.0,
146
+ "eval_entropy": 0.355695774157842,
147
+ "eval_loss": 0.40241146087646484,
148
+ "eval_mean_token_accuracy": 0.9268327752749125,
149
+ "eval_num_tokens": 159840.0,
150
+ "eval_runtime": 2.7968,
151
+ "eval_samples_per_second": 8.581,
152
+ "eval_steps_per_second": 1.073,
153
+ "step": 117
154
+ },
155
+ {
156
+ "entropy": 0.23056518994271755,
157
+ "epoch": 3.076923076923077,
158
+ "grad_norm": 0.5083797574043274,
159
+ "learning_rate": 5.2876712328767125e-05,
160
+ "loss": 0.2134,
161
+ "mean_token_accuracy": 0.954666568338871,
162
+ "num_tokens": 163947.0,
163
+ "step": 120
164
+ },
165
+ {
166
+ "entropy": 0.21548609118908643,
167
+ "epoch": 3.3333333333333335,
168
+ "grad_norm": 0.6669173836708069,
169
+ "learning_rate": 5.0136986301369863e-05,
170
+ "loss": 0.195,
171
+ "mean_token_accuracy": 0.9568116649985313,
172
+ "num_tokens": 177722.0,
173
+ "step": 130
174
+ },
175
+ {
176
+ "entropy": 0.19277227036654948,
177
+ "epoch": 3.58974358974359,
178
+ "grad_norm": 0.6170966029167175,
179
+ "learning_rate": 4.739726027397261e-05,
180
+ "loss": 0.1786,
181
+ "mean_token_accuracy": 0.9599042758345604,
182
+ "num_tokens": 191348.0,
183
+ "step": 140
184
+ },
185
+ {
186
+ "entropy": 0.1847936963662505,
187
+ "epoch": 3.8461538461538463,
188
+ "grad_norm": 0.6156774163246155,
189
+ "learning_rate": 4.465753424657535e-05,
190
+ "loss": 0.1736,
191
+ "mean_token_accuracy": 0.9629231780767441,
192
+ "num_tokens": 204961.0,
193
+ "step": 150
194
+ },
195
+ {
196
+ "epoch": 4.0,
197
+ "eval_entropy": 0.31701664129892987,
198
+ "eval_loss": 0.4171659052371979,
199
+ "eval_mean_token_accuracy": 0.9275441765785217,
200
+ "eval_num_tokens": 213120.0,
201
+ "eval_runtime": 2.9872,
202
+ "eval_samples_per_second": 8.034,
203
+ "eval_steps_per_second": 1.004,
204
+ "step": 156
205
+ }
206
+ ],
207
+ "logging_steps": 10,
208
+ "max_steps": 312,
209
+ "num_input_tokens_seen": 0,
210
+ "num_train_epochs": 8,
211
+ "save_steps": 500,
212
+ "stateful_callbacks": {
213
+ "TrainerControl": {
214
+ "args": {
215
+ "should_epoch_stop": false,
216
+ "should_evaluate": false,
217
+ "should_log": false,
218
+ "should_save": true,
219
+ "should_training_stop": false
220
+ },
221
+ "attributes": {}
222
+ }
223
+ },
224
+ "total_flos": 1394607930691584.0,
225
+ "train_batch_size": 2,
226
+ "trial_name": null,
227
+ "trial_params": null
228
+ }
checkpoint-156/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a481ec4511ff65e6d89887f1674e392bf7f467a3e700014f4a1bc5e7acd6d9fd
3
+ size 5880
checkpoint-195/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
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-195/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": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
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": 64,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "v_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_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-195/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88c7fa6648fdf7f6685daa6f3e1811cde0afb89fe64d30b712cd4f58c42b3636
3
+ size 100966336
checkpoint-195/chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoint-195/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd8d40d7cb529d546a8086082620c383e3ef152178187b0c730f7eef159e71c2
3
+ size 202101754
checkpoint-195/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:013d13e4b269a8648da58d2f40bf48e004388ea0631771b8c8e588ab75375092
3
+ size 13990
checkpoint-195/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a17420baf1fcdd4ec52fa3b35ce07c9efe01afe13a1e76fc4d563568fc1510b9
3
+ size 1064
checkpoint-195/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-195/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-195/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-195/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": false,
36
+ "model_max_length": 2048,
37
+ "pad_token": "</s>",
38
+ "padding_side": "right",
39
+ "sp_model_kwargs": {},
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
checkpoint-195/trainer_state.json ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 117,
3
+ "best_metric": 0.40241146087646484,
4
+ "best_model_checkpoint": "out/taskmind_lora_r2/checkpoint-117",
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 195,
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.7179150760173798,
14
+ "epoch": 0.2564102564102564,
15
+ "grad_norm": 2.5452802181243896,
16
+ "learning_rate": 3.6e-05,
17
+ "loss": 2.1281,
18
+ "mean_token_accuracy": 0.6145351931452752,
19
+ "num_tokens": 13644.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 1.19541779384017,
24
+ "epoch": 0.5128205128205128,
25
+ "grad_norm": 2.5751521587371826,
26
+ "learning_rate": 7.6e-05,
27
+ "loss": 1.1145,
28
+ "mean_token_accuracy": 0.7703276634216308,
29
+ "num_tokens": 27398.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.35528318025171757,
34
+ "epoch": 0.7692307692307693,
35
+ "grad_norm": 0.8191161155700684,
36
+ "learning_rate": 7.753424657534247e-05,
37
+ "loss": 0.3534,
38
+ "mean_token_accuracy": 0.9318128570914268,
39
+ "num_tokens": 41008.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "epoch": 1.0,
44
+ "eval_entropy": 0.4318943719069163,
45
+ "eval_loss": 0.4599609375,
46
+ "eval_mean_token_accuracy": 0.915368656317393,
47
+ "eval_num_tokens": 53280.0,
48
+ "eval_runtime": 4.1078,
49
+ "eval_samples_per_second": 5.843,
50
+ "eval_steps_per_second": 0.73,
51
+ "step": 39
52
+ },
53
+ {
54
+ "entropy": 0.34713621363043784,
55
+ "epoch": 1.0256410256410255,
56
+ "grad_norm": 0.5747274160385132,
57
+ "learning_rate": 7.47945205479452e-05,
58
+ "loss": 0.3455,
59
+ "mean_token_accuracy": 0.9327198296785355,
60
+ "num_tokens": 54619.0,
61
+ "step": 40
62
+ },
63
+ {
64
+ "entropy": 0.29785057827830314,
65
+ "epoch": 1.282051282051282,
66
+ "grad_norm": 0.5261789560317993,
67
+ "learning_rate": 7.205479452054796e-05,
68
+ "loss": 0.2928,
69
+ "mean_token_accuracy": 0.9401231810450554,
70
+ "num_tokens": 68310.0,
71
+ "step": 50
72
+ },
73
+ {
74
+ "entropy": 0.25945029519498347,
75
+ "epoch": 1.5384615384615383,
76
+ "grad_norm": 0.3967696726322174,
77
+ "learning_rate": 6.93150684931507e-05,
78
+ "loss": 0.2491,
79
+ "mean_token_accuracy": 0.9500185340642929,
80
+ "num_tokens": 81865.0,
81
+ "step": 60
82
+ },
83
+ {
84
+ "entropy": 0.2741880103945732,
85
+ "epoch": 1.7948717948717947,
86
+ "grad_norm": 0.5456269383430481,
87
+ "learning_rate": 6.657534246575343e-05,
88
+ "loss": 0.2771,
89
+ "mean_token_accuracy": 0.9445250034332275,
90
+ "num_tokens": 95656.0,
91
+ "step": 70
92
+ },
93
+ {
94
+ "epoch": 2.0,
95
+ "eval_entropy": 0.3964502811431885,
96
+ "eval_loss": 0.4085829555988312,
97
+ "eval_mean_token_accuracy": 0.9256282250086466,
98
+ "eval_num_tokens": 106560.0,
99
+ "eval_runtime": 3.1585,
100
+ "eval_samples_per_second": 7.598,
101
+ "eval_steps_per_second": 0.95,
102
+ "step": 78
103
+ },
104
+ {
105
+ "entropy": 0.3172414764761925,
106
+ "epoch": 2.051282051282051,
107
+ "grad_norm": 0.6122390627861023,
108
+ "learning_rate": 6.383561643835617e-05,
109
+ "loss": 0.321,
110
+ "mean_token_accuracy": 0.9391013815999031,
111
+ "num_tokens": 109408.0,
112
+ "step": 80
113
+ },
114
+ {
115
+ "entropy": 0.28223426416516306,
116
+ "epoch": 2.3076923076923075,
117
+ "grad_norm": 0.47210052609443665,
118
+ "learning_rate": 6.109589041095891e-05,
119
+ "loss": 0.2494,
120
+ "mean_token_accuracy": 0.9481928303837777,
121
+ "num_tokens": 123140.0,
122
+ "step": 90
123
+ },
124
+ {
125
+ "entropy": 0.22195697724819183,
126
+ "epoch": 2.564102564102564,
127
+ "grad_norm": 0.48354053497314453,
128
+ "learning_rate": 5.835616438356165e-05,
129
+ "loss": 0.2218,
130
+ "mean_token_accuracy": 0.95259810090065,
131
+ "num_tokens": 136850.0,
132
+ "step": 100
133
+ },
134
+ {
135
+ "entropy": 0.21110524237155914,
136
+ "epoch": 2.8205128205128203,
137
+ "grad_norm": 0.48064902424812317,
138
+ "learning_rate": 5.561643835616439e-05,
139
+ "loss": 0.1959,
140
+ "mean_token_accuracy": 0.9575912490487098,
141
+ "num_tokens": 150480.0,
142
+ "step": 110
143
+ },
144
+ {
145
+ "epoch": 3.0,
146
+ "eval_entropy": 0.355695774157842,
147
+ "eval_loss": 0.40241146087646484,
148
+ "eval_mean_token_accuracy": 0.9268327752749125,
149
+ "eval_num_tokens": 159840.0,
150
+ "eval_runtime": 2.7968,
151
+ "eval_samples_per_second": 8.581,
152
+ "eval_steps_per_second": 1.073,
153
+ "step": 117
154
+ },
155
+ {
156
+ "entropy": 0.23056518994271755,
157
+ "epoch": 3.076923076923077,
158
+ "grad_norm": 0.5083797574043274,
159
+ "learning_rate": 5.2876712328767125e-05,
160
+ "loss": 0.2134,
161
+ "mean_token_accuracy": 0.954666568338871,
162
+ "num_tokens": 163947.0,
163
+ "step": 120
164
+ },
165
+ {
166
+ "entropy": 0.21548609118908643,
167
+ "epoch": 3.3333333333333335,
168
+ "grad_norm": 0.6669173836708069,
169
+ "learning_rate": 5.0136986301369863e-05,
170
+ "loss": 0.195,
171
+ "mean_token_accuracy": 0.9568116649985313,
172
+ "num_tokens": 177722.0,
173
+ "step": 130
174
+ },
175
+ {
176
+ "entropy": 0.19277227036654948,
177
+ "epoch": 3.58974358974359,
178
+ "grad_norm": 0.6170966029167175,
179
+ "learning_rate": 4.739726027397261e-05,
180
+ "loss": 0.1786,
181
+ "mean_token_accuracy": 0.9599042758345604,
182
+ "num_tokens": 191348.0,
183
+ "step": 140
184
+ },
185
+ {
186
+ "entropy": 0.1847936963662505,
187
+ "epoch": 3.8461538461538463,
188
+ "grad_norm": 0.6156774163246155,
189
+ "learning_rate": 4.465753424657535e-05,
190
+ "loss": 0.1736,
191
+ "mean_token_accuracy": 0.9629231780767441,
192
+ "num_tokens": 204961.0,
193
+ "step": 150
194
+ },
195
+ {
196
+ "epoch": 4.0,
197
+ "eval_entropy": 0.31701664129892987,
198
+ "eval_loss": 0.4171659052371979,
199
+ "eval_mean_token_accuracy": 0.9275441765785217,
200
+ "eval_num_tokens": 213120.0,
201
+ "eval_runtime": 2.9872,
202
+ "eval_samples_per_second": 8.034,
203
+ "eval_steps_per_second": 1.004,
204
+ "step": 156
205
+ },
206
+ {
207
+ "entropy": 0.2000537607818842,
208
+ "epoch": 4.102564102564102,
209
+ "grad_norm": 0.6084583401679993,
210
+ "learning_rate": 4.1917808219178085e-05,
211
+ "loss": 0.1788,
212
+ "mean_token_accuracy": 0.961600199341774,
213
+ "num_tokens": 218640.0,
214
+ "step": 160
215
+ },
216
+ {
217
+ "entropy": 0.16115494575351477,
218
+ "epoch": 4.358974358974359,
219
+ "grad_norm": 0.612944483757019,
220
+ "learning_rate": 3.9178082191780823e-05,
221
+ "loss": 0.1353,
222
+ "mean_token_accuracy": 0.9696354046463966,
223
+ "num_tokens": 232303.0,
224
+ "step": 170
225
+ },
226
+ {
227
+ "entropy": 0.16795936021953822,
228
+ "epoch": 4.615384615384615,
229
+ "grad_norm": 0.8854185342788696,
230
+ "learning_rate": 3.643835616438356e-05,
231
+ "loss": 0.1473,
232
+ "mean_token_accuracy": 0.9673726826906204,
233
+ "num_tokens": 245943.0,
234
+ "step": 180
235
+ },
236
+ {
237
+ "entropy": 0.17643585596233607,
238
+ "epoch": 4.871794871794872,
239
+ "grad_norm": 0.6607788801193237,
240
+ "learning_rate": 3.369863013698631e-05,
241
+ "loss": 0.147,
242
+ "mean_token_accuracy": 0.9683244049549102,
243
+ "num_tokens": 259614.0,
244
+ "step": 190
245
+ },
246
+ {
247
+ "epoch": 5.0,
248
+ "eval_entropy": 0.26739776134490967,
249
+ "eval_loss": 0.4382016658782959,
250
+ "eval_mean_token_accuracy": 0.9290497899055481,
251
+ "eval_num_tokens": 266400.0,
252
+ "eval_runtime": 2.8717,
253
+ "eval_samples_per_second": 8.357,
254
+ "eval_steps_per_second": 1.045,
255
+ "step": 195
256
+ }
257
+ ],
258
+ "logging_steps": 10,
259
+ "max_steps": 312,
260
+ "num_input_tokens_seen": 0,
261
+ "num_train_epochs": 8,
262
+ "save_steps": 500,
263
+ "stateful_callbacks": {
264
+ "TrainerControl": {
265
+ "args": {
266
+ "should_epoch_stop": false,
267
+ "should_evaluate": false,
268
+ "should_log": false,
269
+ "should_save": true,
270
+ "should_training_stop": false
271
+ },
272
+ "attributes": {}
273
+ }
274
+ },
275
+ "total_flos": 1743553992253440.0,
276
+ "train_batch_size": 2,
277
+ "trial_name": null,
278
+ "trial_params": null
279
+ }
checkpoint-195/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a481ec4511ff65e6d89887f1674e392bf7f467a3e700014f4a1bc5e7acd6d9fd
3
+ size 5880
checkpoint-234/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:TinyLlama/TinyLlama-1.1B-Chat-v1.0
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-234/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": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
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": 64,
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": 32,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "q_proj",
34
+ "v_proj",
35
+ "gate_proj",
36
+ "up_proj",
37
+ "down_proj",
38
+ "k_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-234/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5b6550e855e6140f349cfa8819f141bf7edeec9f78290788dd857b6180fb409
3
+ size 100966336
checkpoint-234/chat_template.jinja ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% for message in messages %}
2
+ {% if message['role'] == 'user' %}
3
+ {{ '<|user|>
4
+ ' + message['content'] + eos_token }}
5
+ {% elif message['role'] == 'system' %}
6
+ {{ '<|system|>
7
+ ' + message['content'] + eos_token }}
8
+ {% elif message['role'] == 'assistant' %}
9
+ {{ '<|assistant|>
10
+ ' + message['content'] + eos_token }}
11
+ {% endif %}
12
+ {% if loop.last and add_generation_prompt %}
13
+ {{ '<|assistant|>' }}
14
+ {% endif %}
15
+ {% endfor %}
checkpoint-234/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3b1ad407bcce88ff98dc8f1b11d7891299f98747c7af3173cacec45ea196670
3
+ size 202101754
checkpoint-234/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04480b41443f43abe08b007d9f81b1cde1f8f5a62079008c358d77853cadc4d8
3
+ size 13990
checkpoint-234/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e0b381b40f5af548b45cdd6103b0057b095a653e806669433d7f8f390ac50d
3
+ size 1064