Upload folder using huggingface_hub
Browse files- README.md +202 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- additional_config.json +1 -0
- args.json +311 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-VL-7B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- 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. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
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).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.14.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-VL-7B-Instruct",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
+
"exclude_modules": null,
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layer_replication": null,
|
| 12 |
+
"layers_pattern": null,
|
| 13 |
+
"layers_to_transform": null,
|
| 14 |
+
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 32,
|
| 16 |
+
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.05,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": [],
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 8,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": "(?!^(visual.merger))^(model)(?!.*(lora_A|lora_B|base_layer|emb|wte|shared|lm_head|output|score|v_head|classifier)).*",
|
| 26 |
+
"task_type": "CAUSAL_LM",
|
| 27 |
+
"use_dora": false,
|
| 28 |
+
"use_rslora": false
|
| 29 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:797ccad4e206920160d114641c4a8954445a3c01ce0879ceaaa16feb675b58c6
|
| 3 |
+
size 80792096
|
additional_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
|
args.json
ADDED
|
@@ -0,0 +1,311 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "Qwen/Qwen2.5-VL-7B-Instruct",
|
| 3 |
+
"model_type": "qwen2_5_vl",
|
| 4 |
+
"model_revision": null,
|
| 5 |
+
"task_type": "causal_lm",
|
| 6 |
+
"torch_dtype": "bfloat16",
|
| 7 |
+
"attn_impl": null,
|
| 8 |
+
"num_labels": null,
|
| 9 |
+
"rope_scaling": null,
|
| 10 |
+
"device_map": null,
|
| 11 |
+
"local_repo_path": null,
|
| 12 |
+
"template": "qwen2_5_vl",
|
| 13 |
+
"system": null,
|
| 14 |
+
"max_length": null,
|
| 15 |
+
"truncation_strategy": "delete",
|
| 16 |
+
"max_pixels": null,
|
| 17 |
+
"tools_prompt": "react_en",
|
| 18 |
+
"norm_bbox": null,
|
| 19 |
+
"padding_side": "right",
|
| 20 |
+
"loss_scale": "default",
|
| 21 |
+
"sequence_parallel_size": 1,
|
| 22 |
+
"use_chat_template": true,
|
| 23 |
+
"template_backend": "swift",
|
| 24 |
+
"dataset": [
|
| 25 |
+
"/home/sushant/D1/MIUA/kvasir-format/kvasir_valid-qwen.jsonl"
|
| 26 |
+
],
|
| 27 |
+
"val_dataset": [],
|
| 28 |
+
"split_dataset_ratio": 0.01,
|
| 29 |
+
"data_seed": 42,
|
| 30 |
+
"dataset_num_proc": 1,
|
| 31 |
+
"streaming": false,
|
| 32 |
+
"enable_cache": false,
|
| 33 |
+
"download_mode": "reuse_dataset_if_exists",
|
| 34 |
+
"columns": {},
|
| 35 |
+
"strict": false,
|
| 36 |
+
"model_name": [
|
| 37 |
+
null,
|
| 38 |
+
null
|
| 39 |
+
],
|
| 40 |
+
"model_author": [
|
| 41 |
+
null,
|
| 42 |
+
null
|
| 43 |
+
],
|
| 44 |
+
"custom_dataset_info": [],
|
| 45 |
+
"quant_method": null,
|
| 46 |
+
"quant_bits": null,
|
| 47 |
+
"hqq_axis": null,
|
| 48 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 49 |
+
"bnb_4bit_quant_type": "nf4",
|
| 50 |
+
"bnb_4bit_use_double_quant": true,
|
| 51 |
+
"bnb_4bit_quant_storage": null,
|
| 52 |
+
"max_new_tokens": 64,
|
| 53 |
+
"temperature": 0.0,
|
| 54 |
+
"top_k": null,
|
| 55 |
+
"top_p": null,
|
| 56 |
+
"repetition_penalty": null,
|
| 57 |
+
"num_beams": 1,
|
| 58 |
+
"stream": false,
|
| 59 |
+
"stop_words": [],
|
| 60 |
+
"logprobs": false,
|
| 61 |
+
"top_logprobs": null,
|
| 62 |
+
"ckpt_dir": null,
|
| 63 |
+
"load_dataset_config": null,
|
| 64 |
+
"lora_modules": [],
|
| 65 |
+
"tuner_backend": "peft",
|
| 66 |
+
"train_type": "lora",
|
| 67 |
+
"adapters": [],
|
| 68 |
+
"seed": 42,
|
| 69 |
+
"model_kwargs": {},
|
| 70 |
+
"load_args": true,
|
| 71 |
+
"load_data_args": false,
|
| 72 |
+
"use_hf": false,
|
| 73 |
+
"hub_token": null,
|
| 74 |
+
"custom_register_path": [],
|
| 75 |
+
"ignore_args_error": false,
|
| 76 |
+
"use_swift_lora": false,
|
| 77 |
+
"output_dir": "/home/sushant/D1/MIUA/kvasir-format/training/v0-20250203-134351",
|
| 78 |
+
"overwrite_output_dir": false,
|
| 79 |
+
"do_train": false,
|
| 80 |
+
"do_eval": false,
|
| 81 |
+
"do_predict": false,
|
| 82 |
+
"eval_strategy": "steps",
|
| 83 |
+
"prediction_loss_only": false,
|
| 84 |
+
"per_device_train_batch_size": 4,
|
| 85 |
+
"per_device_eval_batch_size": 1,
|
| 86 |
+
"per_gpu_train_batch_size": null,
|
| 87 |
+
"per_gpu_eval_batch_size": null,
|
| 88 |
+
"gradient_accumulation_steps": 1,
|
| 89 |
+
"eval_accumulation_steps": null,
|
| 90 |
+
"eval_delay": 0,
|
| 91 |
+
"torch_empty_cache_steps": null,
|
| 92 |
+
"learning_rate": 0.0001,
|
| 93 |
+
"weight_decay": 0.1,
|
| 94 |
+
"adam_beta1": 0.9,
|
| 95 |
+
"adam_beta2": 0.999,
|
| 96 |
+
"adam_epsilon": 1e-08,
|
| 97 |
+
"max_grad_norm": 1.0,
|
| 98 |
+
"num_train_epochs": 5.0,
|
| 99 |
+
"max_steps": -1,
|
| 100 |
+
"lr_scheduler_type": "cosine",
|
| 101 |
+
"lr_scheduler_kwargs": null,
|
| 102 |
+
"warmup_ratio": 0.0,
|
| 103 |
+
"warmup_steps": 0,
|
| 104 |
+
"log_level": "passive",
|
| 105 |
+
"log_level_replica": "warning",
|
| 106 |
+
"log_on_each_node": true,
|
| 107 |
+
"logging_dir": "/home/sushant/D1/MIUA/kvasir-format/training/v0-20250203-134351/runs",
|
| 108 |
+
"logging_strategy": "steps",
|
| 109 |
+
"logging_first_step": true,
|
| 110 |
+
"logging_steps": 5,
|
| 111 |
+
"logging_nan_inf_filter": true,
|
| 112 |
+
"save_strategy": "steps",
|
| 113 |
+
"save_steps": 500,
|
| 114 |
+
"save_total_limit": 3,
|
| 115 |
+
"save_safetensors": true,
|
| 116 |
+
"save_on_each_node": false,
|
| 117 |
+
"save_only_model": false,
|
| 118 |
+
"restore_callback_states_from_checkpoint": false,
|
| 119 |
+
"no_cuda": false,
|
| 120 |
+
"use_cpu": false,
|
| 121 |
+
"use_mps_device": false,
|
| 122 |
+
"jit_mode_eval": false,
|
| 123 |
+
"use_ipex": false,
|
| 124 |
+
"bf16": true,
|
| 125 |
+
"fp16": false,
|
| 126 |
+
"fp16_opt_level": "O1",
|
| 127 |
+
"half_precision_backend": "auto",
|
| 128 |
+
"bf16_full_eval": false,
|
| 129 |
+
"fp16_full_eval": false,
|
| 130 |
+
"tf32": null,
|
| 131 |
+
"local_rank": -1,
|
| 132 |
+
"ddp_backend": null,
|
| 133 |
+
"tpu_num_cores": null,
|
| 134 |
+
"tpu_metrics_debug": false,
|
| 135 |
+
"debug": null,
|
| 136 |
+
"dataloader_drop_last": false,
|
| 137 |
+
"eval_steps": 800.0,
|
| 138 |
+
"dataloader_num_workers": 0,
|
| 139 |
+
"dataloader_prefetch_factor": null,
|
| 140 |
+
"past_index": -1,
|
| 141 |
+
"run_name": null,
|
| 142 |
+
"disable_tqdm": null,
|
| 143 |
+
"remove_unused_columns": false,
|
| 144 |
+
"label_names": null,
|
| 145 |
+
"load_best_model_at_end": false,
|
| 146 |
+
"metric_for_best_model": "loss",
|
| 147 |
+
"greater_is_better": false,
|
| 148 |
+
"ignore_data_skip": false,
|
| 149 |
+
"fsdp": "",
|
| 150 |
+
"fsdp_min_num_params": 0,
|
| 151 |
+
"fsdp_config": null,
|
| 152 |
+
"fsdp_transformer_layer_cls_to_wrap": null,
|
| 153 |
+
"accelerator_config": {
|
| 154 |
+
"dispatch_batches": false
|
| 155 |
+
},
|
| 156 |
+
"deepspeed": null,
|
| 157 |
+
"label_smoothing_factor": 0.0,
|
| 158 |
+
"optim": "adamw_torch",
|
| 159 |
+
"optim_args": null,
|
| 160 |
+
"adafactor": false,
|
| 161 |
+
"group_by_length": false,
|
| 162 |
+
"length_column_name": "length",
|
| 163 |
+
"report_to": [
|
| 164 |
+
"wandb"
|
| 165 |
+
],
|
| 166 |
+
"ddp_find_unused_parameters": null,
|
| 167 |
+
"ddp_bucket_cap_mb": null,
|
| 168 |
+
"ddp_broadcast_buffers": null,
|
| 169 |
+
"dataloader_pin_memory": true,
|
| 170 |
+
"dataloader_persistent_workers": false,
|
| 171 |
+
"skip_memory_metrics": true,
|
| 172 |
+
"use_legacy_prediction_loop": false,
|
| 173 |
+
"push_to_hub": false,
|
| 174 |
+
"resume_from_checkpoint": null,
|
| 175 |
+
"hub_model_id": null,
|
| 176 |
+
"hub_strategy": "every_save",
|
| 177 |
+
"hub_private_repo": null,
|
| 178 |
+
"hub_always_push": false,
|
| 179 |
+
"gradient_checkpointing": true,
|
| 180 |
+
"gradient_checkpointing_kwargs": null,
|
| 181 |
+
"include_inputs_for_metrics": false,
|
| 182 |
+
"include_for_metrics": [],
|
| 183 |
+
"eval_do_concat_batches": true,
|
| 184 |
+
"fp16_backend": "auto",
|
| 185 |
+
"evaluation_strategy": "steps",
|
| 186 |
+
"push_to_hub_model_id": null,
|
| 187 |
+
"push_to_hub_organization": null,
|
| 188 |
+
"push_to_hub_token": null,
|
| 189 |
+
"mp_parameters": "",
|
| 190 |
+
"auto_find_batch_size": false,
|
| 191 |
+
"full_determinism": false,
|
| 192 |
+
"torchdynamo": null,
|
| 193 |
+
"ray_scope": "last",
|
| 194 |
+
"ddp_timeout": 1800,
|
| 195 |
+
"torch_compile": false,
|
| 196 |
+
"torch_compile_backend": null,
|
| 197 |
+
"torch_compile_mode": null,
|
| 198 |
+
"dispatch_batches": null,
|
| 199 |
+
"split_batches": null,
|
| 200 |
+
"include_tokens_per_second": false,
|
| 201 |
+
"include_num_input_tokens_seen": false,
|
| 202 |
+
"neftune_noise_alpha": null,
|
| 203 |
+
"optim_target_modules": null,
|
| 204 |
+
"batch_eval_metrics": false,
|
| 205 |
+
"eval_on_start": false,
|
| 206 |
+
"use_liger_kernel": false,
|
| 207 |
+
"eval_use_gather_object": false,
|
| 208 |
+
"average_tokens_across_devices": false,
|
| 209 |
+
"sortish_sampler": false,
|
| 210 |
+
"predict_with_generate": false,
|
| 211 |
+
"generation_max_length": null,
|
| 212 |
+
"generation_num_beams": null,
|
| 213 |
+
"generation_config": null,
|
| 214 |
+
"freeze_parameters": [
|
| 215 |
+
"visual",
|
| 216 |
+
"visual.merger"
|
| 217 |
+
],
|
| 218 |
+
"freeze_parameters_ratio": 0.0,
|
| 219 |
+
"trainable_parameters": [],
|
| 220 |
+
"freeze_llm": false,
|
| 221 |
+
"freeze_vit": true,
|
| 222 |
+
"freeze_aligner": true,
|
| 223 |
+
"target_modules": [
|
| 224 |
+
"all-linear"
|
| 225 |
+
],
|
| 226 |
+
"target_regex": null,
|
| 227 |
+
"modules_to_save": [],
|
| 228 |
+
"lora_rank": 8,
|
| 229 |
+
"lora_alpha": 32,
|
| 230 |
+
"lora_dropout": 0.05,
|
| 231 |
+
"lora_bias": "none",
|
| 232 |
+
"lora_dtype": null,
|
| 233 |
+
"lorap_lr_ratio": null,
|
| 234 |
+
"use_rslora": false,
|
| 235 |
+
"use_dora": false,
|
| 236 |
+
"lora_ga_batch_size": 2,
|
| 237 |
+
"lora_ga_iters": 2,
|
| 238 |
+
"lora_ga_max_length": 1024,
|
| 239 |
+
"lora_ga_direction": "ArB2r",
|
| 240 |
+
"lora_ga_scale": "stable",
|
| 241 |
+
"lora_ga_stable_gamma": 16,
|
| 242 |
+
"init_weights": true,
|
| 243 |
+
"fourier_n_frequency": 2000,
|
| 244 |
+
"fourier_scaling": 300.0,
|
| 245 |
+
"boft_block_size": 4,
|
| 246 |
+
"boft_block_num": 0,
|
| 247 |
+
"boft_n_butterfly_factor": 1,
|
| 248 |
+
"boft_dropout": 0.0,
|
| 249 |
+
"vera_rank": 256,
|
| 250 |
+
"vera_projection_prng_key": 0,
|
| 251 |
+
"vera_dropout": 0.0,
|
| 252 |
+
"vera_d_initial": 0.1,
|
| 253 |
+
"adapter_act": "gelu",
|
| 254 |
+
"adapter_length": 128,
|
| 255 |
+
"use_galore": false,
|
| 256 |
+
"galore_target_modules": null,
|
| 257 |
+
"galore_rank": 128,
|
| 258 |
+
"galore_update_proj_gap": 50,
|
| 259 |
+
"galore_scale": 1.0,
|
| 260 |
+
"galore_proj_type": "std",
|
| 261 |
+
"galore_optim_per_parameter": false,
|
| 262 |
+
"galore_with_embedding": false,
|
| 263 |
+
"galore_quantization": false,
|
| 264 |
+
"galore_proj_quant": false,
|
| 265 |
+
"galore_proj_bits": 4,
|
| 266 |
+
"galore_proj_group_size": 256,
|
| 267 |
+
"galore_cos_threshold": 0.4,
|
| 268 |
+
"galore_gamma_proj": 2,
|
| 269 |
+
"galore_queue_size": 5,
|
| 270 |
+
"adalora_target_r": 8,
|
| 271 |
+
"adalora_init_r": 12,
|
| 272 |
+
"adalora_tinit": 0,
|
| 273 |
+
"adalora_tfinal": 0,
|
| 274 |
+
"adalora_deltaT": 1,
|
| 275 |
+
"adalora_beta1": 0.85,
|
| 276 |
+
"adalora_beta2": 0.85,
|
| 277 |
+
"adalora_orth_reg_weight": 0.5,
|
| 278 |
+
"llamapro_num_new_blocks": 4,
|
| 279 |
+
"llamapro_num_groups": null,
|
| 280 |
+
"lisa_activated_layers": 0,
|
| 281 |
+
"lisa_step_interval": 20,
|
| 282 |
+
"reft_layer_key": null,
|
| 283 |
+
"reft_layers": null,
|
| 284 |
+
"reft_rank": 4,
|
| 285 |
+
"reft_intervention_type": "LoreftIntervention",
|
| 286 |
+
"reft_args": null,
|
| 287 |
+
"use_liger": false,
|
| 288 |
+
"model_layer_cls_name": null,
|
| 289 |
+
"metric_warmup_step": 0,
|
| 290 |
+
"fsdp_num": 1,
|
| 291 |
+
"acc_steps": 1,
|
| 292 |
+
"add_version": true,
|
| 293 |
+
"resume_only_model": false,
|
| 294 |
+
"check_model": true,
|
| 295 |
+
"create_checkpoint_symlink": false,
|
| 296 |
+
"packing": false,
|
| 297 |
+
"lazy_tokenize": true,
|
| 298 |
+
"loss_type": null,
|
| 299 |
+
"optimizer": null,
|
| 300 |
+
"metric": null,
|
| 301 |
+
"acc_strategy": "token",
|
| 302 |
+
"rank": -1,
|
| 303 |
+
"global_world_size": 1,
|
| 304 |
+
"local_world_size": 1,
|
| 305 |
+
"model_suffix": "Qwen2.5-VL-7B-Instruct",
|
| 306 |
+
"model_info": "ModelInfo(model_type='qwen2_5_vl', model_dir='/home/sushant/.cache/modelscope/hub/Qwen/Qwen2___5-VL-7B-Instruct', torch_dtype=torch.bfloat16, max_model_len=128000, quant_method=None, quant_bits=None, config={'type': 'mrope', 'mrope_section': [16, 24, 24]}, task_type='causal_lm', num_labels=None)",
|
| 307 |
+
"model_meta": "ModelMeta(model_type='qwen2_5_vl', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-VL-3B-Instruct', hf_model_id='Qwen/Qwen2.5-VL-3B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-VL-7B-Instruct', hf_model_id='Qwen/Qwen2.5-VL-7B-Instruct', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-VL-72B-Instruct', hf_model_id='Qwen/Qwen2.5-VL-72B-Instruct', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen2_5_vl', get_function=<function get_model_tokenizer_qwen2_5_vl at 0x155352ddc4a0>, model_arch='qwen2_vl', architectures=['Qwen2_5_VLForConditionalGeneration'], additional_saved_files=[], torch_dtype=None, is_multimodal=True, is_reward=False, task_type=None, ignore_patterns=['*.zip', '*.gguf', '*.pth', '*.pt', 'consolidated*', 'onnx/*', '*.safetensors.md', '*.msgpack', '*.onnx', '*.ot', '*.h5', '*.bin', '*.safetensors'], requires=['transformers>=4.49', 'qwen_vl_utils>=0.0.6', 'decord'], tags=[])",
|
| 308 |
+
"model_dir": "/home/sushant/.cache/modelscope/hub/Qwen/Qwen2___5-VL-7B-Instruct",
|
| 309 |
+
"hub": "<class 'swift.hub.hub.MSHub'>",
|
| 310 |
+
"training_args": "Seq2SeqTrainingArguments(output_dir='/home/sushant/D1/MIUA/kvasir-format/training/v0-20250203-134351', overwrite_output_dir=False, do_train=False, do_eval=True, do_predict=False, eval_strategy=<IntervalStrategy.STEPS: 'steps'>, prediction_loss_only=False, per_device_train_batch_size=4, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=0.0001, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=5.0, max_steps=-1, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.0, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/home/sushant/D1/MIUA/kvasir-format/training/v0-20250203-134351/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=500, save_total_limit=3, save_safetensors=True, save_on_each_node=False, save_only_model=False, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=False, eval_steps=800, dataloader_num_workers=0, dataloader_prefetch_factor=None, past_index=-1, run_name='/home/sushant/D1/MIUA/kvasir-format/training/v0-20250203-134351', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), deepspeed=None, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['wandb'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', evaluation_strategy='steps', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=1800, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, dispatch_batches=None, split_batches=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, eval_use_gather_object=False, average_tokens_across_devices=None, sortish_sampler=False, predict_with_generate=False, generation_max_length=None, generation_num_beams=None, generation_config=None, acc_strategy='token', sequence_parallel_size=1, check_model=True, train_sampler_random=True, is_encoder_decoder=False, metric_warmup_step=0, train_dataset_sample=-1, fsdp_num=1, acc_steps=1, train_type='lora', optimizer=None, galore_config=None)"
|
| 311 |
+
}
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4249d8e007ccf462ef893c44ffcc3866043ac8df22374f2155dadbcb8d2721cc
|
| 3 |
+
size 161810282
|
rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d1893c521aa3ec176326be4e3c2ea55827d2354c501526822dcb05aabd33770
|
| 3 |
+
size 14244
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50af746a55839c24a29d2d012633b1c972cf5b3fd3719439ca28dead475404d5
|
| 3 |
+
size 1064
|
trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4364ee160a247958b9b616b756ecf45df49dd684e7b182cebf140468f34b1a0e
|
| 3 |
+
size 5816
|