Upload folder using huggingface_hub
Browse files- README.md +221 -0
- adapter_config.json +28 -0
- adapter_model.bin +3 -0
- chat_template.jinja +2 -0
- checkpoint-439/README.md +221 -0
- checkpoint-439/adapter_config.json +28 -0
- checkpoint-439/adapter_model.safetensors +3 -0
- checkpoint-439/optimizer.pt +3 -0
- checkpoint-439/rng_state.pth +3 -0
- checkpoint-439/scheduler.pt +3 -0
- checkpoint-439/trainer_state.json +350 -0
- checkpoint-439/training_args.bin +3 -0
- model_info.json +15 -0
- preprocessor_config.json +28 -0
- processor_config.json +7 -0
- special_tokens_map.json +31 -0
- tokenizer.json +0 -0
- tokenizer_config.json +64 -0
README.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: llava-hf/llava-1.5-7b-hf
|
| 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 |
+
## Training procedure
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 204 |
+
- quant_method: bitsandbytes
|
| 205 |
+
- _load_in_8bit: False
|
| 206 |
+
- _load_in_4bit: True
|
| 207 |
+
- llm_int8_threshold: 6.0
|
| 208 |
+
- llm_int8_skip_modules: None
|
| 209 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 210 |
+
- llm_int8_has_fp16_weight: False
|
| 211 |
+
- bnb_4bit_quant_type: nf4
|
| 212 |
+
- bnb_4bit_use_double_quant: True
|
| 213 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 214 |
+
- bnb_4bit_quant_storage: uint8
|
| 215 |
+
- load_in_4bit: True
|
| 216 |
+
- load_in_8bit: False
|
| 217 |
+
|
| 218 |
+
### Framework versions
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
- PEFT 0.6.2
|
adapter_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layers_pattern": null,
|
| 10 |
+
"layers_to_transform": null,
|
| 11 |
+
"lora_alpha": 32,
|
| 12 |
+
"lora_dropout": 0.05,
|
| 13 |
+
"modules_to_save": null,
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"r": 16,
|
| 16 |
+
"rank_pattern": {},
|
| 17 |
+
"revision": null,
|
| 18 |
+
"target_modules": [
|
| 19 |
+
"up_proj",
|
| 20 |
+
"v_proj",
|
| 21 |
+
"o_proj",
|
| 22 |
+
"down_proj",
|
| 23 |
+
"k_proj",
|
| 24 |
+
"q_proj",
|
| 25 |
+
"gate_proj"
|
| 26 |
+
],
|
| 27 |
+
"task_type": "CAUSAL_LM"
|
| 28 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1163eb11d77c80d2fd3dd71519b02b0d92668af223e21e2f7fcd4d9f807ec18b
|
| 3 |
+
size 169571043
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if message['role'] != 'system' %}{{ message['role'].upper() + ': '}}{% endif %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>
|
| 2 |
+
' }}{% endfor %}{# Render all text next #}{% if message['role'] != 'assistant' %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] + ' '}}{% endfor %}{% else %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{% generation %}{{ content['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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: llava-hf/llava-1.5-7b-hf
|
| 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 |
+
## Training procedure
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
The following `bitsandbytes` quantization config was used during training:
|
| 204 |
+
- quant_method: bitsandbytes
|
| 205 |
+
- _load_in_8bit: False
|
| 206 |
+
- _load_in_4bit: True
|
| 207 |
+
- llm_int8_threshold: 6.0
|
| 208 |
+
- llm_int8_skip_modules: None
|
| 209 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
| 210 |
+
- llm_int8_has_fp16_weight: False
|
| 211 |
+
- bnb_4bit_quant_type: nf4
|
| 212 |
+
- bnb_4bit_use_double_quant: True
|
| 213 |
+
- bnb_4bit_compute_dtype: bfloat16
|
| 214 |
+
- bnb_4bit_quant_storage: uint8
|
| 215 |
+
- load_in_4bit: True
|
| 216 |
+
- load_in_8bit: False
|
| 217 |
+
|
| 218 |
+
### Framework versions
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
- PEFT 0.6.2
|
checkpoint-439/adapter_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layers_pattern": null,
|
| 10 |
+
"layers_to_transform": null,
|
| 11 |
+
"lora_alpha": 32,
|
| 12 |
+
"lora_dropout": 0.05,
|
| 13 |
+
"modules_to_save": null,
|
| 14 |
+
"peft_type": "LORA",
|
| 15 |
+
"r": 16,
|
| 16 |
+
"rank_pattern": {},
|
| 17 |
+
"revision": null,
|
| 18 |
+
"target_modules": [
|
| 19 |
+
"up_proj",
|
| 20 |
+
"v_proj",
|
| 21 |
+
"o_proj",
|
| 22 |
+
"down_proj",
|
| 23 |
+
"k_proj",
|
| 24 |
+
"q_proj",
|
| 25 |
+
"gate_proj"
|
| 26 |
+
],
|
| 27 |
+
"task_type": "CAUSAL_LM"
|
| 28 |
+
}
|
checkpoint-439/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72bcd31edb263892456f3e461a52b543ace7f8a5032011cfc85215774e4049d2
|
| 3 |
+
size 169436352
|
checkpoint-439/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3075da04f0e9372a014f566b46e583d979e8b3c171e0ddc317a9493ad9a96082
|
| 3 |
+
size 320195043
|
checkpoint-439/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00a76b5f0a72943ce561d342bb7caf2bff348756255b8f419909a36f15396141
|
| 3 |
+
size 14645
|
checkpoint-439/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a60dd97f7041c215f01a6f27164fb7f6257302cdd96ff47ab0bb3b6a915bd5f
|
| 3 |
+
size 1465
|
checkpoint-439/trainer_state.json
ADDED
|
@@ -0,0 +1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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 439,
|
| 3 |
+
"best_metric": 3.5333664417266846,
|
| 4 |
+
"best_model_checkpoint": "./llava-bacterial-colonies-finetuned/checkpoint-439",
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 439,
|
| 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.002280501710376283,
|
| 14 |
+
"grad_norm": 5.25744104385376,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 13.0435,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.02280501710376283,
|
| 21 |
+
"grad_norm": 5.330052852630615,
|
| 22 |
+
"learning_rate": 1.8000000000000001e-06,
|
| 23 |
+
"loss": 13.1781,
|
| 24 |
+
"step": 10
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.04561003420752566,
|
| 28 |
+
"grad_norm": 5.746432781219482,
|
| 29 |
+
"learning_rate": 3.8000000000000005e-06,
|
| 30 |
+
"loss": 13.0505,
|
| 31 |
+
"step": 20
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.06841505131128849,
|
| 35 |
+
"grad_norm": 7.043069362640381,
|
| 36 |
+
"learning_rate": 5.8e-06,
|
| 37 |
+
"loss": 12.6685,
|
| 38 |
+
"step": 30
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.09122006841505131,
|
| 42 |
+
"grad_norm": 9.116937637329102,
|
| 43 |
+
"learning_rate": 7.800000000000002e-06,
|
| 44 |
+
"loss": 11.8006,
|
| 45 |
+
"step": 40
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.11402508551881414,
|
| 49 |
+
"grad_norm": 9.20152473449707,
|
| 50 |
+
"learning_rate": 9.800000000000001e-06,
|
| 51 |
+
"loss": 10.0323,
|
| 52 |
+
"step": 50
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.13683010262257697,
|
| 56 |
+
"grad_norm": 9.906583786010742,
|
| 57 |
+
"learning_rate": 1.18e-05,
|
| 58 |
+
"loss": 7.9368,
|
| 59 |
+
"step": 60
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.15963511972633979,
|
| 63 |
+
"grad_norm": 3.839442014694214,
|
| 64 |
+
"learning_rate": 1.38e-05,
|
| 65 |
+
"loss": 5.4885,
|
| 66 |
+
"step": 70
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.18244013683010263,
|
| 70 |
+
"grad_norm": 1.1425623893737793,
|
| 71 |
+
"learning_rate": 1.58e-05,
|
| 72 |
+
"loss": 4.4348,
|
| 73 |
+
"step": 80
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.20524515393386544,
|
| 77 |
+
"grad_norm": 0.4169151782989502,
|
| 78 |
+
"learning_rate": 1.7800000000000002e-05,
|
| 79 |
+
"loss": 4.1557,
|
| 80 |
+
"step": 90
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.22805017103762829,
|
| 84 |
+
"grad_norm": 0.2584823668003082,
|
| 85 |
+
"learning_rate": 1.98e-05,
|
| 86 |
+
"loss": 4.0237,
|
| 87 |
+
"step": 100
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.2508551881413911,
|
| 91 |
+
"grad_norm": 0.2669777572154999,
|
| 92 |
+
"learning_rate": 1.9965238092738643e-05,
|
| 93 |
+
"loss": 3.9437,
|
| 94 |
+
"step": 110
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.27366020524515394,
|
| 98 |
+
"grad_norm": 0.20187555253505707,
|
| 99 |
+
"learning_rate": 1.9845383720291392e-05,
|
| 100 |
+
"loss": 3.8825,
|
| 101 |
+
"step": 120
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.29646522234891676,
|
| 105 |
+
"grad_norm": 0.23316368460655212,
|
| 106 |
+
"learning_rate": 1.964103607010578e-05,
|
| 107 |
+
"loss": 3.8467,
|
| 108 |
+
"step": 130
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.31927023945267957,
|
| 112 |
+
"grad_norm": 0.20283794403076172,
|
| 113 |
+
"learning_rate": 1.93539488577558e-05,
|
| 114 |
+
"loss": 3.7906,
|
| 115 |
+
"step": 140
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.34207525655644244,
|
| 119 |
+
"grad_norm": 0.2323773354291916,
|
| 120 |
+
"learning_rate": 1.8986585871373792e-05,
|
| 121 |
+
"loss": 3.7574,
|
| 122 |
+
"step": 150
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.36488027366020526,
|
| 126 |
+
"grad_norm": 0.1659609079360962,
|
| 127 |
+
"learning_rate": 1.854209982737192e-05,
|
| 128 |
+
"loss": 3.7025,
|
| 129 |
+
"step": 160
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.38768529076396807,
|
| 133 |
+
"grad_norm": 0.1513194888830185,
|
| 134 |
+
"learning_rate": 1.8024305313767648e-05,
|
| 135 |
+
"loss": 3.6803,
|
| 136 |
+
"step": 170
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.4104903078677309,
|
| 140 |
+
"grad_norm": 0.1688281148672104,
|
| 141 |
+
"learning_rate": 1.743764605331392e-05,
|
| 142 |
+
"loss": 3.6409,
|
| 143 |
+
"step": 180
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.43329532497149376,
|
| 147 |
+
"grad_norm": 0.16119058430194855,
|
| 148 |
+
"learning_rate": 1.678715676738266e-05,
|
| 149 |
+
"loss": 3.6219,
|
| 150 |
+
"step": 190
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.45610034207525657,
|
| 154 |
+
"grad_norm": 0.11990713328123093,
|
| 155 |
+
"learning_rate": 1.6078419967886402e-05,
|
| 156 |
+
"loss": 3.5933,
|
| 157 |
+
"step": 200
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.4789053591790194,
|
| 161 |
+
"grad_norm": 0.12297182530164719,
|
| 162 |
+
"learning_rate": 1.5317518048050698e-05,
|
| 163 |
+
"loss": 3.5855,
|
| 164 |
+
"step": 210
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.5017103762827823,
|
| 168 |
+
"grad_norm": 0.1178373396396637,
|
| 169 |
+
"learning_rate": 1.4510981083195188e-05,
|
| 170 |
+
"loss": 3.5786,
|
| 171 |
+
"step": 220
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.5245153933865451,
|
| 175 |
+
"grad_norm": 0.10542675107717514,
|
| 176 |
+
"learning_rate": 1.366573078949813e-05,
|
| 177 |
+
"loss": 3.5658,
|
| 178 |
+
"step": 230
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.5473204104903079,
|
| 182 |
+
"grad_norm": 0.1223284974694252,
|
| 183 |
+
"learning_rate": 1.2789021121691273e-05,
|
| 184 |
+
"loss": 3.5616,
|
| 185 |
+
"step": 240
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.5701254275940707,
|
| 189 |
+
"grad_norm": 0.11651907861232758,
|
| 190 |
+
"learning_rate": 1.1888376019476966e-05,
|
| 191 |
+
"loss": 3.5549,
|
| 192 |
+
"step": 250
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.5929304446978335,
|
| 196 |
+
"grad_norm": 0.1205676719546318,
|
| 197 |
+
"learning_rate": 1.097152483692886e-05,
|
| 198 |
+
"loss": 3.5555,
|
| 199 |
+
"step": 260
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.6157354618015963,
|
| 203 |
+
"grad_norm": 0.12340816110372543,
|
| 204 |
+
"learning_rate": 1.0046336009022435e-05,
|
| 205 |
+
"loss": 3.5497,
|
| 206 |
+
"step": 270
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.6385404789053591,
|
| 210 |
+
"grad_norm": 0.1562206894159317,
|
| 211 |
+
"learning_rate": 9.12074952457048e-06,
|
| 212 |
+
"loss": 3.5409,
|
| 213 |
+
"step": 280
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.661345496009122,
|
| 217 |
+
"grad_norm": 0.1315656453371048,
|
| 218 |
+
"learning_rate": 8.202708785082122e-06,
|
| 219 |
+
"loss": 3.5483,
|
| 220 |
+
"step": 290
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.6841505131128849,
|
| 224 |
+
"grad_norm": 0.11144094169139862,
|
| 225 |
+
"learning_rate": 7.300092434334021e-06,
|
| 226 |
+
"loss": 3.5359,
|
| 227 |
+
"step": 300
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.7069555302166477,
|
| 231 |
+
"grad_norm": 0.11713874340057373,
|
| 232 |
+
"learning_rate": 6.420646743693715e-06,
|
| 233 |
+
"loss": 3.5395,
|
| 234 |
+
"step": 310
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.7297605473204105,
|
| 238 |
+
"grad_norm": 0.11104694753885269,
|
| 239 |
+
"learning_rate": 5.571919133465605e-06,
|
| 240 |
+
"loss": 3.5275,
|
| 241 |
+
"step": 320
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.7525655644241733,
|
| 245 |
+
"grad_norm": 0.12047022581100464,
|
| 246 |
+
"learning_rate": 4.761193400780667e-06,
|
| 247 |
+
"loss": 3.5344,
|
| 248 |
+
"step": 330
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.7753705815279361,
|
| 252 |
+
"grad_norm": 0.11065001040697098,
|
| 253 |
+
"learning_rate": 3.9954272099054696e-06,
|
| 254 |
+
"loss": 3.5284,
|
| 255 |
+
"step": 340
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.798175598631699,
|
| 259 |
+
"grad_norm": 0.12179698050022125,
|
| 260 |
+
"learning_rate": 3.281192381429894e-06,
|
| 261 |
+
"loss": 3.5311,
|
| 262 |
+
"step": 350
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.8209806157354618,
|
| 266 |
+
"grad_norm": 0.1203538179397583,
|
| 267 |
+
"learning_rate": 2.6246184927728913e-06,
|
| 268 |
+
"loss": 3.5357,
|
| 269 |
+
"step": 360
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.8437856328392246,
|
| 273 |
+
"grad_norm": 0.12471099942922592,
|
| 274 |
+
"learning_rate": 2.031340274027891e-06,
|
| 275 |
+
"loss": 3.5312,
|
| 276 |
+
"step": 370
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.8665906499429875,
|
| 280 |
+
"grad_norm": 0.1266399621963501,
|
| 281 |
+
"learning_rate": 1.5064492505977234e-06,
|
| 282 |
+
"loss": 3.5367,
|
| 283 |
+
"step": 380
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.8893956670467503,
|
| 287 |
+
"grad_norm": 0.11641562730073929,
|
| 288 |
+
"learning_rate": 1.0544500476229713e-06,
|
| 289 |
+
"loss": 3.5343,
|
| 290 |
+
"step": 390
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.9122006841505131,
|
| 294 |
+
"grad_norm": 0.12872786819934845,
|
| 295 |
+
"learning_rate": 6.79221731199936e-07,
|
| 296 |
+
"loss": 3.5371,
|
| 297 |
+
"step": 400
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.935005701254276,
|
| 301 |
+
"grad_norm": 0.10604371130466461,
|
| 302 |
+
"learning_rate": 3.8398451815870984e-07,
|
| 303 |
+
"loss": 3.5314,
|
| 304 |
+
"step": 410
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.9578107183580388,
|
| 308 |
+
"grad_norm": 0.12464912980794907,
|
| 309 |
+
"learning_rate": 1.7127214009868387e-07,
|
| 310 |
+
"loss": 3.53,
|
| 311 |
+
"step": 420
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 0.9806157354618016,
|
| 315 |
+
"grad_norm": 0.10792865604162216,
|
| 316 |
+
"learning_rate": 4.291009885385333e-08,
|
| 317 |
+
"loss": 3.5283,
|
| 318 |
+
"step": 430
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 1.0,
|
| 322 |
+
"eval_loss": 3.5333664417266846,
|
| 323 |
+
"eval_runtime": 856.2424,
|
| 324 |
+
"eval_samples_per_second": 2.891,
|
| 325 |
+
"eval_steps_per_second": 0.181,
|
| 326 |
+
"step": 439
|
| 327 |
+
}
|
| 328 |
+
],
|
| 329 |
+
"logging_steps": 10,
|
| 330 |
+
"max_steps": 439,
|
| 331 |
+
"num_input_tokens_seen": 0,
|
| 332 |
+
"num_train_epochs": 1,
|
| 333 |
+
"save_steps": 500,
|
| 334 |
+
"stateful_callbacks": {
|
| 335 |
+
"TrainerControl": {
|
| 336 |
+
"args": {
|
| 337 |
+
"should_epoch_stop": false,
|
| 338 |
+
"should_evaluate": false,
|
| 339 |
+
"should_log": false,
|
| 340 |
+
"should_save": true,
|
| 341 |
+
"should_training_stop": true
|
| 342 |
+
},
|
| 343 |
+
"attributes": {}
|
| 344 |
+
}
|
| 345 |
+
},
|
| 346 |
+
"total_flos": 4.120770218544906e+17,
|
| 347 |
+
"train_batch_size": 16,
|
| 348 |
+
"trial_name": null,
|
| 349 |
+
"trial_params": null
|
| 350 |
+
}
|
checkpoint-439/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cd6f097105c4427816b618fdaa8d2c8096c7f5e01026fdeb65199c4183f766c
|
| 3 |
+
size 5841
|
model_info.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "llava_with_lora",
|
| 3 |
+
"base_model": "llava-hf/llava-1.5-7b-hf",
|
| 4 |
+
"training_method": "LoRA",
|
| 5 |
+
"training_samples": 14023,
|
| 6 |
+
"validation_samples": 2475,
|
| 7 |
+
"epochs": 1,
|
| 8 |
+
"learning_rate": 2e-05,
|
| 9 |
+
"batch_size": 16,
|
| 10 |
+
"lora_config": {
|
| 11 |
+
"r": 16,
|
| 12 |
+
"lora_alpha": 32,
|
| 13 |
+
"lora_dropout": 0.05
|
| 14 |
+
}
|
| 15 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 336,
|
| 4 |
+
"width": 336
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"processor_class": "LlavaProcessor",
|
| 23 |
+
"resample": 3,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"shortest_edge": 336
|
| 27 |
+
}
|
| 28 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_token": "<image>",
|
| 3 |
+
"num_additional_image_tokens": 1,
|
| 4 |
+
"patch_size": 14,
|
| 5 |
+
"processor_class": "LlavaProcessor",
|
| 6 |
+
"vision_feature_select_strategy": "default"
|
| 7 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"image_token": "<image>",
|
| 17 |
+
"pad_token": {
|
| 18 |
+
"content": "<pad>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"unk_token": {
|
| 25 |
+
"content": "<unk>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<image>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<pad>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"bos_token": "<s>",
|
| 48 |
+
"clean_up_tokenization_spaces": false,
|
| 49 |
+
"eos_token": "</s>",
|
| 50 |
+
"extra_special_tokens": {
|
| 51 |
+
"image_token": "<image>"
|
| 52 |
+
},
|
| 53 |
+
"image_token": "<image>",
|
| 54 |
+
"legacy": false,
|
| 55 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 56 |
+
"pad_token": "<pad>",
|
| 57 |
+
"padding_side": "right",
|
| 58 |
+
"processor_class": "LlavaProcessor",
|
| 59 |
+
"sp_model_kwargs": {},
|
| 60 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 61 |
+
"trust_remote_code": false,
|
| 62 |
+
"unk_token": "<unk>",
|
| 63 |
+
"use_default_system_prompt": false
|
| 64 |
+
}
|