Instructions to use mic7ch/manchu-ocr-pixtral-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mic7ch/manchu-ocr-pixtral-final with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use mic7ch/manchu-ocr-pixtral-final with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mic7ch/manchu-ocr-pixtral-final to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mic7ch/manchu-ocr-pixtral-final to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mic7ch/manchu-ocr-pixtral-final to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="mic7ch/manchu-ocr-pixtral-final", max_seq_length=2048, )
Upload checkpoint-4000
Browse files- .gitattributes +1 -0
- checkpoints/checkpoint-4000/README.md +210 -0
- checkpoints/checkpoint-4000/adapter_config.json +50 -0
- checkpoints/checkpoint-4000/adapter_model.safetensors +3 -0
- checkpoints/checkpoint-4000/chat_template.jinja +38 -0
- checkpoints/checkpoint-4000/processor_config.json +34 -0
- checkpoints/checkpoint-4000/tokenizer.json +3 -0
- checkpoints/checkpoint-4000/tokenizer_config.json +13 -0
- checkpoints/checkpoint-4000/trainer_state.json +314 -0
- checkpoints/checkpoint-4000/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -38,3 +38,4 @@ checkpoints/checkpoint-2000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
| 38 |
checkpoints/checkpoint-2500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
checkpoints/checkpoint-3000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
checkpoints/checkpoint-3500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 38 |
checkpoints/checkpoint-2500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
checkpoints/checkpoint-3000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
checkpoints/checkpoint-3500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
checkpoints/checkpoint-4000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
checkpoints/checkpoint-4000/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/pixtral-12b-2409-unsloth-bnb-4bit
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:unsloth/pixtral-12b-2409-unsloth-bnb-4bit
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
- unsloth
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- 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. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
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).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.18.1
|
checkpoints/checkpoint-4000/adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "LlavaForConditionalGeneration",
|
| 7 |
+
"parent_library": "transformers.models.llava.modeling_llava",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/pixtral-12b-2409-unsloth-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 64,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0.05,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": null,
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"peft_version": "0.18.1",
|
| 31 |
+
"qalora_group_size": 16,
|
| 32 |
+
"r": 32,
|
| 33 |
+
"rank_pattern": {},
|
| 34 |
+
"revision": null,
|
| 35 |
+
"target_modules": [
|
| 36 |
+
"o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"down_proj",
|
| 39 |
+
"up_proj",
|
| 40 |
+
"v_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"k_proj"
|
| 43 |
+
],
|
| 44 |
+
"target_parameters": null,
|
| 45 |
+
"task_type": "CAUSAL_LM",
|
| 46 |
+
"trainable_token_indices": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false
|
| 50 |
+
}
|
checkpoints/checkpoint-4000/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce045a4814957e266384a514888f47b8563ec929572330563d3cf597a4f3d0d8
|
| 3 |
+
size 528621360
|
checkpoints/checkpoint-4000/chat_template.jinja
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 2 |
+
{%- set system_message = messages[0]['content'] %}
|
| 3 |
+
{%- set loop_messages = messages[1:] %}
|
| 4 |
+
{%- else %}
|
| 5 |
+
{%- set loop_messages = messages %}
|
| 6 |
+
{%- endif %}
|
| 7 |
+
|
| 8 |
+
{{- bos_token }}
|
| 9 |
+
{%- for message in loop_messages %}
|
| 10 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}
|
| 11 |
+
{{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{%- if message['role'] == 'user' %}
|
| 14 |
+
{%- if loop.last and system_message is defined %}
|
| 15 |
+
{{- '[INST]' + system_message + '\n\n' }}
|
| 16 |
+
{%- else %}
|
| 17 |
+
{{- '[INST]' }}
|
| 18 |
+
{%- endif %}
|
| 19 |
+
{%- if message['content'] is not string %}
|
| 20 |
+
{%- for chunk in message['content'] %}
|
| 21 |
+
{%- if chunk['type'] == 'text' %}
|
| 22 |
+
{{- chunk['text'] }}
|
| 23 |
+
{%- elif chunk['type'] == 'image' %}
|
| 24 |
+
{{- '[IMG]' }}
|
| 25 |
+
{%- else %}
|
| 26 |
+
{{- raise_exception('Unrecognized content type!') }}
|
| 27 |
+
{%- endif %}
|
| 28 |
+
{%- endfor %}
|
| 29 |
+
{%- else %}
|
| 30 |
+
{{- message['content'] }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{{- '[/INST]' }}
|
| 33 |
+
{%- elif message['role'] == 'assistant' %}
|
| 34 |
+
{{- message['content'][0]['text'] + eos_token}}
|
| 35 |
+
{%- else %}
|
| 36 |
+
{{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{%- endfor %}
|
checkpoints/checkpoint-4000/processor_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_break_token": "[IMG_BREAK]",
|
| 3 |
+
"image_end_token": "[IMG_END]",
|
| 4 |
+
"image_processor": {
|
| 5 |
+
"do_convert_rgb": true,
|
| 6 |
+
"do_normalize": true,
|
| 7 |
+
"do_rescale": true,
|
| 8 |
+
"do_resize": true,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.48145466,
|
| 11 |
+
0.4578275,
|
| 12 |
+
0.40821073
|
| 13 |
+
],
|
| 14 |
+
"image_processor_type": "PixtralImageProcessor",
|
| 15 |
+
"image_std": [
|
| 16 |
+
0.26862954,
|
| 17 |
+
0.26130258,
|
| 18 |
+
0.27577711
|
| 19 |
+
],
|
| 20 |
+
"patch_size": {
|
| 21 |
+
"height": 16,
|
| 22 |
+
"width": 16
|
| 23 |
+
},
|
| 24 |
+
"resample": 3,
|
| 25 |
+
"rescale_factor": 0.00392156862745098,
|
| 26 |
+
"size": {
|
| 27 |
+
"longest_edge": 1024
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"image_token": "[IMG]",
|
| 31 |
+
"patch_size": 16,
|
| 32 |
+
"processor_class": "PixtralProcessor",
|
| 33 |
+
"spatial_merge_size": 1
|
| 34 |
+
}
|
checkpoints/checkpoint-4000/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84f33e6f52b2833e8cc17229af8eea363f640a898f19a48184a2c7f6f5a88337
|
| 3 |
+
size 17077329
|
checkpoints/checkpoint-4000/tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<s>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "</s>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"pad_token": "<pad>",
|
| 9 |
+
"padding_side": "right",
|
| 10 |
+
"processor_class": "PixtralProcessor",
|
| 11 |
+
"tokenizer_class": "TokenizersBackend",
|
| 12 |
+
"unk_token": "<unk>"
|
| 13 |
+
}
|
checkpoints/checkpoint-4000/trainer_state.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.1496062992125986,
|
| 6 |
+
"eval_steps": 1000,
|
| 7 |
+
"global_step": 4000,
|
| 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.07874015748031496,
|
| 14 |
+
"grad_norm": 0.05507330223917961,
|
| 15 |
+
"learning_rate": 9.900000000000002e-06,
|
| 16 |
+
"loss": 0.166127986907959,
|
| 17 |
+
"step": 100
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.15748031496062992,
|
| 21 |
+
"grad_norm": 0.008706409484148026,
|
| 22 |
+
"learning_rate": 1.9900000000000003e-05,
|
| 23 |
+
"loss": 0.15728297233581542,
|
| 24 |
+
"step": 200
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.23622047244094488,
|
| 28 |
+
"grad_norm": 0.017581533640623093,
|
| 29 |
+
"learning_rate": 2.9900000000000002e-05,
|
| 30 |
+
"loss": 0.1553855800628662,
|
| 31 |
+
"step": 300
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.31496062992125984,
|
| 35 |
+
"grad_norm": 0.004112571943551302,
|
| 36 |
+
"learning_rate": 3.99e-05,
|
| 37 |
+
"loss": 0.155762243270874,
|
| 38 |
+
"step": 400
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.3937007874015748,
|
| 42 |
+
"grad_norm": 0.04493516683578491,
|
| 43 |
+
"learning_rate": 4.99e-05,
|
| 44 |
+
"loss": 0.1555478858947754,
|
| 45 |
+
"step": 500
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.47244094488188976,
|
| 49 |
+
"grad_norm": 0.004779973067343235,
|
| 50 |
+
"learning_rate": 5.99e-05,
|
| 51 |
+
"loss": 0.1550559425354004,
|
| 52 |
+
"step": 600
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.5511811023622047,
|
| 56 |
+
"grad_norm": 0.0025445641949772835,
|
| 57 |
+
"learning_rate": 6.99e-05,
|
| 58 |
+
"loss": 0.15553024291992187,
|
| 59 |
+
"step": 700
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.6299212598425197,
|
| 63 |
+
"grad_norm": 0.03906739875674248,
|
| 64 |
+
"learning_rate": 7.99e-05,
|
| 65 |
+
"loss": 0.15486507415771483,
|
| 66 |
+
"step": 800
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.7086614173228346,
|
| 70 |
+
"grad_norm": 0.02913462556898594,
|
| 71 |
+
"learning_rate": 8.99e-05,
|
| 72 |
+
"loss": 0.16174968719482422,
|
| 73 |
+
"step": 900
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.7874015748031497,
|
| 77 |
+
"grad_norm": 0.012543833814561367,
|
| 78 |
+
"learning_rate": 9.99e-05,
|
| 79 |
+
"loss": 0.1572517204284668,
|
| 80 |
+
"step": 1000
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.8661417322834646,
|
| 84 |
+
"grad_norm": 0.01454182993620634,
|
| 85 |
+
"learning_rate": 9.991553432350282e-05,
|
| 86 |
+
"loss": 0.15745045661926269,
|
| 87 |
+
"step": 1100
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.9448818897637795,
|
| 91 |
+
"grad_norm": 0.0023696678690612316,
|
| 92 |
+
"learning_rate": 9.965900808011088e-05,
|
| 93 |
+
"loss": 0.15643728256225586,
|
| 94 |
+
"step": 1200
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 1.0236220472440944,
|
| 98 |
+
"grad_norm": 0.025821439921855927,
|
| 99 |
+
"learning_rate": 9.9231296948433e-05,
|
| 100 |
+
"loss": 0.1554923439025879,
|
| 101 |
+
"step": 1300
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 1.1023622047244095,
|
| 105 |
+
"grad_norm": 0.04556797072291374,
|
| 106 |
+
"learning_rate": 9.863387533734539e-05,
|
| 107 |
+
"loss": 0.15434089660644532,
|
| 108 |
+
"step": 1400
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 1.1811023622047245,
|
| 112 |
+
"grad_norm": 0.04990844428539276,
|
| 113 |
+
"learning_rate": 9.786880268290417e-05,
|
| 114 |
+
"loss": 0.15648181915283202,
|
| 115 |
+
"step": 1500
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 1.2598425196850394,
|
| 119 |
+
"grad_norm": 0.006857115309685469,
|
| 120 |
+
"learning_rate": 9.693871634904281e-05,
|
| 121 |
+
"loss": 0.15545827865600587,
|
| 122 |
+
"step": 1600
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 1.3385826771653544,
|
| 126 |
+
"grad_norm": 0.0028322746511548758,
|
| 127 |
+
"learning_rate": 9.584682253603221e-05,
|
| 128 |
+
"loss": 0.1543470287322998,
|
| 129 |
+
"step": 1700
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.4173228346456692,
|
| 133 |
+
"grad_norm": 0.19367800652980804,
|
| 134 |
+
"learning_rate": 9.459688522804413e-05,
|
| 135 |
+
"loss": 0.15462760925292968,
|
| 136 |
+
"step": 1800
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.4960629921259843,
|
| 140 |
+
"grad_norm": 0.008687643334269524,
|
| 141 |
+
"learning_rate": 9.31932132179181e-05,
|
| 142 |
+
"loss": 0.15522689819335939,
|
| 143 |
+
"step": 1900
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 1.574803149606299,
|
| 147 |
+
"grad_norm": 0.0021422242280095816,
|
| 148 |
+
"learning_rate": 9.164064525385975e-05,
|
| 149 |
+
"loss": 0.15503698348999023,
|
| 150 |
+
"step": 2000
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 1.6535433070866141,
|
| 154 |
+
"grad_norm": 0.04556899890303612,
|
| 155 |
+
"learning_rate": 8.994453335927354e-05,
|
| 156 |
+
"loss": 0.15466382026672362,
|
| 157 |
+
"step": 2100
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 1.7322834645669292,
|
| 161 |
+
"grad_norm": 0.0013071871362626553,
|
| 162 |
+
"learning_rate": 8.811072438322911e-05,
|
| 163 |
+
"loss": 0.15389209747314453,
|
| 164 |
+
"step": 2200
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 1.811023622047244,
|
| 168 |
+
"grad_norm": 0.10087304562330246,
|
| 169 |
+
"learning_rate": 8.614553984516152e-05,
|
| 170 |
+
"loss": 0.1543412208557129,
|
| 171 |
+
"step": 2300
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 1.889763779527559,
|
| 175 |
+
"grad_norm": 0.004201154690235853,
|
| 176 |
+
"learning_rate": 8.405575414328399e-05,
|
| 177 |
+
"loss": 0.15336153984069825,
|
| 178 |
+
"step": 2400
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 1.968503937007874,
|
| 182 |
+
"grad_norm": 0.007316004950553179,
|
| 183 |
+
"learning_rate": 8.184857120183401e-05,
|
| 184 |
+
"loss": 0.15410717010498046,
|
| 185 |
+
"step": 2500
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 2.047244094488189,
|
| 189 |
+
"grad_norm": 0.0018114798003807664,
|
| 190 |
+
"learning_rate": 7.953159963765406e-05,
|
| 191 |
+
"loss": 0.15383917808532716,
|
| 192 |
+
"step": 2600
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 2.1259842519685037,
|
| 196 |
+
"grad_norm": 0.018307369202375412,
|
| 197 |
+
"learning_rate": 7.711282653171312e-05,
|
| 198 |
+
"loss": 0.15257465362548828,
|
| 199 |
+
"step": 2700
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 2.204724409448819,
|
| 203 |
+
"grad_norm": 0.006079078186303377,
|
| 204 |
+
"learning_rate": 7.460058989598401e-05,
|
| 205 |
+
"loss": 0.15322593688964845,
|
| 206 |
+
"step": 2800
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 2.283464566929134,
|
| 210 |
+
"grad_norm": 0.031053705140948296,
|
| 211 |
+
"learning_rate": 7.200354993058876e-05,
|
| 212 |
+
"loss": 0.1529918670654297,
|
| 213 |
+
"step": 2900
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 2.362204724409449,
|
| 217 |
+
"grad_norm": 0.014423035085201263,
|
| 218 |
+
"learning_rate": 6.933065917029473e-05,
|
| 219 |
+
"loss": 0.15332060813903808,
|
| 220 |
+
"step": 3000
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 2.440944881889764,
|
| 224 |
+
"grad_norm": 0.011503088288009167,
|
| 225 |
+
"learning_rate": 6.659113162327264e-05,
|
| 226 |
+
"loss": 0.15312715530395507,
|
| 227 |
+
"step": 3100
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 2.5196850393700787,
|
| 231 |
+
"grad_norm": 0.0077222236432135105,
|
| 232 |
+
"learning_rate": 6.379441100850171e-05,
|
| 233 |
+
"loss": 0.1527255630493164,
|
| 234 |
+
"step": 3200
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 2.5984251968503935,
|
| 238 |
+
"grad_norm": 0.0016469687689095736,
|
| 239 |
+
"learning_rate": 6.095013820131382e-05,
|
| 240 |
+
"loss": 0.15350957870483398,
|
| 241 |
+
"step": 3300
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 2.677165354330709,
|
| 245 |
+
"grad_norm": 0.0019288088660687208,
|
| 246 |
+
"learning_rate": 5.8068117999299134e-05,
|
| 247 |
+
"loss": 0.15306456565856932,
|
| 248 |
+
"step": 3400
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 2.7559055118110236,
|
| 252 |
+
"grad_norm": 0.00467046769335866,
|
| 253 |
+
"learning_rate": 5.515828532313756e-05,
|
| 254 |
+
"loss": 0.1530474281311035,
|
| 255 |
+
"step": 3500
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 2.8346456692913384,
|
| 259 |
+
"grad_norm": 0.0007864160579629242,
|
| 260 |
+
"learning_rate": 5.22306709688691e-05,
|
| 261 |
+
"loss": 0.15343090057373046,
|
| 262 |
+
"step": 3600
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 2.9133858267716537,
|
| 266 |
+
"grad_norm": 0.000985587714239955,
|
| 267 |
+
"learning_rate": 4.929536702966183e-05,
|
| 268 |
+
"loss": 0.15314886093139649,
|
| 269 |
+
"step": 3700
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 2.9921259842519685,
|
| 273 |
+
"grad_norm": 0.005071382503956556,
|
| 274 |
+
"learning_rate": 4.636249210627616e-05,
|
| 275 |
+
"loss": 0.1534656047821045,
|
| 276 |
+
"step": 3800
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 3.0708661417322833,
|
| 280 |
+
"grad_norm": 0.0019745775498449802,
|
| 281 |
+
"learning_rate": 4.344215642615166e-05,
|
| 282 |
+
"loss": 0.1520760440826416,
|
| 283 |
+
"step": 3900
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 3.1496062992125986,
|
| 287 |
+
"grad_norm": 0.0005789928254671395,
|
| 288 |
+
"learning_rate": 4.054442699135883e-05,
|
| 289 |
+
"loss": 0.1525840950012207,
|
| 290 |
+
"step": 4000
|
| 291 |
+
}
|
| 292 |
+
],
|
| 293 |
+
"logging_steps": 100,
|
| 294 |
+
"max_steps": 6350,
|
| 295 |
+
"num_input_tokens_seen": 0,
|
| 296 |
+
"num_train_epochs": 5,
|
| 297 |
+
"save_steps": 500,
|
| 298 |
+
"stateful_callbacks": {
|
| 299 |
+
"TrainerControl": {
|
| 300 |
+
"args": {
|
| 301 |
+
"should_epoch_stop": false,
|
| 302 |
+
"should_evaluate": false,
|
| 303 |
+
"should_log": false,
|
| 304 |
+
"should_save": true,
|
| 305 |
+
"should_training_stop": false
|
| 306 |
+
},
|
| 307 |
+
"attributes": {}
|
| 308 |
+
}
|
| 309 |
+
},
|
| 310 |
+
"total_flos": 1.041966502745473e+18,
|
| 311 |
+
"train_batch_size": 4,
|
| 312 |
+
"trial_name": null,
|
| 313 |
+
"trial_params": null
|
| 314 |
+
}
|
checkpoints/checkpoint-4000/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:279d2fc6d728eea98c509c97349451eab882bc458eceabbf3a23536fc7ab226a
|
| 3 |
+
size 5841
|