Instructions to use frc00/UniversalMedNER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frc00/UniversalMedNER with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("frc00/UniversalMedNER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 2000, checkpoint
Browse files- checkpoint-2000/README.md +209 -0
- checkpoint-2000/adapter_config.json +48 -0
- checkpoint-2000/adapter_model.safetensors +3 -0
- checkpoint-2000/chat_template.jinja +47 -0
- checkpoint-2000/optimizer.pt +3 -0
- checkpoint-2000/processor_config.json +28 -0
- checkpoint-2000/rng_state.pth +3 -0
- checkpoint-2000/scheduler.pt +3 -0
- checkpoint-2000/tokenizer.json +3 -0
- checkpoint-2000/tokenizer_config.json +26 -0
- checkpoint-2000/trainer_state.json +544 -0
- checkpoint-2000/training_args.bin +3 -0
checkpoint-2000/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: google/medgemma-1.5-4b-it
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:google/medgemma-1.5-4b-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.19.1
|
checkpoint-2000/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "google/medgemma-1.5-4b-it",
|
| 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 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"down_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"o_proj",
|
| 36 |
+
"q_proj",
|
| 37 |
+
"v_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"up_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-2000/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9a3140b6600448f8164add44d0a99083e4531b78d43f88c938070200516b3a2
|
| 3 |
+
size 131250184
|
checkpoint-2000/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 -%}
|
checkpoint-2000/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30e9e59ce5d9e927a3cfeebc18c97abd47ed60a7fb64069b1018b77e258bcd59
|
| 3 |
+
size 238828343
|
checkpoint-2000/processor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Gemma3ImageProcessor",
|
| 13 |
+
"image_seq_length": 256,
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"resample": 2,
|
| 20 |
+
"rescale_factor": 0.00392156862745098,
|
| 21 |
+
"size": {
|
| 22 |
+
"height": 896,
|
| 23 |
+
"width": 896
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"image_seq_length": 256,
|
| 27 |
+
"processor_class": "Gemma3Processor"
|
| 28 |
+
}
|
checkpoint-2000/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38b1d407e20aa6c962f308a3a7464d5113fcb298aae739cfdbae4a929163cb14
|
| 3 |
+
size 14645
|
checkpoint-2000/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7329f48ebc4aca18f34446dab7a52e1edc3bfa1a7e9e26840152d707cc017892
|
| 3 |
+
size 1465
|
checkpoint-2000/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6c776bcef3fcea90b4244ef4dafa43ec828ea9f23a286a5be6bd3c209efe810
|
| 3 |
+
size 33384721
|
checkpoint-2000/tokenizer_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "pil",
|
| 3 |
+
"boi_token": "<start_of_image>",
|
| 4 |
+
"bos_token": "<bos>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eoi_token": "<end_of_image>",
|
| 7 |
+
"eos_token": "<eos>",
|
| 8 |
+
"image_token": "<image_soft_token>",
|
| 9 |
+
"is_local": false,
|
| 10 |
+
"local_files_only": false,
|
| 11 |
+
"mask_token": "<mask>",
|
| 12 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 13 |
+
"model_specific_special_tokens": {
|
| 14 |
+
"boi_token": "<start_of_image>",
|
| 15 |
+
"eoi_token": "<end_of_image>",
|
| 16 |
+
"image_token": "<image_soft_token>"
|
| 17 |
+
},
|
| 18 |
+
"pad_token": "<pad>",
|
| 19 |
+
"padding_side": "left",
|
| 20 |
+
"processor_class": "Gemma3Processor",
|
| 21 |
+
"sp_model_kwargs": null,
|
| 22 |
+
"spaces_between_special_tokens": false,
|
| 23 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 24 |
+
"unk_token": "<unk>",
|
| 25 |
+
"use_default_system_prompt": false
|
| 26 |
+
}
|
checkpoint-2000/trainer_state.json
ADDED
|
@@ -0,0 +1,544 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 2000,
|
| 3 |
+
"best_metric": 0.14112941920757294,
|
| 4 |
+
"best_model_checkpoint": "data/full_sft_run/sft_out/checkpoint-2000",
|
| 5 |
+
"epoch": 0.5845816587504568,
|
| 6 |
+
"eval_steps": 200,
|
| 7 |
+
"global_step": 2000,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 0.20752533283084632,
|
| 14 |
+
"epoch": 0.014614541468761417,
|
| 15 |
+
"grad_norm": 0.7449454069137573,
|
| 16 |
+
"learning_rate": 3.181818181818182e-05,
|
| 17 |
+
"loss": 1.3096963500976562,
|
| 18 |
+
"mean_token_accuracy": 0.8356087231636047,
|
| 19 |
+
"num_tokens": 218234.0,
|
| 20 |
+
"step": 50
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 0.2586296512931585,
|
| 24 |
+
"epoch": 0.029229082937522834,
|
| 25 |
+
"grad_norm": 0.6199880838394165,
|
| 26 |
+
"learning_rate": 6.428571428571429e-05,
|
| 27 |
+
"loss": 0.26672126770019533,
|
| 28 |
+
"mean_token_accuracy": 0.9052031901478768,
|
| 29 |
+
"num_tokens": 434925.0,
|
| 30 |
+
"step": 100
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 0.2025177276879549,
|
| 34 |
+
"epoch": 0.043843624406284254,
|
| 35 |
+
"grad_norm": 0.5352309346199036,
|
| 36 |
+
"learning_rate": 9.675324675324677e-05,
|
| 37 |
+
"loss": 0.20794065475463866,
|
| 38 |
+
"mean_token_accuracy": 0.9208106356859207,
|
| 39 |
+
"num_tokens": 652823.0,
|
| 40 |
+
"step": 150
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 0.18583494622260333,
|
| 44 |
+
"epoch": 0.05845816587504567,
|
| 45 |
+
"grad_norm": 0.4790455996990204,
|
| 46 |
+
"learning_rate": 0.00012922077922077922,
|
| 47 |
+
"loss": 0.19879446029663086,
|
| 48 |
+
"mean_token_accuracy": 0.9228935891389847,
|
| 49 |
+
"num_tokens": 870027.0,
|
| 50 |
+
"step": 200
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.05845816587504567,
|
| 54 |
+
"eval_entropy": 0.20352977880481946,
|
| 55 |
+
"eval_loss": 0.1885823905467987,
|
| 56 |
+
"eval_mean_token_accuracy": 0.9265667232416444,
|
| 57 |
+
"eval_num_tokens": 870027.0,
|
| 58 |
+
"eval_runtime": 51.9934,
|
| 59 |
+
"eval_samples_per_second": 22.657,
|
| 60 |
+
"eval_steps_per_second": 5.674,
|
| 61 |
+
"step": 200
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"entropy": 0.18395513169467448,
|
| 65 |
+
"epoch": 0.0730727073438071,
|
| 66 |
+
"grad_norm": 0.5151433348655701,
|
| 67 |
+
"learning_rate": 0.0001616883116883117,
|
| 68 |
+
"loss": 0.1874466896057129,
|
| 69 |
+
"mean_token_accuracy": 0.9266703170537949,
|
| 70 |
+
"num_tokens": 1086768.0,
|
| 71 |
+
"step": 250
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"entropy": 0.18530432548373937,
|
| 75 |
+
"epoch": 0.08768724881256851,
|
| 76 |
+
"grad_norm": 0.360085666179657,
|
| 77 |
+
"learning_rate": 0.00019415584415584416,
|
| 78 |
+
"loss": 0.18927602767944335,
|
| 79 |
+
"mean_token_accuracy": 0.9263237661123276,
|
| 80 |
+
"num_tokens": 1306053.0,
|
| 81 |
+
"step": 300
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"entropy": 0.18520764522254468,
|
| 85 |
+
"epoch": 0.10230179028132992,
|
| 86 |
+
"grad_norm": 0.32682710886001587,
|
| 87 |
+
"learning_rate": 0.00019917654147419162,
|
| 88 |
+
"loss": 0.19010570526123047,
|
| 89 |
+
"mean_token_accuracy": 0.9269409370422363,
|
| 90 |
+
"num_tokens": 1524650.0,
|
| 91 |
+
"step": 350
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"entropy": 0.17121127102524042,
|
| 95 |
+
"epoch": 0.11691633175009133,
|
| 96 |
+
"grad_norm": 0.33935022354125977,
|
| 97 |
+
"learning_rate": 0.00019817232375979112,
|
| 98 |
+
"loss": 0.17950326919555665,
|
| 99 |
+
"mean_token_accuracy": 0.928639045059681,
|
| 100 |
+
"num_tokens": 1740391.0,
|
| 101 |
+
"step": 400
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.11691633175009133,
|
| 105 |
+
"eval_entropy": 0.15643637586953277,
|
| 106 |
+
"eval_loss": 0.17647278308868408,
|
| 107 |
+
"eval_mean_token_accuracy": 0.9313437746743024,
|
| 108 |
+
"eval_num_tokens": 1740391.0,
|
| 109 |
+
"eval_runtime": 51.4028,
|
| 110 |
+
"eval_samples_per_second": 22.917,
|
| 111 |
+
"eval_steps_per_second": 5.739,
|
| 112 |
+
"step": 400
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"entropy": 0.17545538306236266,
|
| 116 |
+
"epoch": 0.13153087321885276,
|
| 117 |
+
"grad_norm": 0.35228046774864197,
|
| 118 |
+
"learning_rate": 0.00019716810604539066,
|
| 119 |
+
"loss": 0.18172544479370117,
|
| 120 |
+
"mean_token_accuracy": 0.9291265362501144,
|
| 121 |
+
"num_tokens": 1957727.0,
|
| 122 |
+
"step": 450
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"entropy": 0.1679905788227916,
|
| 126 |
+
"epoch": 0.1461454146876142,
|
| 127 |
+
"grad_norm": 0.36982566118240356,
|
| 128 |
+
"learning_rate": 0.0001961638883309902,
|
| 129 |
+
"loss": 0.17352703094482422,
|
| 130 |
+
"mean_token_accuracy": 0.9319902381300926,
|
| 131 |
+
"num_tokens": 2174741.0,
|
| 132 |
+
"step": 500
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"entropy": 0.16595628045499325,
|
| 136 |
+
"epoch": 0.1607599561563756,
|
| 137 |
+
"grad_norm": 0.2658090889453888,
|
| 138 |
+
"learning_rate": 0.0001951596706165897,
|
| 139 |
+
"loss": 0.1694266128540039,
|
| 140 |
+
"mean_token_accuracy": 0.9349100396037102,
|
| 141 |
+
"num_tokens": 2392020.0,
|
| 142 |
+
"step": 550
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"entropy": 0.16491649385541676,
|
| 146 |
+
"epoch": 0.17537449762513702,
|
| 147 |
+
"grad_norm": 0.28709471225738525,
|
| 148 |
+
"learning_rate": 0.0001941554529021892,
|
| 149 |
+
"loss": 0.16749130249023436,
|
| 150 |
+
"mean_token_accuracy": 0.9363178312778473,
|
| 151 |
+
"num_tokens": 2609502.0,
|
| 152 |
+
"step": 600
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"epoch": 0.17537449762513702,
|
| 156 |
+
"eval_entropy": 0.15555994159589379,
|
| 157 |
+
"eval_loss": 0.16351227462291718,
|
| 158 |
+
"eval_mean_token_accuracy": 0.935047954623982,
|
| 159 |
+
"eval_num_tokens": 2609502.0,
|
| 160 |
+
"eval_runtime": 51.7247,
|
| 161 |
+
"eval_samples_per_second": 22.774,
|
| 162 |
+
"eval_steps_per_second": 5.703,
|
| 163 |
+
"step": 600
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"entropy": 0.16599890314042567,
|
| 167 |
+
"epoch": 0.18998903909389842,
|
| 168 |
+
"grad_norm": 0.3486684560775757,
|
| 169 |
+
"learning_rate": 0.00019315123518778873,
|
| 170 |
+
"loss": 0.16908374786376953,
|
| 171 |
+
"mean_token_accuracy": 0.9338638958334923,
|
| 172 |
+
"num_tokens": 2826468.0,
|
| 173 |
+
"step": 650
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"entropy": 0.15440633669495582,
|
| 177 |
+
"epoch": 0.20460358056265984,
|
| 178 |
+
"grad_norm": 0.3269498944282532,
|
| 179 |
+
"learning_rate": 0.00019214701747338823,
|
| 180 |
+
"loss": 0.1564903450012207,
|
| 181 |
+
"mean_token_accuracy": 0.9378401437401771,
|
| 182 |
+
"num_tokens": 3044037.0,
|
| 183 |
+
"step": 700
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"entropy": 0.15702761143445967,
|
| 187 |
+
"epoch": 0.21921812203142127,
|
| 188 |
+
"grad_norm": 0.2996591329574585,
|
| 189 |
+
"learning_rate": 0.00019114279975898776,
|
| 190 |
+
"loss": 0.16098966598510742,
|
| 191 |
+
"mean_token_accuracy": 0.937047846019268,
|
| 192 |
+
"num_tokens": 3260671.0,
|
| 193 |
+
"step": 750
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"entropy": 0.16964259944856167,
|
| 197 |
+
"epoch": 0.23383266350018267,
|
| 198 |
+
"grad_norm": 0.27347952127456665,
|
| 199 |
+
"learning_rate": 0.00019013858204458727,
|
| 200 |
+
"loss": 0.17197874069213867,
|
| 201 |
+
"mean_token_accuracy": 0.9319348493218422,
|
| 202 |
+
"num_tokens": 3479952.0,
|
| 203 |
+
"step": 800
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"epoch": 0.23383266350018267,
|
| 207 |
+
"eval_entropy": 0.15915015558317555,
|
| 208 |
+
"eval_loss": 0.15902064740657806,
|
| 209 |
+
"eval_mean_token_accuracy": 0.9373329009039927,
|
| 210 |
+
"eval_num_tokens": 3479952.0,
|
| 211 |
+
"eval_runtime": 52.0586,
|
| 212 |
+
"eval_samples_per_second": 22.628,
|
| 213 |
+
"eval_steps_per_second": 5.667,
|
| 214 |
+
"step": 800
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"entropy": 0.16319214086979628,
|
| 218 |
+
"epoch": 0.2484472049689441,
|
| 219 |
+
"grad_norm": 0.2520512342453003,
|
| 220 |
+
"learning_rate": 0.0001891343643301868,
|
| 221 |
+
"loss": 0.16472122192382813,
|
| 222 |
+
"mean_token_accuracy": 0.9351362636685372,
|
| 223 |
+
"num_tokens": 3695714.0,
|
| 224 |
+
"step": 850
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"entropy": 0.157652658931911,
|
| 228 |
+
"epoch": 0.2630617464377055,
|
| 229 |
+
"grad_norm": 0.2863970398902893,
|
| 230 |
+
"learning_rate": 0.00018813014661578633,
|
| 231 |
+
"loss": 0.15824624061584472,
|
| 232 |
+
"mean_token_accuracy": 0.9369783601164818,
|
| 233 |
+
"num_tokens": 3913429.0,
|
| 234 |
+
"step": 900
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"entropy": 0.15214558444917203,
|
| 238 |
+
"epoch": 0.2776762879064669,
|
| 239 |
+
"grad_norm": 0.290787935256958,
|
| 240 |
+
"learning_rate": 0.00018712592890138583,
|
| 241 |
+
"loss": 0.15539746284484862,
|
| 242 |
+
"mean_token_accuracy": 0.9397245013713836,
|
| 243 |
+
"num_tokens": 4131640.0,
|
| 244 |
+
"step": 950
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"entropy": 0.15566726494580507,
|
| 248 |
+
"epoch": 0.2922908293752284,
|
| 249 |
+
"grad_norm": 0.3074010908603668,
|
| 250 |
+
"learning_rate": 0.00018612171118698534,
|
| 251 |
+
"loss": 0.15537342071533203,
|
| 252 |
+
"mean_token_accuracy": 0.9387755367159843,
|
| 253 |
+
"num_tokens": 4348832.0,
|
| 254 |
+
"step": 1000
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"epoch": 0.2922908293752284,
|
| 258 |
+
"eval_entropy": 0.1574143134436365,
|
| 259 |
+
"eval_loss": 0.15738964080810547,
|
| 260 |
+
"eval_mean_token_accuracy": 0.9374752864999286,
|
| 261 |
+
"eval_num_tokens": 4348832.0,
|
| 262 |
+
"eval_runtime": 51.5665,
|
| 263 |
+
"eval_samples_per_second": 22.844,
|
| 264 |
+
"eval_steps_per_second": 5.721,
|
| 265 |
+
"step": 1000
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"entropy": 0.1583068972080946,
|
| 269 |
+
"epoch": 0.3069053708439898,
|
| 270 |
+
"grad_norm": 0.3427266776561737,
|
| 271 |
+
"learning_rate": 0.00018511749347258487,
|
| 272 |
+
"loss": 0.15989484786987304,
|
| 273 |
+
"mean_token_accuracy": 0.9373269161581993,
|
| 274 |
+
"num_tokens": 4565702.0,
|
| 275 |
+
"step": 1050
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"entropy": 0.1511041523516178,
|
| 279 |
+
"epoch": 0.3215199123127512,
|
| 280 |
+
"grad_norm": 0.32759514451026917,
|
| 281 |
+
"learning_rate": 0.00018411327575818437,
|
| 282 |
+
"loss": 0.15331138610839845,
|
| 283 |
+
"mean_token_accuracy": 0.9397411552071572,
|
| 284 |
+
"num_tokens": 4784167.0,
|
| 285 |
+
"step": 1100
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"entropy": 0.14996831517666578,
|
| 289 |
+
"epoch": 0.33613445378151263,
|
| 290 |
+
"grad_norm": 0.30234530568122864,
|
| 291 |
+
"learning_rate": 0.0001831090580437839,
|
| 292 |
+
"loss": 0.1544932556152344,
|
| 293 |
+
"mean_token_accuracy": 0.9399288591742515,
|
| 294 |
+
"num_tokens": 4999793.0,
|
| 295 |
+
"step": 1150
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"entropy": 0.15582640528678893,
|
| 299 |
+
"epoch": 0.35074899525027403,
|
| 300 |
+
"grad_norm": 0.24690158665180206,
|
| 301 |
+
"learning_rate": 0.0001821048403293834,
|
| 302 |
+
"loss": 0.15442598342895508,
|
| 303 |
+
"mean_token_accuracy": 0.9398289120197296,
|
| 304 |
+
"num_tokens": 5217954.0,
|
| 305 |
+
"step": 1200
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 0.35074899525027403,
|
| 309 |
+
"eval_entropy": 0.1420629285275936,
|
| 310 |
+
"eval_loss": 0.14971356093883514,
|
| 311 |
+
"eval_mean_token_accuracy": 0.9414400791717787,
|
| 312 |
+
"eval_num_tokens": 5217954.0,
|
| 313 |
+
"eval_runtime": 51.4751,
|
| 314 |
+
"eval_samples_per_second": 22.885,
|
| 315 |
+
"eval_steps_per_second": 5.731,
|
| 316 |
+
"step": 1200
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"entropy": 0.1543054273724556,
|
| 320 |
+
"epoch": 0.36536353671903543,
|
| 321 |
+
"grad_norm": 0.29708531498908997,
|
| 322 |
+
"learning_rate": 0.00018110062261498294,
|
| 323 |
+
"loss": 0.1537049388885498,
|
| 324 |
+
"mean_token_accuracy": 0.9416613772511482,
|
| 325 |
+
"num_tokens": 5434380.0,
|
| 326 |
+
"step": 1250
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"entropy": 0.14713672876358033,
|
| 330 |
+
"epoch": 0.37997807818779683,
|
| 331 |
+
"grad_norm": 0.2888696789741516,
|
| 332 |
+
"learning_rate": 0.00018009640490058247,
|
| 333 |
+
"loss": 0.15287999153137208,
|
| 334 |
+
"mean_token_accuracy": 0.9416247588396073,
|
| 335 |
+
"num_tokens": 5651784.0,
|
| 336 |
+
"step": 1300
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"entropy": 0.14809815444052218,
|
| 340 |
+
"epoch": 0.3945926196565583,
|
| 341 |
+
"grad_norm": 0.25226420164108276,
|
| 342 |
+
"learning_rate": 0.00017909218718618197,
|
| 343 |
+
"loss": 0.15003498077392577,
|
| 344 |
+
"mean_token_accuracy": 0.9424466270208359,
|
| 345 |
+
"num_tokens": 5870443.0,
|
| 346 |
+
"step": 1350
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"entropy": 0.15500445548444985,
|
| 350 |
+
"epoch": 0.4092071611253197,
|
| 351 |
+
"grad_norm": 0.2410505712032318,
|
| 352 |
+
"learning_rate": 0.0001780879694717815,
|
| 353 |
+
"loss": 0.15515862464904784,
|
| 354 |
+
"mean_token_accuracy": 0.9403725653886795,
|
| 355 |
+
"num_tokens": 6086417.0,
|
| 356 |
+
"step": 1400
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"epoch": 0.4092071611253197,
|
| 360 |
+
"eval_entropy": 0.13966038472066492,
|
| 361 |
+
"eval_loss": 0.1482466757297516,
|
| 362 |
+
"eval_mean_token_accuracy": 0.9430661270173929,
|
| 363 |
+
"eval_num_tokens": 6086417.0,
|
| 364 |
+
"eval_runtime": 51.3223,
|
| 365 |
+
"eval_samples_per_second": 22.953,
|
| 366 |
+
"eval_steps_per_second": 5.748,
|
| 367 |
+
"step": 1400
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"entropy": 0.14597053304314614,
|
| 371 |
+
"epoch": 0.4238217025940811,
|
| 372 |
+
"grad_norm": 0.2526480257511139,
|
| 373 |
+
"learning_rate": 0.000177083751757381,
|
| 374 |
+
"loss": 0.1495055389404297,
|
| 375 |
+
"mean_token_accuracy": 0.9429304957389831,
|
| 376 |
+
"num_tokens": 6304323.0,
|
| 377 |
+
"step": 1450
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"entropy": 0.1473805220425129,
|
| 381 |
+
"epoch": 0.43843624406284254,
|
| 382 |
+
"grad_norm": 0.27721503376960754,
|
| 383 |
+
"learning_rate": 0.0001760795340429805,
|
| 384 |
+
"loss": 0.14802109718322753,
|
| 385 |
+
"mean_token_accuracy": 0.9423278120160102,
|
| 386 |
+
"num_tokens": 6521073.0,
|
| 387 |
+
"step": 1500
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"entropy": 0.15090686846524476,
|
| 391 |
+
"epoch": 0.45305078553160394,
|
| 392 |
+
"grad_norm": 0.3168330192565918,
|
| 393 |
+
"learning_rate": 0.00017507531632858004,
|
| 394 |
+
"loss": 0.1520420265197754,
|
| 395 |
+
"mean_token_accuracy": 0.9409908491373062,
|
| 396 |
+
"num_tokens": 6738178.0,
|
| 397 |
+
"step": 1550
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"entropy": 0.14193191647529602,
|
| 401 |
+
"epoch": 0.46766532700036534,
|
| 402 |
+
"grad_norm": 0.28218454122543335,
|
| 403 |
+
"learning_rate": 0.00017407109861417957,
|
| 404 |
+
"loss": 0.1442671012878418,
|
| 405 |
+
"mean_token_accuracy": 0.944555883705616,
|
| 406 |
+
"num_tokens": 6955413.0,
|
| 407 |
+
"step": 1600
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"epoch": 0.46766532700036534,
|
| 411 |
+
"eval_entropy": 0.14087487072762797,
|
| 412 |
+
"eval_loss": 0.14355963468551636,
|
| 413 |
+
"eval_mean_token_accuracy": 0.943681773694895,
|
| 414 |
+
"eval_num_tokens": 6955413.0,
|
| 415 |
+
"eval_runtime": 52.1208,
|
| 416 |
+
"eval_samples_per_second": 22.601,
|
| 417 |
+
"eval_steps_per_second": 5.66,
|
| 418 |
+
"step": 1600
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"entropy": 0.1416533422470093,
|
| 422 |
+
"epoch": 0.4822798684691268,
|
| 423 |
+
"grad_norm": 0.28569167852401733,
|
| 424 |
+
"learning_rate": 0.00017306688089977908,
|
| 425 |
+
"loss": 0.146381254196167,
|
| 426 |
+
"mean_token_accuracy": 0.9433900326490402,
|
| 427 |
+
"num_tokens": 7171960.0,
|
| 428 |
+
"step": 1650
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"entropy": 0.14460256807506083,
|
| 432 |
+
"epoch": 0.4968944099378882,
|
| 433 |
+
"grad_norm": 0.298966646194458,
|
| 434 |
+
"learning_rate": 0.0001720626631853786,
|
| 435 |
+
"loss": 0.14527856826782226,
|
| 436 |
+
"mean_token_accuracy": 0.9446076577901841,
|
| 437 |
+
"num_tokens": 7387948.0,
|
| 438 |
+
"step": 1700
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"entropy": 0.14507481291890145,
|
| 442 |
+
"epoch": 0.5115089514066496,
|
| 443 |
+
"grad_norm": 0.32264840602874756,
|
| 444 |
+
"learning_rate": 0.0001710584454709781,
|
| 445 |
+
"loss": 0.14816983222961425,
|
| 446 |
+
"mean_token_accuracy": 0.9431060332059861,
|
| 447 |
+
"num_tokens": 7605190.0,
|
| 448 |
+
"step": 1750
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"entropy": 0.1457299491018057,
|
| 452 |
+
"epoch": 0.526123492875411,
|
| 453 |
+
"grad_norm": 0.23384633660316467,
|
| 454 |
+
"learning_rate": 0.00017005422775657764,
|
| 455 |
+
"loss": 0.14449834823608398,
|
| 456 |
+
"mean_token_accuracy": 0.9444263905286789,
|
| 457 |
+
"num_tokens": 7822465.0,
|
| 458 |
+
"step": 1800
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 0.526123492875411,
|
| 462 |
+
"eval_entropy": 0.13727282429650678,
|
| 463 |
+
"eval_loss": 0.14151474833488464,
|
| 464 |
+
"eval_mean_token_accuracy": 0.9445956945419312,
|
| 465 |
+
"eval_num_tokens": 7822465.0,
|
| 466 |
+
"eval_runtime": 51.7253,
|
| 467 |
+
"eval_samples_per_second": 22.774,
|
| 468 |
+
"eval_steps_per_second": 5.703,
|
| 469 |
+
"step": 1800
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"entropy": 0.13303045216947795,
|
| 473 |
+
"epoch": 0.5407380343441724,
|
| 474 |
+
"grad_norm": 0.24926069378852844,
|
| 475 |
+
"learning_rate": 0.00016905001004217715,
|
| 476 |
+
"loss": 0.1377289867401123,
|
| 477 |
+
"mean_token_accuracy": 0.9460858461260796,
|
| 478 |
+
"num_tokens": 8039013.0,
|
| 479 |
+
"step": 1850
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"entropy": 0.14333279909566043,
|
| 483 |
+
"epoch": 0.5553525758129338,
|
| 484 |
+
"grad_norm": 0.23103737831115723,
|
| 485 |
+
"learning_rate": 0.00016804579232777665,
|
| 486 |
+
"loss": 0.14504934310913087,
|
| 487 |
+
"mean_token_accuracy": 0.9442342269420624,
|
| 488 |
+
"num_tokens": 8255914.0,
|
| 489 |
+
"step": 1900
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"entropy": 0.14443909596651794,
|
| 493 |
+
"epoch": 0.5699671172816952,
|
| 494 |
+
"grad_norm": 0.3567982017993927,
|
| 495 |
+
"learning_rate": 0.00016704157461337618,
|
| 496 |
+
"loss": 0.14560423851013182,
|
| 497 |
+
"mean_token_accuracy": 0.9445012074708938,
|
| 498 |
+
"num_tokens": 8473895.0,
|
| 499 |
+
"step": 1950
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"entropy": 0.1381967855617404,
|
| 503 |
+
"epoch": 0.5845816587504568,
|
| 504 |
+
"grad_norm": 0.32823431491851807,
|
| 505 |
+
"learning_rate": 0.00016603735689897571,
|
| 506 |
+
"loss": 0.1393825626373291,
|
| 507 |
+
"mean_token_accuracy": 0.9458042901754379,
|
| 508 |
+
"num_tokens": 8690259.0,
|
| 509 |
+
"step": 2000
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"epoch": 0.5845816587504568,
|
| 513 |
+
"eval_entropy": 0.12425902821755005,
|
| 514 |
+
"eval_loss": 0.14112941920757294,
|
| 515 |
+
"eval_mean_token_accuracy": 0.9466315289675179,
|
| 516 |
+
"eval_num_tokens": 8690259.0,
|
| 517 |
+
"eval_runtime": 51.7824,
|
| 518 |
+
"eval_samples_per_second": 22.749,
|
| 519 |
+
"eval_steps_per_second": 5.697,
|
| 520 |
+
"step": 2000
|
| 521 |
+
}
|
| 522 |
+
],
|
| 523 |
+
"logging_steps": 50,
|
| 524 |
+
"max_steps": 10266,
|
| 525 |
+
"num_input_tokens_seen": 0,
|
| 526 |
+
"num_train_epochs": 3,
|
| 527 |
+
"save_steps": 200,
|
| 528 |
+
"stateful_callbacks": {
|
| 529 |
+
"TrainerControl": {
|
| 530 |
+
"args": {
|
| 531 |
+
"should_epoch_stop": false,
|
| 532 |
+
"should_evaluate": false,
|
| 533 |
+
"should_log": false,
|
| 534 |
+
"should_save": true,
|
| 535 |
+
"should_training_stop": false
|
| 536 |
+
},
|
| 537 |
+
"attributes": {}
|
| 538 |
+
}
|
| 539 |
+
},
|
| 540 |
+
"total_flos": 2.153002426376256e+17,
|
| 541 |
+
"train_batch_size": 4,
|
| 542 |
+
"trial_name": null,
|
| 543 |
+
"trial_params": null
|
| 544 |
+
}
|
checkpoint-2000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a62e955b4a049523c45a1102ae6e2f9b52bf056eeb0fc0b8d413459417f3ac39
|
| 3 |
+
size 5841
|