Initial push
Browse files- .gitattributes +1 -0
- README.md +209 -0
- adapter_config.json +41 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +3 -0
- chat_template.jinja +47 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +27 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
- trainer_state.json +232 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: google/gemma-3-27b-it
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:google/gemma-3-27b-it
|
| 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.16.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "google/gemma-3-27b-it",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 64,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"qalora_group_size": 16,
|
| 24 |
+
"r": 32,
|
| 25 |
+
"rank_pattern": {},
|
| 26 |
+
"revision": null,
|
| 27 |
+
"target_modules": [
|
| 28 |
+
"v_proj",
|
| 29 |
+
"down_proj",
|
| 30 |
+
"q_proj",
|
| 31 |
+
"k_proj",
|
| 32 |
+
"gate_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"up_proj"
|
| 35 |
+
],
|
| 36 |
+
"task_type": "CAUSAL_LM",
|
| 37 |
+
"trainable_token_indices": null,
|
| 38 |
+
"use_dora": true,
|
| 39 |
+
"use_qalora": false,
|
| 40 |
+
"use_rslora": false
|
| 41 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18317c552cffe9a894d798b1e71ede2922a6c27c453b31fd4f96041f3eb507d3
|
| 3 |
+
size 947997312
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image_soft_token>": 262144
|
| 3 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}
|
| 2 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 3 |
+
{%- if messages[0]['content'] is string -%}
|
| 4 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 5 |
+
|
| 6 |
+
' -%}
|
| 7 |
+
{%- else -%}
|
| 8 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 9 |
+
|
| 10 |
+
' -%}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- set loop_messages = messages[1:] -%}
|
| 13 |
+
{%- else -%}
|
| 14 |
+
{%- set first_user_prefix = "" -%}
|
| 15 |
+
{%- set loop_messages = messages -%}
|
| 16 |
+
{%- endif -%}
|
| 17 |
+
{%- for message in loop_messages -%}
|
| 18 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 19 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 20 |
+
{%- endif -%}
|
| 21 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 22 |
+
{%- set role = "model" -%}
|
| 23 |
+
{%- else -%}
|
| 24 |
+
{%- set role = message['role'] -%}
|
| 25 |
+
{%- endif -%}
|
| 26 |
+
{{ '<start_of_turn>' + role + '
|
| 27 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 28 |
+
{%- if message['content'] is string -%}
|
| 29 |
+
{{ message['content'] | trim }}
|
| 30 |
+
{%- elif message['content'] is iterable -%}
|
| 31 |
+
{%- for item in message['content'] -%}
|
| 32 |
+
{%- if item['type'] == 'image' -%}
|
| 33 |
+
{{ '<start_of_image>' }}
|
| 34 |
+
{%- elif item['type'] == 'text' -%}
|
| 35 |
+
{{ item['text'] | trim }}
|
| 36 |
+
{%- endif -%}
|
| 37 |
+
{%- endfor -%}
|
| 38 |
+
{%- else -%}
|
| 39 |
+
{{ raise_exception("Invalid content type") }}
|
| 40 |
+
{%- endif -%}
|
| 41 |
+
{{ '<end_of_turn>
|
| 42 |
+
' }}
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if add_generation_prompt -%}
|
| 45 |
+
{{'<start_of_turn>model
|
| 46 |
+
'}}
|
| 47 |
+
{%- endif -%}
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b282c984f3db22f4843c756791722864d099f4149558f82a354ff4c5b229503e
|
| 3 |
+
size 1848092069
|
rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12e15e837284f30841feeb4cb11a4ca47e6e0a0d43907e64044c865959176390
|
| 3 |
+
size 14581
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d7d5c86db204b7baa023d27bd42f71085a53466d8ebad7c38c664f063de30ad
|
| 3 |
+
size 1465
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"boi_token": "<start_of_image>",
|
| 3 |
+
"bos_token": {
|
| 4 |
+
"content": "<bos>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
"eoi_token": "<end_of_image>",
|
| 11 |
+
"eos_token": "<eos>",
|
| 12 |
+
"image_token": "<image_soft_token>",
|
| 13 |
+
"pad_token": {
|
| 14 |
+
"content": "<pad>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"unk_token": {
|
| 21 |
+
"content": "<unk>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
}
|
| 27 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
|
| 3 |
+
size 33384568
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
trainer_state.json
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 88,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.045714285714285714,
|
| 14 |
+
"grad_norm": 14.417235374450684,
|
| 15 |
+
"learning_rate": 9.65909090909091e-06,
|
| 16 |
+
"loss": 12.365,
|
| 17 |
+
"mean_token_accuracy": 0.7070006560534239,
|
| 18 |
+
"num_tokens": 262144.0,
|
| 19 |
+
"step": 4
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"epoch": 0.09142857142857143,
|
| 23 |
+
"grad_norm": 8.5507230758667,
|
| 24 |
+
"learning_rate": 9.204545454545455e-06,
|
| 25 |
+
"loss": 10.3836,
|
| 26 |
+
"mean_token_accuracy": 0.7233078088611364,
|
| 27 |
+
"num_tokens": 524288.0,
|
| 28 |
+
"step": 8
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"epoch": 0.13714285714285715,
|
| 32 |
+
"grad_norm": 5.2309746742248535,
|
| 33 |
+
"learning_rate": 8.750000000000001e-06,
|
| 34 |
+
"loss": 9.9095,
|
| 35 |
+
"mean_token_accuracy": 0.7237512413412333,
|
| 36 |
+
"num_tokens": 786432.0,
|
| 37 |
+
"step": 12
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.18285714285714286,
|
| 41 |
+
"grad_norm": 4.363022327423096,
|
| 42 |
+
"learning_rate": 8.295454545454547e-06,
|
| 43 |
+
"loss": 9.3507,
|
| 44 |
+
"mean_token_accuracy": 0.7317077834159136,
|
| 45 |
+
"num_tokens": 1048576.0,
|
| 46 |
+
"step": 16
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.22857142857142856,
|
| 50 |
+
"grad_norm": 4.8386616706848145,
|
| 51 |
+
"learning_rate": 7.840909090909091e-06,
|
| 52 |
+
"loss": 8.6437,
|
| 53 |
+
"mean_token_accuracy": 0.7404739372432232,
|
| 54 |
+
"num_tokens": 1310720.0,
|
| 55 |
+
"step": 20
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"epoch": 0.2742857142857143,
|
| 59 |
+
"grad_norm": 4.859585285186768,
|
| 60 |
+
"learning_rate": 7.386363636363637e-06,
|
| 61 |
+
"loss": 7.8244,
|
| 62 |
+
"mean_token_accuracy": 0.7579365894198418,
|
| 63 |
+
"num_tokens": 1572864.0,
|
| 64 |
+
"step": 24
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"epoch": 0.32,
|
| 68 |
+
"grad_norm": 5.170243740081787,
|
| 69 |
+
"learning_rate": 6.931818181818183e-06,
|
| 70 |
+
"loss": 7.1408,
|
| 71 |
+
"mean_token_accuracy": 0.7731606159359217,
|
| 72 |
+
"num_tokens": 1835008.0,
|
| 73 |
+
"step": 28
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.3657142857142857,
|
| 77 |
+
"grad_norm": 4.473582744598389,
|
| 78 |
+
"learning_rate": 6.477272727272727e-06,
|
| 79 |
+
"loss": 7.0147,
|
| 80 |
+
"mean_token_accuracy": 0.7715074121952057,
|
| 81 |
+
"num_tokens": 2097152.0,
|
| 82 |
+
"step": 32
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"epoch": 0.4114285714285714,
|
| 86 |
+
"grad_norm": 4.883391380310059,
|
| 87 |
+
"learning_rate": 6.022727272727273e-06,
|
| 88 |
+
"loss": 6.2369,
|
| 89 |
+
"mean_token_accuracy": 0.7961227279156446,
|
| 90 |
+
"num_tokens": 2359296.0,
|
| 91 |
+
"step": 36
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 0.45714285714285713,
|
| 95 |
+
"grad_norm": 4.0982818603515625,
|
| 96 |
+
"learning_rate": 5.568181818181818e-06,
|
| 97 |
+
"loss": 5.6263,
|
| 98 |
+
"mean_token_accuracy": 0.8100197333842516,
|
| 99 |
+
"num_tokens": 2621440.0,
|
| 100 |
+
"step": 40
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 0.5028571428571429,
|
| 104 |
+
"grad_norm": 5.6680827140808105,
|
| 105 |
+
"learning_rate": 5.113636363636364e-06,
|
| 106 |
+
"loss": 5.526,
|
| 107 |
+
"mean_token_accuracy": 0.8139757830649614,
|
| 108 |
+
"num_tokens": 2883584.0,
|
| 109 |
+
"step": 44
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"epoch": 0.5485714285714286,
|
| 113 |
+
"grad_norm": 4.965151309967041,
|
| 114 |
+
"learning_rate": 4.6590909090909095e-06,
|
| 115 |
+
"loss": 4.5715,
|
| 116 |
+
"mean_token_accuracy": 0.8425043243914843,
|
| 117 |
+
"num_tokens": 3145728.0,
|
| 118 |
+
"step": 48
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"epoch": 0.5942857142857143,
|
| 122 |
+
"grad_norm": 4.398440837860107,
|
| 123 |
+
"learning_rate": 4.204545454545455e-06,
|
| 124 |
+
"loss": 4.5646,
|
| 125 |
+
"mean_token_accuracy": 0.8441276364028454,
|
| 126 |
+
"num_tokens": 3407872.0,
|
| 127 |
+
"step": 52
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"epoch": 0.64,
|
| 131 |
+
"grad_norm": 4.850263595581055,
|
| 132 |
+
"learning_rate": 3.7500000000000005e-06,
|
| 133 |
+
"loss": 4.2065,
|
| 134 |
+
"mean_token_accuracy": 0.8565848618745804,
|
| 135 |
+
"num_tokens": 3670016.0,
|
| 136 |
+
"step": 56
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.6857142857142857,
|
| 140 |
+
"grad_norm": 5.376770973205566,
|
| 141 |
+
"learning_rate": 3.2954545454545456e-06,
|
| 142 |
+
"loss": 3.8085,
|
| 143 |
+
"mean_token_accuracy": 0.8706343658268452,
|
| 144 |
+
"num_tokens": 3932160.0,
|
| 145 |
+
"step": 60
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 0.7314285714285714,
|
| 149 |
+
"grad_norm": 4.992929458618164,
|
| 150 |
+
"learning_rate": 2.8409090909090916e-06,
|
| 151 |
+
"loss": 3.5296,
|
| 152 |
+
"mean_token_accuracy": 0.8793725371360779,
|
| 153 |
+
"num_tokens": 4194304.0,
|
| 154 |
+
"step": 64
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"epoch": 0.7771428571428571,
|
| 158 |
+
"grad_norm": 5.099910736083984,
|
| 159 |
+
"learning_rate": 2.3863636363636367e-06,
|
| 160 |
+
"loss": 3.158,
|
| 161 |
+
"mean_token_accuracy": 0.8912728782743216,
|
| 162 |
+
"num_tokens": 4456448.0,
|
| 163 |
+
"step": 68
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"epoch": 0.8228571428571428,
|
| 167 |
+
"grad_norm": 4.732657432556152,
|
| 168 |
+
"learning_rate": 1.931818181818182e-06,
|
| 169 |
+
"loss": 3.4912,
|
| 170 |
+
"mean_token_accuracy": 0.8802231661975384,
|
| 171 |
+
"num_tokens": 4718592.0,
|
| 172 |
+
"step": 72
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"epoch": 0.8685714285714285,
|
| 176 |
+
"grad_norm": 4.845268726348877,
|
| 177 |
+
"learning_rate": 1.4772727272727275e-06,
|
| 178 |
+
"loss": 3.0872,
|
| 179 |
+
"mean_token_accuracy": 0.8950978331267834,
|
| 180 |
+
"num_tokens": 4980736.0,
|
| 181 |
+
"step": 76
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"epoch": 0.9142857142857143,
|
| 185 |
+
"grad_norm": 4.847484111785889,
|
| 186 |
+
"learning_rate": 1.0227272727272729e-06,
|
| 187 |
+
"loss": 2.8941,
|
| 188 |
+
"mean_token_accuracy": 0.8987292610108852,
|
| 189 |
+
"num_tokens": 5242880.0,
|
| 190 |
+
"step": 80
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"epoch": 0.96,
|
| 194 |
+
"grad_norm": 4.448861122131348,
|
| 195 |
+
"learning_rate": 5.681818181818182e-07,
|
| 196 |
+
"loss": 3.0148,
|
| 197 |
+
"mean_token_accuracy": 0.8966547567397356,
|
| 198 |
+
"num_tokens": 5505024.0,
|
| 199 |
+
"step": 84
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 1.0,
|
| 203 |
+
"grad_norm": 3.111453056335449,
|
| 204 |
+
"learning_rate": 1.1363636363636364e-07,
|
| 205 |
+
"loss": 2.7214,
|
| 206 |
+
"mean_token_accuracy": 0.8931009152105877,
|
| 207 |
+
"num_tokens": 5730304.0,
|
| 208 |
+
"step": 88
|
| 209 |
+
}
|
| 210 |
+
],
|
| 211 |
+
"logging_steps": 4,
|
| 212 |
+
"max_steps": 88,
|
| 213 |
+
"num_input_tokens_seen": 0,
|
| 214 |
+
"num_train_epochs": 1,
|
| 215 |
+
"save_steps": 40,
|
| 216 |
+
"stateful_callbacks": {
|
| 217 |
+
"TrainerControl": {
|
| 218 |
+
"args": {
|
| 219 |
+
"should_epoch_stop": false,
|
| 220 |
+
"should_evaluate": false,
|
| 221 |
+
"should_log": false,
|
| 222 |
+
"should_save": true,
|
| 223 |
+
"should_training_stop": true
|
| 224 |
+
},
|
| 225 |
+
"attributes": {}
|
| 226 |
+
}
|
| 227 |
+
},
|
| 228 |
+
"total_flos": 9.026946939511112e+17,
|
| 229 |
+
"train_batch_size": 2,
|
| 230 |
+
"trial_name": null,
|
| 231 |
+
"trial_params": null
|
| 232 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d39a959b8d797ed916eb031e4f516556ef915d2b1875fc7764d128acbe973700
|
| 3 |
+
size 6161
|