saanu01 commited on
Commit
c96237d
·
verified ·
1 Parent(s): aac92aa

Upload 34 files

Browse files
model/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: tinyllama-medical-lora
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 tinyllama-medical-lora
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
+ This model was trained with SFT.
37
+
38
+ ### Framework versions
39
+
40
+ - PEFT 0.18.0
41
+ - TRL: 0.26.2
42
+ - Transformers: 4.57.3
43
+ - Pytorch: 2.9.0+cu126
44
+ - Datasets: 4.0.0
45
+ - Tokenizers: 0.22.1
46
+
47
+ ## Citations
48
+
49
+
50
+
51
+ Cite TRL as:
52
+
53
+ ```bibtex
54
+ @misc{vonwerra2022trl,
55
+ title = {{TRL: Transformer Reinforcement Learning}},
56
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
57
+ year = 2020,
58
+ journal = {GitHub repository},
59
+ publisher = {GitHub},
60
+ howpublished = {\url{https://github.com/huggingface/trl}}
61
+ }
62
+ ```
model/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 16,
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.0",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj",
34
+ "k_proj",
35
+ "o_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
model/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5034ab4f54b398db6138791a0115c724c2d7419d6559d41e2e615685ba29a87b
3
+ size 4528840
model/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 %}
model/checkpoint-252/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.0
model/checkpoint-252/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 16,
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.0",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj",
34
+ "k_proj",
35
+ "o_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
model/checkpoint-252/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48c2370a39adeb0f6742a2b32e0a66f0ed1e55ac2f3e76e253880920bfa19f8
3
+ size 4528840
model/checkpoint-252/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 %}
model/checkpoint-252/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fe1d3742a92c90afc995152f00115fe5efc94c08772890c7d9f08527ad0c2a6
3
+ size 5296011
model/checkpoint-252/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:223b0ea1a835257fb98821529a6586e915276afb8933ab54cbe89c7fd896faf4
3
+ size 14645
model/checkpoint-252/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e222c8f6d70a64a7be434a77e12dba6b8fa450472e392f38aef10b0cb19a6bfb
3
+ size 1465
model/checkpoint-252/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
model/checkpoint-252/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
model/checkpoint-252/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
model/checkpoint-252/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
+ }
model/checkpoint-252/trainer_state.json ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 252,
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.6945084899663925,
14
+ "epoch": 0.16,
15
+ "grad_norm": 2.296875,
16
+ "learning_rate": 0.0001942857142857143,
17
+ "loss": 1.6568,
18
+ "mean_token_accuracy": 0.6660789601504803,
19
+ "num_tokens": 3578.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 0.7567030429840088,
24
+ "epoch": 0.32,
25
+ "grad_norm": 1.2734375,
26
+ "learning_rate": 0.00018793650793650794,
27
+ "loss": 0.5374,
28
+ "mean_token_accuracy": 0.9151218816637993,
29
+ "num_tokens": 7168.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.3767241083085537,
34
+ "epoch": 0.48,
35
+ "grad_norm": 1.046875,
36
+ "learning_rate": 0.00018158730158730158,
37
+ "loss": 0.2313,
38
+ "mean_token_accuracy": 0.9639480978250503,
39
+ "num_tokens": 10765.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 0.11644666939973831,
44
+ "epoch": 0.64,
45
+ "grad_norm": 1.6171875,
46
+ "learning_rate": 0.00017523809523809525,
47
+ "loss": 0.0879,
48
+ "mean_token_accuracy": 0.9775604054331779,
49
+ "num_tokens": 14360.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.09643888566643,
54
+ "epoch": 0.8,
55
+ "grad_norm": 0.625,
56
+ "learning_rate": 0.00016888888888888889,
57
+ "loss": 0.0704,
58
+ "mean_token_accuracy": 0.9787676453590393,
59
+ "num_tokens": 17939.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.07870416343212128,
64
+ "epoch": 0.96,
65
+ "grad_norm": 0.376953125,
66
+ "learning_rate": 0.00016253968253968255,
67
+ "loss": 0.0613,
68
+ "mean_token_accuracy": 0.9781275555491448,
69
+ "num_tokens": 21503.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.06506191292091419,
74
+ "epoch": 1.112,
75
+ "grad_norm": 0.443359375,
76
+ "learning_rate": 0.0001561904761904762,
77
+ "loss": 0.0603,
78
+ "mean_token_accuracy": 0.979121606600912,
79
+ "num_tokens": 24901.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.06247333232313394,
84
+ "epoch": 1.272,
85
+ "grad_norm": 0.341796875,
86
+ "learning_rate": 0.00014984126984126986,
87
+ "loss": 0.0561,
88
+ "mean_token_accuracy": 0.9788626194000244,
89
+ "num_tokens": 28481.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.06256919410079717,
94
+ "epoch": 1.432,
95
+ "grad_norm": 0.4375,
96
+ "learning_rate": 0.0001434920634920635,
97
+ "loss": 0.0573,
98
+ "mean_token_accuracy": 0.9789639458060264,
99
+ "num_tokens": 32086.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.06354112001135945,
104
+ "epoch": 1.592,
105
+ "grad_norm": 0.25,
106
+ "learning_rate": 0.00013714285714285716,
107
+ "loss": 0.0565,
108
+ "mean_token_accuracy": 0.9794268563389779,
109
+ "num_tokens": 35669.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.06055063921958208,
114
+ "epoch": 1.752,
115
+ "grad_norm": 0.287109375,
116
+ "learning_rate": 0.0001307936507936508,
117
+ "loss": 0.0585,
118
+ "mean_token_accuracy": 0.9791461735963821,
119
+ "num_tokens": 39248.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.06182145280763507,
124
+ "epoch": 1.912,
125
+ "grad_norm": 0.23828125,
126
+ "learning_rate": 0.00012444444444444444,
127
+ "loss": 0.0566,
128
+ "mean_token_accuracy": 0.9789005950093269,
129
+ "num_tokens": 42847.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.061306838828482126,
134
+ "epoch": 2.064,
135
+ "grad_norm": 0.197265625,
136
+ "learning_rate": 0.0001180952380952381,
137
+ "loss": 0.0571,
138
+ "mean_token_accuracy": 0.9782133165158724,
139
+ "num_tokens": 46232.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.06099967770278454,
144
+ "epoch": 2.224,
145
+ "grad_norm": 0.126953125,
146
+ "learning_rate": 0.00011174603174603176,
147
+ "loss": 0.055,
148
+ "mean_token_accuracy": 0.9792280271649361,
149
+ "num_tokens": 49832.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.059232624247670174,
154
+ "epoch": 2.384,
155
+ "grad_norm": 0.20703125,
156
+ "learning_rate": 0.00010539682539682541,
157
+ "loss": 0.0529,
158
+ "mean_token_accuracy": 0.9804230973124504,
159
+ "num_tokens": 53452.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.05805135918781161,
164
+ "epoch": 2.544,
165
+ "grad_norm": 0.1787109375,
166
+ "learning_rate": 9.904761904761905e-05,
167
+ "loss": 0.0543,
168
+ "mean_token_accuracy": 0.9793034762144088,
169
+ "num_tokens": 57025.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.05772697534412145,
174
+ "epoch": 2.7039999999999997,
175
+ "grad_norm": 0.287109375,
176
+ "learning_rate": 9.26984126984127e-05,
177
+ "loss": 0.0554,
178
+ "mean_token_accuracy": 0.9804835677146911,
179
+ "num_tokens": 60568.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.05884762229397893,
184
+ "epoch": 2.864,
185
+ "grad_norm": 0.228515625,
186
+ "learning_rate": 8.634920634920635e-05,
187
+ "loss": 0.0549,
188
+ "mean_token_accuracy": 0.9786250367760658,
189
+ "num_tokens": 64154.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.059985080929963214,
194
+ "epoch": 3.016,
195
+ "grad_norm": 0.185546875,
196
+ "learning_rate": 8e-05,
197
+ "loss": 0.0556,
198
+ "mean_token_accuracy": 0.9794995596534327,
199
+ "num_tokens": 67556.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.05724337324500084,
204
+ "epoch": 3.176,
205
+ "grad_norm": 0.296875,
206
+ "learning_rate": 7.365079365079366e-05,
207
+ "loss": 0.056,
208
+ "mean_token_accuracy": 0.9790969446301461,
209
+ "num_tokens": 71127.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.05909126764163375,
214
+ "epoch": 3.336,
215
+ "grad_norm": 0.228515625,
216
+ "learning_rate": 6.730158730158731e-05,
217
+ "loss": 0.0535,
218
+ "mean_token_accuracy": 0.9792171016335487,
219
+ "num_tokens": 74707.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.05850943056866527,
224
+ "epoch": 3.496,
225
+ "grad_norm": 0.2021484375,
226
+ "learning_rate": 6.0952380952380964e-05,
227
+ "loss": 0.0527,
228
+ "mean_token_accuracy": 0.979849337041378,
229
+ "num_tokens": 78304.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.05798638556152582,
234
+ "epoch": 3.656,
235
+ "grad_norm": 0.2158203125,
236
+ "learning_rate": 5.46031746031746e-05,
237
+ "loss": 0.0528,
238
+ "mean_token_accuracy": 0.9787673026323318,
239
+ "num_tokens": 81920.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.058623119723051786,
244
+ "epoch": 3.816,
245
+ "grad_norm": 0.34375,
246
+ "learning_rate": 4.8253968253968255e-05,
247
+ "loss": 0.0549,
248
+ "mean_token_accuracy": 0.9786330401897431,
249
+ "num_tokens": 85474.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.05803300961852074,
254
+ "epoch": 3.976,
255
+ "grad_norm": 0.333984375,
256
+ "learning_rate": 4.190476190476191e-05,
257
+ "loss": 0.0529,
258
+ "mean_token_accuracy": 0.9784177452325821,
259
+ "num_tokens": 89084.0,
260
+ "step": 250
261
+ }
262
+ ],
263
+ "logging_steps": 10,
264
+ "max_steps": 315,
265
+ "num_input_tokens_seen": 0,
266
+ "num_train_epochs": 5,
267
+ "save_steps": 500,
268
+ "stateful_callbacks": {
269
+ "TrainerControl": {
270
+ "args": {
271
+ "should_epoch_stop": false,
272
+ "should_evaluate": false,
273
+ "should_log": false,
274
+ "should_save": true,
275
+ "should_training_stop": false
276
+ },
277
+ "attributes": {}
278
+ }
279
+ },
280
+ "total_flos": 571722087186432.0,
281
+ "train_batch_size": 2,
282
+ "trial_name": null,
283
+ "trial_params": null
284
+ }
model/checkpoint-252/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:836f93796543a92fe4ff87df40f049346c24746c007b4ebfcd9582ba8df4aab6
3
+ size 6225
model/checkpoint-315/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.0
model/checkpoint-315/adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 16,
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.0",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "q_proj",
34
+ "k_proj",
35
+ "o_proj"
36
+ ],
37
+ "target_parameters": null,
38
+ "task_type": "CAUSAL_LM",
39
+ "trainable_token_indices": null,
40
+ "use_dora": false,
41
+ "use_qalora": false,
42
+ "use_rslora": false
43
+ }
model/checkpoint-315/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5034ab4f54b398db6138791a0115c724c2d7419d6559d41e2e615685ba29a87b
3
+ size 4528840
model/checkpoint-315/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 %}
model/checkpoint-315/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efff128dd4c93f9b8ee2bc9dd46c0757d053b7268a4537a09b1086d71ef1f056
3
+ size 5296203
model/checkpoint-315/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a12dc8a2bb0acc60d4a2afb1b8df320bda55d911c14d668d41835456ec48f2f
3
+ size 14645
model/checkpoint-315/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f1ad5bceb26ebd94ddf87be4c3a4b6b55a91ae603f87ea70fc9687ee0c47e4e
3
+ size 1465
model/checkpoint-315/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
model/checkpoint-315/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
model/checkpoint-315/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
model/checkpoint-315/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
+ }
model/checkpoint-315/trainer_state.json ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 315,
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.6945084899663925,
14
+ "epoch": 0.16,
15
+ "grad_norm": 2.296875,
16
+ "learning_rate": 0.0001942857142857143,
17
+ "loss": 1.6568,
18
+ "mean_token_accuracy": 0.6660789601504803,
19
+ "num_tokens": 3578.0,
20
+ "step": 10
21
+ },
22
+ {
23
+ "entropy": 0.7567030429840088,
24
+ "epoch": 0.32,
25
+ "grad_norm": 1.2734375,
26
+ "learning_rate": 0.00018793650793650794,
27
+ "loss": 0.5374,
28
+ "mean_token_accuracy": 0.9151218816637993,
29
+ "num_tokens": 7168.0,
30
+ "step": 20
31
+ },
32
+ {
33
+ "entropy": 0.3767241083085537,
34
+ "epoch": 0.48,
35
+ "grad_norm": 1.046875,
36
+ "learning_rate": 0.00018158730158730158,
37
+ "loss": 0.2313,
38
+ "mean_token_accuracy": 0.9639480978250503,
39
+ "num_tokens": 10765.0,
40
+ "step": 30
41
+ },
42
+ {
43
+ "entropy": 0.11644666939973831,
44
+ "epoch": 0.64,
45
+ "grad_norm": 1.6171875,
46
+ "learning_rate": 0.00017523809523809525,
47
+ "loss": 0.0879,
48
+ "mean_token_accuracy": 0.9775604054331779,
49
+ "num_tokens": 14360.0,
50
+ "step": 40
51
+ },
52
+ {
53
+ "entropy": 0.09643888566643,
54
+ "epoch": 0.8,
55
+ "grad_norm": 0.625,
56
+ "learning_rate": 0.00016888888888888889,
57
+ "loss": 0.0704,
58
+ "mean_token_accuracy": 0.9787676453590393,
59
+ "num_tokens": 17939.0,
60
+ "step": 50
61
+ },
62
+ {
63
+ "entropy": 0.07870416343212128,
64
+ "epoch": 0.96,
65
+ "grad_norm": 0.376953125,
66
+ "learning_rate": 0.00016253968253968255,
67
+ "loss": 0.0613,
68
+ "mean_token_accuracy": 0.9781275555491448,
69
+ "num_tokens": 21503.0,
70
+ "step": 60
71
+ },
72
+ {
73
+ "entropy": 0.06506191292091419,
74
+ "epoch": 1.112,
75
+ "grad_norm": 0.443359375,
76
+ "learning_rate": 0.0001561904761904762,
77
+ "loss": 0.0603,
78
+ "mean_token_accuracy": 0.979121606600912,
79
+ "num_tokens": 24901.0,
80
+ "step": 70
81
+ },
82
+ {
83
+ "entropy": 0.06247333232313394,
84
+ "epoch": 1.272,
85
+ "grad_norm": 0.341796875,
86
+ "learning_rate": 0.00014984126984126986,
87
+ "loss": 0.0561,
88
+ "mean_token_accuracy": 0.9788626194000244,
89
+ "num_tokens": 28481.0,
90
+ "step": 80
91
+ },
92
+ {
93
+ "entropy": 0.06256919410079717,
94
+ "epoch": 1.432,
95
+ "grad_norm": 0.4375,
96
+ "learning_rate": 0.0001434920634920635,
97
+ "loss": 0.0573,
98
+ "mean_token_accuracy": 0.9789639458060264,
99
+ "num_tokens": 32086.0,
100
+ "step": 90
101
+ },
102
+ {
103
+ "entropy": 0.06354112001135945,
104
+ "epoch": 1.592,
105
+ "grad_norm": 0.25,
106
+ "learning_rate": 0.00013714285714285716,
107
+ "loss": 0.0565,
108
+ "mean_token_accuracy": 0.9794268563389779,
109
+ "num_tokens": 35669.0,
110
+ "step": 100
111
+ },
112
+ {
113
+ "entropy": 0.06055063921958208,
114
+ "epoch": 1.752,
115
+ "grad_norm": 0.287109375,
116
+ "learning_rate": 0.0001307936507936508,
117
+ "loss": 0.0585,
118
+ "mean_token_accuracy": 0.9791461735963821,
119
+ "num_tokens": 39248.0,
120
+ "step": 110
121
+ },
122
+ {
123
+ "entropy": 0.06182145280763507,
124
+ "epoch": 1.912,
125
+ "grad_norm": 0.23828125,
126
+ "learning_rate": 0.00012444444444444444,
127
+ "loss": 0.0566,
128
+ "mean_token_accuracy": 0.9789005950093269,
129
+ "num_tokens": 42847.0,
130
+ "step": 120
131
+ },
132
+ {
133
+ "entropy": 0.061306838828482126,
134
+ "epoch": 2.064,
135
+ "grad_norm": 0.197265625,
136
+ "learning_rate": 0.0001180952380952381,
137
+ "loss": 0.0571,
138
+ "mean_token_accuracy": 0.9782133165158724,
139
+ "num_tokens": 46232.0,
140
+ "step": 130
141
+ },
142
+ {
143
+ "entropy": 0.06099967770278454,
144
+ "epoch": 2.224,
145
+ "grad_norm": 0.126953125,
146
+ "learning_rate": 0.00011174603174603176,
147
+ "loss": 0.055,
148
+ "mean_token_accuracy": 0.9792280271649361,
149
+ "num_tokens": 49832.0,
150
+ "step": 140
151
+ },
152
+ {
153
+ "entropy": 0.059232624247670174,
154
+ "epoch": 2.384,
155
+ "grad_norm": 0.20703125,
156
+ "learning_rate": 0.00010539682539682541,
157
+ "loss": 0.0529,
158
+ "mean_token_accuracy": 0.9804230973124504,
159
+ "num_tokens": 53452.0,
160
+ "step": 150
161
+ },
162
+ {
163
+ "entropy": 0.05805135918781161,
164
+ "epoch": 2.544,
165
+ "grad_norm": 0.1787109375,
166
+ "learning_rate": 9.904761904761905e-05,
167
+ "loss": 0.0543,
168
+ "mean_token_accuracy": 0.9793034762144088,
169
+ "num_tokens": 57025.0,
170
+ "step": 160
171
+ },
172
+ {
173
+ "entropy": 0.05772697534412145,
174
+ "epoch": 2.7039999999999997,
175
+ "grad_norm": 0.287109375,
176
+ "learning_rate": 9.26984126984127e-05,
177
+ "loss": 0.0554,
178
+ "mean_token_accuracy": 0.9804835677146911,
179
+ "num_tokens": 60568.0,
180
+ "step": 170
181
+ },
182
+ {
183
+ "entropy": 0.05884762229397893,
184
+ "epoch": 2.864,
185
+ "grad_norm": 0.228515625,
186
+ "learning_rate": 8.634920634920635e-05,
187
+ "loss": 0.0549,
188
+ "mean_token_accuracy": 0.9786250367760658,
189
+ "num_tokens": 64154.0,
190
+ "step": 180
191
+ },
192
+ {
193
+ "entropy": 0.059985080929963214,
194
+ "epoch": 3.016,
195
+ "grad_norm": 0.185546875,
196
+ "learning_rate": 8e-05,
197
+ "loss": 0.0556,
198
+ "mean_token_accuracy": 0.9794995596534327,
199
+ "num_tokens": 67556.0,
200
+ "step": 190
201
+ },
202
+ {
203
+ "entropy": 0.05724337324500084,
204
+ "epoch": 3.176,
205
+ "grad_norm": 0.296875,
206
+ "learning_rate": 7.365079365079366e-05,
207
+ "loss": 0.056,
208
+ "mean_token_accuracy": 0.9790969446301461,
209
+ "num_tokens": 71127.0,
210
+ "step": 200
211
+ },
212
+ {
213
+ "entropy": 0.05909126764163375,
214
+ "epoch": 3.336,
215
+ "grad_norm": 0.228515625,
216
+ "learning_rate": 6.730158730158731e-05,
217
+ "loss": 0.0535,
218
+ "mean_token_accuracy": 0.9792171016335487,
219
+ "num_tokens": 74707.0,
220
+ "step": 210
221
+ },
222
+ {
223
+ "entropy": 0.05850943056866527,
224
+ "epoch": 3.496,
225
+ "grad_norm": 0.2021484375,
226
+ "learning_rate": 6.0952380952380964e-05,
227
+ "loss": 0.0527,
228
+ "mean_token_accuracy": 0.979849337041378,
229
+ "num_tokens": 78304.0,
230
+ "step": 220
231
+ },
232
+ {
233
+ "entropy": 0.05798638556152582,
234
+ "epoch": 3.656,
235
+ "grad_norm": 0.2158203125,
236
+ "learning_rate": 5.46031746031746e-05,
237
+ "loss": 0.0528,
238
+ "mean_token_accuracy": 0.9787673026323318,
239
+ "num_tokens": 81920.0,
240
+ "step": 230
241
+ },
242
+ {
243
+ "entropy": 0.058623119723051786,
244
+ "epoch": 3.816,
245
+ "grad_norm": 0.34375,
246
+ "learning_rate": 4.8253968253968255e-05,
247
+ "loss": 0.0549,
248
+ "mean_token_accuracy": 0.9786330401897431,
249
+ "num_tokens": 85474.0,
250
+ "step": 240
251
+ },
252
+ {
253
+ "entropy": 0.05803300961852074,
254
+ "epoch": 3.976,
255
+ "grad_norm": 0.333984375,
256
+ "learning_rate": 4.190476190476191e-05,
257
+ "loss": 0.0529,
258
+ "mean_token_accuracy": 0.9784177452325821,
259
+ "num_tokens": 89084.0,
260
+ "step": 250
261
+ },
262
+ {
263
+ "entropy": 0.058468575050172056,
264
+ "epoch": 4.128,
265
+ "grad_norm": 0.2236328125,
266
+ "learning_rate": 3.555555555555556e-05,
267
+ "loss": 0.053,
268
+ "mean_token_accuracy": 0.980533872780047,
269
+ "num_tokens": 92475.0,
270
+ "step": 260
271
+ },
272
+ {
273
+ "entropy": 0.05833202926442027,
274
+ "epoch": 4.288,
275
+ "grad_norm": 0.2734375,
276
+ "learning_rate": 2.920634920634921e-05,
277
+ "loss": 0.0528,
278
+ "mean_token_accuracy": 0.9793538480997086,
279
+ "num_tokens": 96031.0,
280
+ "step": 270
281
+ },
282
+ {
283
+ "entropy": 0.057458093389868736,
284
+ "epoch": 4.448,
285
+ "grad_norm": 0.1708984375,
286
+ "learning_rate": 2.2857142857142858e-05,
287
+ "loss": 0.0529,
288
+ "mean_token_accuracy": 0.9790615141391754,
289
+ "num_tokens": 99636.0,
290
+ "step": 280
291
+ },
292
+ {
293
+ "entropy": 0.05768435606732965,
294
+ "epoch": 4.608,
295
+ "grad_norm": 0.158203125,
296
+ "learning_rate": 1.6507936507936507e-05,
297
+ "loss": 0.0523,
298
+ "mean_token_accuracy": 0.9792853400111199,
299
+ "num_tokens": 103226.0,
300
+ "step": 290
301
+ },
302
+ {
303
+ "entropy": 0.05801067296415567,
304
+ "epoch": 4.768,
305
+ "grad_norm": 0.2734375,
306
+ "learning_rate": 1.015873015873016e-05,
307
+ "loss": 0.0526,
308
+ "mean_token_accuracy": 0.9782511860132217,
309
+ "num_tokens": 106801.0,
310
+ "step": 300
311
+ },
312
+ {
313
+ "entropy": 0.057603081967681644,
314
+ "epoch": 4.928,
315
+ "grad_norm": 0.21484375,
316
+ "learning_rate": 3.8095238095238102e-06,
317
+ "loss": 0.0525,
318
+ "mean_token_accuracy": 0.9789468124508858,
319
+ "num_tokens": 110398.0,
320
+ "step": 310
321
+ }
322
+ ],
323
+ "logging_steps": 10,
324
+ "max_steps": 315,
325
+ "num_input_tokens_seen": 0,
326
+ "num_train_epochs": 5,
327
+ "save_steps": 500,
328
+ "stateful_callbacks": {
329
+ "TrainerControl": {
330
+ "args": {
331
+ "should_epoch_stop": false,
332
+ "should_evaluate": false,
333
+ "should_log": false,
334
+ "should_save": true,
335
+ "should_training_stop": true
336
+ },
337
+ "attributes": {}
338
+ }
339
+ },
340
+ "total_flos": 714497094205440.0,
341
+ "train_batch_size": 2,
342
+ "trial_name": null,
343
+ "trial_params": null
344
+ }
model/checkpoint-315/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:836f93796543a92fe4ff87df40f049346c24746c007b4ebfcd9582ba8df4aab6
3
+ size 6225
model/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
+ }
model/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
model/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
model/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
+ }