diff --git a/README.md b/README.md index d6f6cf55a539878a6afe190adb72650ffc519dfa..2743f1dc0767c3580a09e066a1bca0d276ff1837 100644 --- a/README.md +++ b/README.md @@ -1,209 +1,62 @@ --- base_model: Qwen/Qwen2-VL-7B-Instruct library_name: peft -pipeline_tag: text-generation +model_name: qwen2-7b-instruct-trl-sft-med-v2 tags: - base_model:adapter:Qwen/Qwen2-VL-7B-Instruct - lora - sft - transformers - trl +licence: license +pipeline_tag: text-generation --- -# Model Card for Model ID - - - - - -## Model Details - -### Model Description - - - - - -- **Developed by:** [More Information Needed] -- **Funded by [optional]:** [More Information Needed] -- **Shared by [optional]:** [More Information Needed] -- **Model type:** [More Information Needed] -- **Language(s) (NLP):** [More Information Needed] -- **License:** [More Information Needed] -- **Finetuned from model [optional]:** [More Information Needed] - -### Model Sources [optional] - - - -- **Repository:** [More Information Needed] -- **Paper [optional]:** [More Information Needed] -- **Demo [optional]:** [More Information Needed] - -## Uses - - - -### Direct Use - - - -[More Information Needed] - -### Downstream Use [optional] - - - -[More Information Needed] - -### Out-of-Scope Use - - - -[More Information Needed] - -## Bias, Risks, and Limitations - - - -[More Information Needed] - -### Recommendations - - - -Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. - -## How to Get Started with the Model - -Use the code below to get started with the model. - -[More Information Needed] - -## Training Details - -### Training Data - - - -[More Information Needed] - -### Training Procedure - - - -#### Preprocessing [optional] - -[More Information Needed] +# Model Card for qwen2-7b-instruct-trl-sft-med-v2 +This model is a fine-tuned version of [Qwen/Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct). +It has been trained using [TRL](https://github.com/huggingface/trl). -#### Training Hyperparameters +## Quick start -- **Training regime:** [More Information Needed] +```python +from transformers import pipeline -#### Speeds, Sizes, Times [optional] +question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?" +generator = pipeline("text-generation", model="None", device="cuda") +output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0] +print(output["generated_text"]) +``` - +## Training procedure -[More Information Needed] + -## Evaluation - -### Testing Data, Factors & Metrics +This model was trained with SFT. -#### Testing Data - - - -[More Information Needed] - -#### Factors - - - -[More Information Needed] - -#### Metrics - - - -[More Information Needed] - -### Results - -[More Information Needed] - -#### Summary - - - -## Model Examination [optional] - - - -[More Information Needed] - -## Environmental Impact - - - -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). - -- **Hardware Type:** [More Information Needed] -- **Hours used:** [More Information Needed] -- **Cloud Provider:** [More Information Needed] -- **Compute Region:** [More Information Needed] -- **Carbon Emitted:** [More Information Needed] - -## Technical Specifications [optional] - -### Model Architecture and Objective - -[More Information Needed] - -### Compute Infrastructure - -[More Information Needed] - -#### Hardware - -[More Information Needed] - -#### Software - -[More Information Needed] - -## Citation [optional] - - - -**BibTeX:** - -[More Information Needed] - -**APA:** - -[More Information Needed] - -## Glossary [optional] - - - -[More Information Needed] - -## More Information [optional] - -[More Information Needed] +### Framework versions -## Model Card Authors [optional] +- PEFT 0.19.1 +- TRL: 1.8.0.dev0 +- Transformers: 5.13.0 +- Pytorch: 2.8.0+cu128 +- Datasets: 5.0.0 +- Tokenizers: 0.22.2 -[More Information Needed] +## Citations -## Model Card Contact -[More Information Needed] -### Framework versions -- PEFT 0.18.1 \ No newline at end of file +Cite TRL as: + +```bibtex +@software{vonwerra2020trl, + title = {{TRL: Transformers Reinforcement Learning}}, + author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin}, + license = {Apache-2.0}, + url = {https://github.com/huggingface/trl}, + year = {2020} +} +``` \ No newline at end of file diff --git a/adapter_config.json b/adapter_config.json index bb21f4a83de65f8771db25858b124770d264fc12..5d00f80e5627dd1ecb1fd808f19bb08f687d168c 100644 --- a/adapter_config.json +++ b/adapter_config.json @@ -19,27 +19,29 @@ "lora_alpha": 16, "lora_bias": false, "lora_dropout": 0.05, + "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", - "peft_version": "0.18.1", + "peft_version": "0.19.1", "qalora_group_size": 16, - "r": 8, + "r": 16, "rank_pattern": {}, "revision": null, "target_modules": [ - "o_proj", - "up_proj", - "gate_proj", - "v_proj", "down_proj", "q_proj", - "k_proj" + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" ], "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, + "use_bdlora": null, "use_dora": false, "use_qalora": false, "use_rslora": false diff --git a/adapter_model.safetensors b/adapter_model.safetensors index c01eb2f99067010f30087dc415c20e3df0beadaa..8f69818f4272b3783f3c7bb5276a9f241784b0ea 100644 --- a/adapter_model.safetensors +++ b/adapter_model.safetensors @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e7ea56a594d69106e39cb585c1d720a4a4630de284d687d438aca1711978f196 -size 80795592 +oid sha256:d12f67e364b406e7d666d63de63287fa5b5b5ea97c9f8022d4d211f369c213ec +size 80798760 diff --git a/chat_template.jinja b/chat_template.jinja index 6c226632394ae7474b0d4b13e15793eac2e21ee9..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d 100644 --- a/chat_template.jinja +++ b/chat_template.jinja @@ -1,7 +1,4 @@ -{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system -You are a helpful assistant.<|im_end|> -{% endif %}<|im_start|>{{ message['role'] }} -{% if message['content'] is string %}{{ message['content'] }}<|im_end|> -{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|> -{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant -{% endif %} \ No newline at end of file +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-100/README.md b/checkpoint-100/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-100/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-100/adapter_config.json b/checkpoint-100/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-100/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-100/adapter_model.safetensors b/checkpoint-100/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..155b10450ba8832510750e1263d7bcf02ced4c7a --- /dev/null +++ b/checkpoint-100/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8063871bcbe7328d293cdb3266be8c2339109340150dbffdec245c10261d04a8 +size 80798760 diff --git a/checkpoint-100/chat_template.jinja b/checkpoint-100/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-100/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-100/optimizer.pt b/checkpoint-100/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..9b75b30824bcd58b56169c3fe1139928f81f474f --- /dev/null +++ b/checkpoint-100/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24a2902aec1de2edb9c0a8905bbd627c72693f1ecb8d8e0605adcde4823a70d7 +size 161816251 diff --git a/checkpoint-100/processor_config.json b/checkpoint-100/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-100/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-100/rng_state.pth b/checkpoint-100/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..fadfddebc940dfae9825c819aed2764d6f06eabd --- /dev/null +++ b/checkpoint-100/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2cc071730ad8c8ee6eee98550b679448de1f3cb88fd73851cb61e115e60e980 +size 14645 diff --git a/checkpoint-100/scheduler.pt b/checkpoint-100/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..a3fa4624789f221f3014d3eab1ebd7c4951fda36 --- /dev/null +++ b/checkpoint-100/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b76772dfb00b2c64ba802f64edc779e3d6d2e047f5196333c42ea2ef5443a1ba +size 1465 diff --git a/checkpoint-100/tokenizer.json b/checkpoint-100/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-100/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-100/tokenizer_config.json b/checkpoint-100/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-100/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-100/trainer_state.json b/checkpoint-100/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..6b2ee13d3cf2b2cd4602a1a5ff05be54f4736985 --- /dev/null +++ b/checkpoint-100/trainer_state.json @@ -0,0 +1,156 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 0.5128205128205128, + "eval_steps": 50, + "global_step": 100, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 2.484651749165875e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-100/training_args.bin b/checkpoint-100/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-100/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-150/README.md b/checkpoint-150/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-150/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-150/adapter_config.json b/checkpoint-150/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-150/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-150/adapter_model.safetensors b/checkpoint-150/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..4d8aba6593b2c784c0cb18f5ae25b0f70ebc73de --- /dev/null +++ b/checkpoint-150/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6ae4d346cfdcceb5c1c3697d3e1149e65173ced40c886e0791efccab9feee36 +size 80798760 diff --git a/checkpoint-150/chat_template.jinja b/checkpoint-150/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-150/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-150/optimizer.pt b/checkpoint-150/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..d0f4771453be17d158b50c9ab6f11f196d5d1ecf --- /dev/null +++ b/checkpoint-150/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3c74d58166d16a920d891148b982e7cb77584afc0a3e5846fd09b3b068c1e0d +size 161816251 diff --git a/checkpoint-150/processor_config.json b/checkpoint-150/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-150/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-150/rng_state.pth b/checkpoint-150/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..1153e9e252e69cccda0f777a3917344828e981a4 --- /dev/null +++ b/checkpoint-150/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:541b17295579ee34734806a71ac2ce71dff5daea3d26b01c6508579d7868a761 +size 14645 diff --git a/checkpoint-150/scheduler.pt b/checkpoint-150/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..b8d759626a5c82c5194a513f45288810dfdbaff8 --- /dev/null +++ b/checkpoint-150/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a070dc461d28f40dcbdfd9d32f6f276821d0c1ceab255525ff5f155e3e32df61 +size 1465 diff --git a/checkpoint-150/tokenizer.json b/checkpoint-150/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-150/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-150/tokenizer_config.json b/checkpoint-150/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-150/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-150/trainer_state.json b/checkpoint-150/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..b8ad553f292d6a51688ad933e90e0499d04d3f8f --- /dev/null +++ b/checkpoint-150/trainer_state.json @@ -0,0 +1,217 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 0.7692307692307693, + "eval_steps": 50, + "global_step": 150, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 3.726183375410381e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-150/training_args.bin b/checkpoint-150/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-150/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-200/README.md b/checkpoint-200/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-200/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-200/adapter_config.json b/checkpoint-200/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-200/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-200/adapter_model.safetensors b/checkpoint-200/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..8f5ada4c5a50d0b38961b7052169e3739059ff39 --- /dev/null +++ b/checkpoint-200/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0827058bea32f283e42c3b34d842cc14b4ff430cda1b312a7f0f81ce60ad6f40 +size 80798760 diff --git a/checkpoint-200/chat_template.jinja b/checkpoint-200/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-200/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-200/optimizer.pt b/checkpoint-200/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..4d2f4e1064643cf42bf00bf98f09d5a7343787f0 --- /dev/null +++ b/checkpoint-200/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cfeb60c535b89a91006c503f05d4411f1f77ad673ff3582782aeedeb63b3f27 +size 161816251 diff --git a/checkpoint-200/processor_config.json b/checkpoint-200/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-200/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-200/rng_state.pth b/checkpoint-200/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..c9b7fb13ee2d49e3d00304c3e6b1858b3dc0f5c6 --- /dev/null +++ b/checkpoint-200/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:770ff3d94706d7924a26246fd4efec4d31b2bdfee98110175a2984ff2a327701 +size 14645 diff --git a/checkpoint-200/scheduler.pt b/checkpoint-200/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..a103ec18f0462fafb7ba0b0ea2952b660a4cf849 --- /dev/null +++ b/checkpoint-200/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb87b1a0ca054cb1f9364bd090dd7bf383512ff0b1a25f3e22931a4dc5f300f +size 1465 diff --git a/checkpoint-200/tokenizer.json b/checkpoint-200/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-200/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-200/tokenizer_config.json b/checkpoint-200/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-200/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-200/trainer_state.json b/checkpoint-200/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..f46acb032d52166ff4b061453e74ea989599aae4 --- /dev/null +++ b/checkpoint-200/trainer_state.json @@ -0,0 +1,278 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 1.0256410256410255, + "eval_steps": 50, + "global_step": 200, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 4.967042226591744e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-200/training_args.bin b/checkpoint-200/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-200/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-250/README.md b/checkpoint-250/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-250/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-250/adapter_config.json b/checkpoint-250/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-250/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-250/adapter_model.safetensors b/checkpoint-250/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..98931fda884dd2b5493b8576ce89226020da337f --- /dev/null +++ b/checkpoint-250/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d537041f19e3ecf29b8da999608357747560f93ca4f4e49207d7dc63e128422b +size 80798760 diff --git a/checkpoint-250/chat_template.jinja b/checkpoint-250/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-250/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-250/optimizer.pt b/checkpoint-250/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..914a1ca253509a63d08f5587eb2e999e41652826 --- /dev/null +++ b/checkpoint-250/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c193388c6980caa3cb71d0cb6ffa98df40f66bf62166dc6f6ad8667982bf805 +size 161816251 diff --git a/checkpoint-250/processor_config.json b/checkpoint-250/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-250/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-250/rng_state.pth b/checkpoint-250/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..1f3ce9d1d3bd2df8d94b1e04d564eb1564543a6e --- /dev/null +++ b/checkpoint-250/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c8bd36876d18233be0f2fbfbd29b604ff88de5e54dd31f1a2ea4459c8ea00b4 +size 14645 diff --git a/checkpoint-250/scheduler.pt b/checkpoint-250/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..1aab9b3fc3d3609d3e35feab46760d105f0d7fd9 --- /dev/null +++ b/checkpoint-250/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875e9b851ff6d59f2e93aed591111cf754fe2522e81082f54fbfcf5b15542651 +size 1465 diff --git a/checkpoint-250/tokenizer.json b/checkpoint-250/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-250/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-250/tokenizer_config.json b/checkpoint-250/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-250/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-250/trainer_state.json b/checkpoint-250/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..403174b991618fa2ead63c21e414860194369034 --- /dev/null +++ b/checkpoint-250/trainer_state.json @@ -0,0 +1,339 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 1.282051282051282, + "eval_steps": 50, + "global_step": 250, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 6.208517788247654e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-250/training_args.bin b/checkpoint-250/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-250/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-300/README.md b/checkpoint-300/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-300/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-300/adapter_config.json b/checkpoint-300/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-300/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-300/adapter_model.safetensors b/checkpoint-300/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..ac8b266350ffaeb8880f45469a6a295ab501d78d --- /dev/null +++ b/checkpoint-300/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1dffb22b953a4575c8cb51f9310e188addb3c183c0861aa63f6b9dd51ea5945 +size 80798760 diff --git a/checkpoint-300/chat_template.jinja b/checkpoint-300/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-300/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-300/optimizer.pt b/checkpoint-300/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..bd0abb412057d095af3ffbaacea0b5664556e199 --- /dev/null +++ b/checkpoint-300/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdefebf0be320ce29d02b4a14b294ba0d55cf710623e6b157b90634135a7ca3b +size 161816251 diff --git a/checkpoint-300/processor_config.json b/checkpoint-300/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-300/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-300/rng_state.pth b/checkpoint-300/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..08a680a4fece89f332cac39cbb2c8d270a2ccf54 --- /dev/null +++ b/checkpoint-300/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f02ba382dd212e1e819e86c1d161e9cf0139ec1bd5050f7d40136b15ee36cbb +size 14645 diff --git a/checkpoint-300/scheduler.pt b/checkpoint-300/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..b47e894194da9bb4b59abda34537a8c2e7fba498 --- /dev/null +++ b/checkpoint-300/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15f91067d2c19e568f5688cb26132dd8b62b6263bb8f4601c9b771d16338c9e8 +size 1465 diff --git a/checkpoint-300/tokenizer.json b/checkpoint-300/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-300/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-300/tokenizer_config.json b/checkpoint-300/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-300/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-300/trainer_state.json b/checkpoint-300/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..4d85eb52476eb1a2740be21f906fb862bcb46a34 --- /dev/null +++ b/checkpoint-300/trainer_state.json @@ -0,0 +1,400 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 1.5384615384615383, + "eval_steps": 50, + "global_step": 300, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 7.447152744081408e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-300/training_args.bin b/checkpoint-300/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-300/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-350/README.md b/checkpoint-350/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-350/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-350/adapter_config.json b/checkpoint-350/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-350/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-350/adapter_model.safetensors b/checkpoint-350/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..cb86cb792093af8cd5cd452404ae8377ad7b1fc9 --- /dev/null +++ b/checkpoint-350/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4265856ad0f31819a710843339af0af6348b38604fc74bcde705393dd4f6ae43 +size 80798760 diff --git a/checkpoint-350/chat_template.jinja b/checkpoint-350/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-350/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-350/optimizer.pt b/checkpoint-350/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..65a95d382c4d79061ef795932d28207206f80c44 --- /dev/null +++ b/checkpoint-350/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4143aad841d326272a926923ff62e1ca0d1f5263018b511cb1a447ac2a9a1db1 +size 161816251 diff --git a/checkpoint-350/processor_config.json b/checkpoint-350/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-350/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-350/rng_state.pth b/checkpoint-350/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..cac2c68998adaf72e5a57a0c4110bfe7350447f9 --- /dev/null +++ b/checkpoint-350/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d195a3e2d94a46ae2efb56d9264b3a336c3f1d74b6fb52a13024704136686ff +size 14645 diff --git a/checkpoint-350/scheduler.pt b/checkpoint-350/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..c9cc5fca647eef11fac7cf616442ef7b7d550a9a --- /dev/null +++ b/checkpoint-350/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e33f13c2e20fa1728141ae5f450c4a7a2265ee0fa718a94e8f1636e9fae18d2 +size 1465 diff --git a/checkpoint-350/tokenizer.json b/checkpoint-350/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-350/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-350/tokenizer_config.json b/checkpoint-350/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-350/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-350/trainer_state.json b/checkpoint-350/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..d577eeb717e75a00c0359288bbb8b729e2b2398d --- /dev/null +++ b/checkpoint-350/trainer_state.json @@ -0,0 +1,461 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 1.7948717948717947, + "eval_steps": 50, + "global_step": 350, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 8.690870889281126e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-350/training_args.bin b/checkpoint-350/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-350/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-400/README.md b/checkpoint-400/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-400/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-400/adapter_config.json b/checkpoint-400/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-400/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-400/adapter_model.safetensors b/checkpoint-400/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..82a6919de5a91103c2fba00a88987280dafd703b --- /dev/null +++ b/checkpoint-400/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4573db540788d9d7f02864102312b672ffd42d273ea6967ee0dfb9c008eeb05c +size 80798760 diff --git a/checkpoint-400/chat_template.jinja b/checkpoint-400/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-400/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-400/optimizer.pt b/checkpoint-400/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..9db030660ba791e5196bf541d0c0c80314245d78 --- /dev/null +++ b/checkpoint-400/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:078f6e58e964adf19b0bebb54af2627583f3e0588dc0865c7b65c3207eff8906 +size 161816251 diff --git a/checkpoint-400/processor_config.json b/checkpoint-400/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-400/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-400/rng_state.pth b/checkpoint-400/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..cc35dafa2ec0bc04e2a6a1419e74770970d9c086 --- /dev/null +++ b/checkpoint-400/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb6f6c993e78827cd9d61a1deb498ed329a0f3d23cfbd22a2752dfbe090e6af3 +size 14645 diff --git a/checkpoint-400/scheduler.pt b/checkpoint-400/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..51a1a234898c6cb8dd00158d8f169255ce7a3f28 --- /dev/null +++ b/checkpoint-400/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dcb932c4948c26efd7b12c540fc84c147f67130f05c7a9a592eb5e6b61164d6 +size 1465 diff --git a/checkpoint-400/tokenizer.json b/checkpoint-400/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-400/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-400/tokenizer_config.json b/checkpoint-400/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-400/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-400/trainer_state.json b/checkpoint-400/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..439d5281971c944eb991bfe569b6822658fd426d --- /dev/null +++ b/checkpoint-400/trainer_state.json @@ -0,0 +1,522 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 2.051282051282051, + "eval_steps": 50, + "global_step": 400, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + }, + { + "entropy": 0.002175393698780681, + "epoch": 1.8461538461538463, + "grad_norm": 0.0634765625, + "learning_rate": 7.971781305114638e-05, + "loss": 0.0009802835993468761, + "mean_token_accuracy": 0.9998641297221184, + "num_tokens": 1854361.0, + "step": 360 + }, + { + "entropy": 0.0020826497697271408, + "epoch": 1.8974358974358974, + "grad_norm": 0.12060546875, + "learning_rate": 7.619047619047618e-05, + "loss": 0.0020291557535529136, + "mean_token_accuracy": 0.9993291720747948, + "num_tokens": 1905996.0, + "step": 370 + }, + { + "entropy": 0.002114907601935556, + "epoch": 1.9487179487179487, + "grad_norm": 0.015380859375, + "learning_rate": 7.2663139329806e-05, + "loss": 0.0042376209050416945, + "mean_token_accuracy": 0.9990605100989342, + "num_tokens": 1957441.0, + "step": 380 + }, + { + "entropy": 0.0014086466504522831, + "epoch": 2.0, + "grad_norm": 0.0032196044921875, + "learning_rate": 6.91358024691358e-05, + "loss": 0.0010647444054484368, + "mean_token_accuracy": 0.9994769513607025, + "num_tokens": 2008932.0, + "step": 390 + }, + { + "entropy": 0.0014381618235347559, + "epoch": 2.051282051282051, + "grad_norm": 0.0634765625, + "learning_rate": 6.560846560846561e-05, + "loss": 0.0006537370849400759, + "mean_token_accuracy": 0.9997274205088615, + "num_tokens": 2060391.0, + "step": 400 + }, + { + "epoch": 2.051282051282051, + "eval_entropy": 0.0027662719393799994, + "eval_loss": 0.00218246690928936, + "eval_mean_token_accuracy": 0.9994781497789889, + "eval_num_tokens": 2060391.0, + "eval_runtime": 33.7893, + "eval_samples_per_second": 23.084, + "eval_steps_per_second": 2.9, + "step": 400 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 9.933392989924147e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-400/training_args.bin b/checkpoint-400/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-400/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-450/README.md b/checkpoint-450/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-450/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-450/adapter_config.json b/checkpoint-450/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-450/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-450/adapter_model.safetensors b/checkpoint-450/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..697ca9e25507a219cf6fda5560b6070b94af9c56 --- /dev/null +++ b/checkpoint-450/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d56d54f1a76a323ae7d36cea033f490b28d3ae35679dcbfc6cc07e0cc8257201 +size 80798760 diff --git a/checkpoint-450/chat_template.jinja b/checkpoint-450/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-450/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-450/optimizer.pt b/checkpoint-450/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..eff3a2b316201e167e4990b4f7dde5a0bbe4f9f7 --- /dev/null +++ b/checkpoint-450/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5bd83e0ded25a4c885e1de4875fc9ac85e64707e0fe324f92be72f797a7c273 +size 161816251 diff --git a/checkpoint-450/processor_config.json b/checkpoint-450/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-450/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-450/rng_state.pth b/checkpoint-450/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..b8d200e47b891e2b57e6333a3ca4c394c485b608 --- /dev/null +++ b/checkpoint-450/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fea4a05ed159d7c1ee6dc53ce01528daaf9393439c0b1e860ba26d6172749502 +size 14645 diff --git a/checkpoint-450/scheduler.pt b/checkpoint-450/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..e5c54d9d831850b804e5935e42283a80fc52b400 --- /dev/null +++ b/checkpoint-450/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:911c04478398fdc4d6ac3ffd5f2f4944f796f475e29a8632d45d189ebf521ecd +size 1465 diff --git a/checkpoint-450/tokenizer.json b/checkpoint-450/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-450/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-450/tokenizer_config.json b/checkpoint-450/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-450/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-450/trainer_state.json b/checkpoint-450/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..bdc4352e934817bcba842ecebfe3f07226a0d2e9 --- /dev/null +++ b/checkpoint-450/trainer_state.json @@ -0,0 +1,583 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 2.3076923076923075, + "eval_steps": 50, + "global_step": 450, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + }, + { + "entropy": 0.002175393698780681, + "epoch": 1.8461538461538463, + "grad_norm": 0.0634765625, + "learning_rate": 7.971781305114638e-05, + "loss": 0.0009802835993468761, + "mean_token_accuracy": 0.9998641297221184, + "num_tokens": 1854361.0, + "step": 360 + }, + { + "entropy": 0.0020826497697271408, + "epoch": 1.8974358974358974, + "grad_norm": 0.12060546875, + "learning_rate": 7.619047619047618e-05, + "loss": 0.0020291557535529136, + "mean_token_accuracy": 0.9993291720747948, + "num_tokens": 1905996.0, + "step": 370 + }, + { + "entropy": 0.002114907601935556, + "epoch": 1.9487179487179487, + "grad_norm": 0.015380859375, + "learning_rate": 7.2663139329806e-05, + "loss": 0.0042376209050416945, + "mean_token_accuracy": 0.9990605100989342, + "num_tokens": 1957441.0, + "step": 380 + }, + { + "entropy": 0.0014086466504522831, + "epoch": 2.0, + "grad_norm": 0.0032196044921875, + "learning_rate": 6.91358024691358e-05, + "loss": 0.0010647444054484368, + "mean_token_accuracy": 0.9994769513607025, + "num_tokens": 2008932.0, + "step": 390 + }, + { + "entropy": 0.0014381618235347559, + "epoch": 2.051282051282051, + "grad_norm": 0.0634765625, + "learning_rate": 6.560846560846561e-05, + "loss": 0.0006537370849400759, + "mean_token_accuracy": 0.9997274205088615, + "num_tokens": 2060391.0, + "step": 400 + }, + { + "epoch": 2.051282051282051, + "eval_entropy": 0.0027662719393799994, + "eval_loss": 0.00218246690928936, + "eval_mean_token_accuracy": 0.9994781497789889, + "eval_num_tokens": 2060391.0, + "eval_runtime": 33.7893, + "eval_samples_per_second": 23.084, + "eval_steps_per_second": 2.9, + "step": 400 + }, + { + "entropy": 0.00141929256496951, + "epoch": 2.1025641025641026, + "grad_norm": 0.0042724609375, + "learning_rate": 6.208112874779542e-05, + "loss": 0.000376143166795373, + "mean_token_accuracy": 0.9998684212565422, + "num_tokens": 2111999.0, + "step": 410 + }, + { + "entropy": 0.0012200279506942024, + "epoch": 2.1538461538461537, + "grad_norm": 0.005096435546875, + "learning_rate": 5.855379188712522e-05, + "loss": 0.0002682086545974016, + "mean_token_accuracy": 1.0, + "num_tokens": 2163386.0, + "step": 420 + }, + { + "entropy": 0.0011089710573287449, + "epoch": 2.2051282051282053, + "grad_norm": 0.05322265625, + "learning_rate": 5.5026455026455024e-05, + "loss": 0.0002907829824835062, + "mean_token_accuracy": 0.9998663097620011, + "num_tokens": 2214861.0, + "step": 430 + }, + { + "entropy": 0.0006839066634711343, + "epoch": 2.2564102564102564, + "grad_norm": 0.00830078125, + "learning_rate": 5.149911816578483e-05, + "loss": 9.50500019825995e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2266411.0, + "step": 440 + }, + { + "entropy": 0.0008514739081874722, + "epoch": 2.3076923076923075, + "grad_norm": 0.001068115234375, + "learning_rate": 4.797178130511464e-05, + "loss": 0.00012474560644477607, + "mean_token_accuracy": 1.0, + "num_tokens": 2317773.0, + "step": 450 + }, + { + "epoch": 2.3076923076923075, + "eval_entropy": 0.002492038670072584, + "eval_loss": 0.0021736996714025736, + "eval_mean_token_accuracy": 0.9994776826732013, + "eval_num_tokens": 2317773.0, + "eval_runtime": 33.4772, + "eval_samples_per_second": 23.299, + "eval_steps_per_second": 2.927, + "step": 450 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 1.1172812849998234e+17, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-450/training_args.bin b/checkpoint-450/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-450/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-50/README.md b/checkpoint-50/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-50/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-50/adapter_config.json b/checkpoint-50/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-50/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-50/adapter_model.safetensors b/checkpoint-50/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..b48f5585c126993ab52a5a8d64615ebfd5f13b1e --- /dev/null +++ b/checkpoint-50/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f3a4a69403545aed9ef58c095d678b613a181d569347fcfadf54fb0edf9c170 +size 80798760 diff --git a/checkpoint-50/chat_template.jinja b/checkpoint-50/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-50/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-50/optimizer.pt b/checkpoint-50/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..36d8b6e3760f77ba19dab0d9f4252b5abc77c984 --- /dev/null +++ b/checkpoint-50/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63600240e50ffca6bf78c7e6e664d55367047fdb5f92b64205d9e5683000ffbe +size 161816251 diff --git a/checkpoint-50/processor_config.json b/checkpoint-50/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-50/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-50/rng_state.pth b/checkpoint-50/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..6a50371a24e8229225add02558e426e8b9833bc6 --- /dev/null +++ b/checkpoint-50/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b770a1498a2266c9da187e62832f2b4f64b752961ce09987bcd46fa6d73064b +size 14645 diff --git a/checkpoint-50/scheduler.pt b/checkpoint-50/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..803ef215b717d786be6f5a84913ec50025a21ac6 --- /dev/null +++ b/checkpoint-50/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df01230130cbe46cf138207b30c3f3c36149b89f839bd227178f0f47a68333b1 +size 1465 diff --git a/checkpoint-50/tokenizer.json b/checkpoint-50/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-50/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-50/tokenizer_config.json b/checkpoint-50/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-50/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-50/trainer_state.json b/checkpoint-50/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..20e0c173a4767f4128dbd00b5832c571afd48fd8 --- /dev/null +++ b/checkpoint-50/trainer_state.json @@ -0,0 +1,95 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 0.2564102564102564, + "eval_steps": 50, + "global_step": 50, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 1.2423352186810368e+16, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-50/training_args.bin b/checkpoint-50/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-50/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-500/README.md b/checkpoint-500/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-500/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-500/adapter_config.json b/checkpoint-500/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-500/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-500/adapter_model.safetensors b/checkpoint-500/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..37128491ace5c20c01530234be5260135ff74a71 --- /dev/null +++ b/checkpoint-500/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da9ab5156632bc2bd456fa51137633cd1ce8a5aad43ec6e99020eb56371eb499 +size 80798760 diff --git a/checkpoint-500/chat_template.jinja b/checkpoint-500/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-500/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-500/optimizer.pt b/checkpoint-500/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..edbd8ba1a6bf2c07f848ed6eaf5def1c4764f608 --- /dev/null +++ b/checkpoint-500/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4539089203e77f81a383c84f5543b0f1a410da33380c25cb20ef74222b5fed5 +size 161816251 diff --git a/checkpoint-500/processor_config.json b/checkpoint-500/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-500/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-500/rng_state.pth b/checkpoint-500/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..2b8d64997273588c7ed1f2a7b7247ab2164f5ec0 --- /dev/null +++ b/checkpoint-500/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c235fb32bd47c163bb6f77ab76734e93ad11a2d9f72e2c3a73f06e1b08f4114 +size 14645 diff --git a/checkpoint-500/scheduler.pt b/checkpoint-500/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..81c93ffe631eeae0c8477f3273099032da0d445b --- /dev/null +++ b/checkpoint-500/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62881df6a55056c7fbdf06ee0e06fbdf63cf27ec3d9f9589640bccc219a640bb +size 1465 diff --git a/checkpoint-500/tokenizer.json b/checkpoint-500/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-500/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-500/tokenizer_config.json b/checkpoint-500/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-500/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-500/trainer_state.json b/checkpoint-500/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..887dfeb1f9fc8db68dda01fa6a6c274e46e4df1e --- /dev/null +++ b/checkpoint-500/trainer_state.json @@ -0,0 +1,644 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 2.564102564102564, + "eval_steps": 50, + "global_step": 500, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + }, + { + "entropy": 0.002175393698780681, + "epoch": 1.8461538461538463, + "grad_norm": 0.0634765625, + "learning_rate": 7.971781305114638e-05, + "loss": 0.0009802835993468761, + "mean_token_accuracy": 0.9998641297221184, + "num_tokens": 1854361.0, + "step": 360 + }, + { + "entropy": 0.0020826497697271408, + "epoch": 1.8974358974358974, + "grad_norm": 0.12060546875, + "learning_rate": 7.619047619047618e-05, + "loss": 0.0020291557535529136, + "mean_token_accuracy": 0.9993291720747948, + "num_tokens": 1905996.0, + "step": 370 + }, + { + "entropy": 0.002114907601935556, + "epoch": 1.9487179487179487, + "grad_norm": 0.015380859375, + "learning_rate": 7.2663139329806e-05, + "loss": 0.0042376209050416945, + "mean_token_accuracy": 0.9990605100989342, + "num_tokens": 1957441.0, + "step": 380 + }, + { + "entropy": 0.0014086466504522831, + "epoch": 2.0, + "grad_norm": 0.0032196044921875, + "learning_rate": 6.91358024691358e-05, + "loss": 0.0010647444054484368, + "mean_token_accuracy": 0.9994769513607025, + "num_tokens": 2008932.0, + "step": 390 + }, + { + "entropy": 0.0014381618235347559, + "epoch": 2.051282051282051, + "grad_norm": 0.0634765625, + "learning_rate": 6.560846560846561e-05, + "loss": 0.0006537370849400759, + "mean_token_accuracy": 0.9997274205088615, + "num_tokens": 2060391.0, + "step": 400 + }, + { + "epoch": 2.051282051282051, + "eval_entropy": 0.0027662719393799994, + "eval_loss": 0.00218246690928936, + "eval_mean_token_accuracy": 0.9994781497789889, + "eval_num_tokens": 2060391.0, + "eval_runtime": 33.7893, + "eval_samples_per_second": 23.084, + "eval_steps_per_second": 2.9, + "step": 400 + }, + { + "entropy": 0.00141929256496951, + "epoch": 2.1025641025641026, + "grad_norm": 0.0042724609375, + "learning_rate": 6.208112874779542e-05, + "loss": 0.000376143166795373, + "mean_token_accuracy": 0.9998684212565422, + "num_tokens": 2111999.0, + "step": 410 + }, + { + "entropy": 0.0012200279506942024, + "epoch": 2.1538461538461537, + "grad_norm": 0.005096435546875, + "learning_rate": 5.855379188712522e-05, + "loss": 0.0002682086545974016, + "mean_token_accuracy": 1.0, + "num_tokens": 2163386.0, + "step": 420 + }, + { + "entropy": 0.0011089710573287449, + "epoch": 2.2051282051282053, + "grad_norm": 0.05322265625, + "learning_rate": 5.5026455026455024e-05, + "loss": 0.0002907829824835062, + "mean_token_accuracy": 0.9998663097620011, + "num_tokens": 2214861.0, + "step": 430 + }, + { + "entropy": 0.0006839066634711343, + "epoch": 2.2564102564102564, + "grad_norm": 0.00830078125, + "learning_rate": 5.149911816578483e-05, + "loss": 9.50500019825995e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2266411.0, + "step": 440 + }, + { + "entropy": 0.0008514739081874722, + "epoch": 2.3076923076923075, + "grad_norm": 0.001068115234375, + "learning_rate": 4.797178130511464e-05, + "loss": 0.00012474560644477607, + "mean_token_accuracy": 1.0, + "num_tokens": 2317773.0, + "step": 450 + }, + { + "epoch": 2.3076923076923075, + "eval_entropy": 0.002492038670072584, + "eval_loss": 0.0021736996714025736, + "eval_mean_token_accuracy": 0.9994776826732013, + "eval_num_tokens": 2317773.0, + "eval_runtime": 33.4772, + "eval_samples_per_second": 23.299, + "eval_steps_per_second": 2.927, + "step": 450 + }, + { + "entropy": 0.0010284704316291028, + "epoch": 2.358974358974359, + "grad_norm": 0.02880859375, + "learning_rate": 4.4444444444444447e-05, + "loss": 0.00019889269024133682, + "mean_token_accuracy": 1.0, + "num_tokens": 2369121.0, + "step": 460 + }, + { + "entropy": 0.0009277552904677578, + "epoch": 2.41025641025641, + "grad_norm": 0.017333984375, + "learning_rate": 4.091710758377425e-05, + "loss": 0.0001858106581494212, + "mean_token_accuracy": 1.0, + "num_tokens": 2420681.0, + "step": 470 + }, + { + "entropy": 0.001167380854167277, + "epoch": 2.4615384615384617, + "grad_norm": 0.01385498046875, + "learning_rate": 3.7389770723104055e-05, + "loss": 0.00031680860556662085, + "mean_token_accuracy": 1.0, + "num_tokens": 2472278.0, + "step": 480 + }, + { + "entropy": 0.0008280243579065427, + "epoch": 2.5128205128205128, + "grad_norm": 0.012451171875, + "learning_rate": 3.386243386243386e-05, + "loss": 0.00018313571345061064, + "mean_token_accuracy": 1.0, + "num_tokens": 2524031.0, + "step": 490 + }, + { + "entropy": 0.000662563697915175, + "epoch": 2.564102564102564, + "grad_norm": 0.00299072265625, + "learning_rate": 3.0335097001763667e-05, + "loss": 9.901513112708926e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2575569.0, + "step": 500 + }, + { + "epoch": 2.564102564102564, + "eval_entropy": 0.0023775911646893924, + "eval_loss": 0.0021765201818197966, + "eval_mean_token_accuracy": 0.9994806860174451, + "eval_num_tokens": 2575569.0, + "eval_runtime": 34.1418, + "eval_samples_per_second": 22.846, + "eval_steps_per_second": 2.87, + "step": 500 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 1.2413765142160589e+17, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-500/training_args.bin b/checkpoint-500/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-500/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-550/README.md b/checkpoint-550/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-550/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-550/adapter_config.json b/checkpoint-550/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-550/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-550/adapter_model.safetensors b/checkpoint-550/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..be92d91e1099d7f0ba4613d0652b0b736be29767 --- /dev/null +++ b/checkpoint-550/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92ba2fb2715ba28ea2b63cd1a9b1e8232e359c996222d8298f65a441dda3e8ca +size 80798760 diff --git a/checkpoint-550/chat_template.jinja b/checkpoint-550/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-550/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-550/optimizer.pt b/checkpoint-550/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..fde24ee237d4e80a32441e7b6d440f2a952b32cc --- /dev/null +++ b/checkpoint-550/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf5ee4274d078165f373c5f583a1cf59a607dafbc422ee1977b38ae6ceb3c4f5 +size 161816251 diff --git a/checkpoint-550/processor_config.json b/checkpoint-550/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-550/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-550/rng_state.pth b/checkpoint-550/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..125edc241b8a9e40eeb0009487f5272d8730a711 --- /dev/null +++ b/checkpoint-550/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e465d0e4472dd32525e3c8b92de7731c818b98406e48c592092892ba8bd0bede +size 14645 diff --git a/checkpoint-550/scheduler.pt b/checkpoint-550/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..e5c9961c5ecd7052c509f33937718857129e69f1 --- /dev/null +++ b/checkpoint-550/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a66a53873bdb15f5017f2302a393edd52085d63ddd4ecc67e20ca5cf7677c38 +size 1465 diff --git a/checkpoint-550/tokenizer.json b/checkpoint-550/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-550/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-550/tokenizer_config.json b/checkpoint-550/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-550/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-550/trainer_state.json b/checkpoint-550/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..7eeda14d18485a0105cc1a6efffae9126ee373e1 --- /dev/null +++ b/checkpoint-550/trainer_state.json @@ -0,0 +1,705 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 2.8205128205128203, + "eval_steps": 50, + "global_step": 550, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + }, + { + "entropy": 0.002175393698780681, + "epoch": 1.8461538461538463, + "grad_norm": 0.0634765625, + "learning_rate": 7.971781305114638e-05, + "loss": 0.0009802835993468761, + "mean_token_accuracy": 0.9998641297221184, + "num_tokens": 1854361.0, + "step": 360 + }, + { + "entropy": 0.0020826497697271408, + "epoch": 1.8974358974358974, + "grad_norm": 0.12060546875, + "learning_rate": 7.619047619047618e-05, + "loss": 0.0020291557535529136, + "mean_token_accuracy": 0.9993291720747948, + "num_tokens": 1905996.0, + "step": 370 + }, + { + "entropy": 0.002114907601935556, + "epoch": 1.9487179487179487, + "grad_norm": 0.015380859375, + "learning_rate": 7.2663139329806e-05, + "loss": 0.0042376209050416945, + "mean_token_accuracy": 0.9990605100989342, + "num_tokens": 1957441.0, + "step": 380 + }, + { + "entropy": 0.0014086466504522831, + "epoch": 2.0, + "grad_norm": 0.0032196044921875, + "learning_rate": 6.91358024691358e-05, + "loss": 0.0010647444054484368, + "mean_token_accuracy": 0.9994769513607025, + "num_tokens": 2008932.0, + "step": 390 + }, + { + "entropy": 0.0014381618235347559, + "epoch": 2.051282051282051, + "grad_norm": 0.0634765625, + "learning_rate": 6.560846560846561e-05, + "loss": 0.0006537370849400759, + "mean_token_accuracy": 0.9997274205088615, + "num_tokens": 2060391.0, + "step": 400 + }, + { + "epoch": 2.051282051282051, + "eval_entropy": 0.0027662719393799994, + "eval_loss": 0.00218246690928936, + "eval_mean_token_accuracy": 0.9994781497789889, + "eval_num_tokens": 2060391.0, + "eval_runtime": 33.7893, + "eval_samples_per_second": 23.084, + "eval_steps_per_second": 2.9, + "step": 400 + }, + { + "entropy": 0.00141929256496951, + "epoch": 2.1025641025641026, + "grad_norm": 0.0042724609375, + "learning_rate": 6.208112874779542e-05, + "loss": 0.000376143166795373, + "mean_token_accuracy": 0.9998684212565422, + "num_tokens": 2111999.0, + "step": 410 + }, + { + "entropy": 0.0012200279506942024, + "epoch": 2.1538461538461537, + "grad_norm": 0.005096435546875, + "learning_rate": 5.855379188712522e-05, + "loss": 0.0002682086545974016, + "mean_token_accuracy": 1.0, + "num_tokens": 2163386.0, + "step": 420 + }, + { + "entropy": 0.0011089710573287449, + "epoch": 2.2051282051282053, + "grad_norm": 0.05322265625, + "learning_rate": 5.5026455026455024e-05, + "loss": 0.0002907829824835062, + "mean_token_accuracy": 0.9998663097620011, + "num_tokens": 2214861.0, + "step": 430 + }, + { + "entropy": 0.0006839066634711343, + "epoch": 2.2564102564102564, + "grad_norm": 0.00830078125, + "learning_rate": 5.149911816578483e-05, + "loss": 9.50500019825995e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2266411.0, + "step": 440 + }, + { + "entropy": 0.0008514739081874722, + "epoch": 2.3076923076923075, + "grad_norm": 0.001068115234375, + "learning_rate": 4.797178130511464e-05, + "loss": 0.00012474560644477607, + "mean_token_accuracy": 1.0, + "num_tokens": 2317773.0, + "step": 450 + }, + { + "epoch": 2.3076923076923075, + "eval_entropy": 0.002492038670072584, + "eval_loss": 0.0021736996714025736, + "eval_mean_token_accuracy": 0.9994776826732013, + "eval_num_tokens": 2317773.0, + "eval_runtime": 33.4772, + "eval_samples_per_second": 23.299, + "eval_steps_per_second": 2.927, + "step": 450 + }, + { + "entropy": 0.0010284704316291028, + "epoch": 2.358974358974359, + "grad_norm": 0.02880859375, + "learning_rate": 4.4444444444444447e-05, + "loss": 0.00019889269024133682, + "mean_token_accuracy": 1.0, + "num_tokens": 2369121.0, + "step": 460 + }, + { + "entropy": 0.0009277552904677578, + "epoch": 2.41025641025641, + "grad_norm": 0.017333984375, + "learning_rate": 4.091710758377425e-05, + "loss": 0.0001858106581494212, + "mean_token_accuracy": 1.0, + "num_tokens": 2420681.0, + "step": 470 + }, + { + "entropy": 0.001167380854167277, + "epoch": 2.4615384615384617, + "grad_norm": 0.01385498046875, + "learning_rate": 3.7389770723104055e-05, + "loss": 0.00031680860556662085, + "mean_token_accuracy": 1.0, + "num_tokens": 2472278.0, + "step": 480 + }, + { + "entropy": 0.0008280243579065427, + "epoch": 2.5128205128205128, + "grad_norm": 0.012451171875, + "learning_rate": 3.386243386243386e-05, + "loss": 0.00018313571345061064, + "mean_token_accuracy": 1.0, + "num_tokens": 2524031.0, + "step": 490 + }, + { + "entropy": 0.000662563697915175, + "epoch": 2.564102564102564, + "grad_norm": 0.00299072265625, + "learning_rate": 3.0335097001763667e-05, + "loss": 9.901513112708926e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2575569.0, + "step": 500 + }, + { + "epoch": 2.564102564102564, + "eval_entropy": 0.0023775911646893924, + "eval_loss": 0.0021765201818197966, + "eval_mean_token_accuracy": 0.9994806860174451, + "eval_num_tokens": 2575569.0, + "eval_runtime": 34.1418, + "eval_samples_per_second": 22.846, + "eval_steps_per_second": 2.87, + "step": 500 + }, + { + "entropy": 0.0007076729292748496, + "epoch": 2.6153846153846154, + "grad_norm": 0.00567626953125, + "learning_rate": 2.6807760141093475e-05, + "loss": 0.00010458455653861165, + "mean_token_accuracy": 1.0, + "num_tokens": 2627061.0, + "step": 510 + }, + { + "entropy": 0.0010531799813179531, + "epoch": 2.6666666666666665, + "grad_norm": 0.01043701171875, + "learning_rate": 2.328042328042328e-05, + "loss": 0.00024276382755488156, + "mean_token_accuracy": 1.0, + "num_tokens": 2678540.0, + "step": 520 + }, + { + "entropy": 0.001217566412378801, + "epoch": 2.717948717948718, + "grad_norm": 0.0267333984375, + "learning_rate": 1.9753086419753087e-05, + "loss": 0.0003309894585981965, + "mean_token_accuracy": 1.0, + "num_tokens": 2730077.0, + "step": 530 + }, + { + "entropy": 0.0007735005236099823, + "epoch": 2.769230769230769, + "grad_norm": 0.0086669921875, + "learning_rate": 1.622574955908289e-05, + "loss": 0.00046750204637646675, + "mean_token_accuracy": 0.99986702054739, + "num_tokens": 2781570.0, + "step": 540 + }, + { + "entropy": 0.0008960626997577492, + "epoch": 2.8205128205128203, + "grad_norm": 0.0021209716796875, + "learning_rate": 1.2698412698412699e-05, + "loss": 0.00015908649656921626, + "mean_token_accuracy": 1.0, + "num_tokens": 2832938.0, + "step": 550 + }, + { + "epoch": 2.8205128205128203, + "eval_entropy": 0.002360386049466407, + "eval_loss": 0.0021600036416202784, + "eval_mean_token_accuracy": 0.9995086424204768, + "eval_num_tokens": 2832938.0, + "eval_runtime": 34.234, + "eval_samples_per_second": 22.784, + "eval_steps_per_second": 2.863, + "step": 550 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 1.3656474124765594e+17, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-550/training_args.bin b/checkpoint-550/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-550/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/checkpoint-585/README.md b/checkpoint-585/README.md new file mode 100644 index 0000000000000000000000000000000000000000..fc2b17370ba66d65db8790486e482ce24b9fb7f0 --- /dev/null +++ b/checkpoint-585/README.md @@ -0,0 +1,209 @@ +--- +base_model: Qwen/Qwen2-VL-7B-Instruct +library_name: peft +pipeline_tag: text-generation +tags: +- base_model:adapter:Qwen/Qwen2-VL-7B-Instruct +- lora +- sft +- transformers +- trl +--- + +# Model Card for Model ID + + + + + +## Model Details + +### Model Description + + + + + +- **Developed by:** [More Information Needed] +- **Funded by [optional]:** [More Information Needed] +- **Shared by [optional]:** [More Information Needed] +- **Model type:** [More Information Needed] +- **Language(s) (NLP):** [More Information Needed] +- **License:** [More Information Needed] +- **Finetuned from model [optional]:** [More Information Needed] + +### Model Sources [optional] + + + +- **Repository:** [More Information Needed] +- **Paper [optional]:** [More Information Needed] +- **Demo [optional]:** [More Information Needed] + +## Uses + + + +### Direct Use + + + +[More Information Needed] + +### Downstream Use [optional] + + + +[More Information Needed] + +### Out-of-Scope Use + + + +[More Information Needed] + +## Bias, Risks, and Limitations + + + +[More Information Needed] + +### Recommendations + + + +Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. + +## How to Get Started with the Model + +Use the code below to get started with the model. + +[More Information Needed] + +## Training Details + +### Training Data + + + +[More Information Needed] + +### Training Procedure + + + +#### Preprocessing [optional] + +[More Information Needed] + + +#### Training Hyperparameters + +- **Training regime:** [More Information Needed] + +#### Speeds, Sizes, Times [optional] + + + +[More Information Needed] + +## Evaluation + + + +### Testing Data, Factors & Metrics + +#### Testing Data + + + +[More Information Needed] + +#### Factors + + + +[More Information Needed] + +#### Metrics + + + +[More Information Needed] + +### Results + +[More Information Needed] + +#### Summary + + + +## Model Examination [optional] + + + +[More Information Needed] + +## Environmental Impact + + + +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). + +- **Hardware Type:** [More Information Needed] +- **Hours used:** [More Information Needed] +- **Cloud Provider:** [More Information Needed] +- **Compute Region:** [More Information Needed] +- **Carbon Emitted:** [More Information Needed] + +## Technical Specifications [optional] + +### Model Architecture and Objective + +[More Information Needed] + +### Compute Infrastructure + +[More Information Needed] + +#### Hardware + +[More Information Needed] + +#### Software + +[More Information Needed] + +## Citation [optional] + + + +**BibTeX:** + +[More Information Needed] + +**APA:** + +[More Information Needed] + +## Glossary [optional] + + + +[More Information Needed] + +## More Information [optional] + +[More Information Needed] + +## Model Card Authors [optional] + +[More Information Needed] + +## Model Card Contact + +[More Information Needed] +### Framework versions + +- PEFT 0.19.1 \ No newline at end of file diff --git a/checkpoint-585/adapter_config.json b/checkpoint-585/adapter_config.json new file mode 100644 index 0000000000000000000000000000000000000000..5d00f80e5627dd1ecb1fd808f19bb08f687d168c --- /dev/null +++ b/checkpoint-585/adapter_config.json @@ -0,0 +1,48 @@ +{ + "alora_invocation_tokens": null, + "alpha_pattern": {}, + "arrow_config": null, + "auto_mapping": null, + "base_model_name_or_path": "Qwen/Qwen2-VL-7B-Instruct", + "bias": "none", + "corda_config": null, + "ensure_weight_tying": false, + "eva_config": null, + "exclude_modules": null, + "fan_in_fan_out": false, + "inference_mode": true, + "init_lora_weights": true, + "layer_replication": null, + "layers_pattern": null, + "layers_to_transform": null, + "loftq_config": {}, + "lora_alpha": 16, + "lora_bias": false, + "lora_dropout": 0.05, + "lora_ga_config": null, + "megatron_config": null, + "megatron_core": "megatron.core", + "modules_to_save": null, + "peft_type": "LORA", + "peft_version": "0.19.1", + "qalora_group_size": 16, + "r": 16, + "rank_pattern": {}, + "revision": null, + "target_modules": [ + "down_proj", + "q_proj", + "up_proj", + "gate_proj", + "o_proj", + "k_proj", + "v_proj" + ], + "target_parameters": null, + "task_type": "CAUSAL_LM", + "trainable_token_indices": null, + "use_bdlora": null, + "use_dora": false, + "use_qalora": false, + "use_rslora": false +} \ No newline at end of file diff --git a/checkpoint-585/adapter_model.safetensors b/checkpoint-585/adapter_model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..8f69818f4272b3783f3c7bb5276a9f241784b0ea --- /dev/null +++ b/checkpoint-585/adapter_model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d12f67e364b406e7d666d63de63287fa5b5b5ea97c9f8022d4d211f369c213ec +size 80798760 diff --git a/checkpoint-585/chat_template.jinja b/checkpoint-585/chat_template.jinja new file mode 100644 index 0000000000000000000000000000000000000000..e4ebdeaabab7afda0a88fa61bf0a601ec062a04d --- /dev/null +++ b/checkpoint-585/chat_template.jinja @@ -0,0 +1,4 @@ +{% for message in messages %}{{'<|im_start|>' + message['role'] + ' +'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<|vision_start|><|image_pad|><|vision_end|>' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|> +'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant +'}}{% endif %} \ No newline at end of file diff --git a/checkpoint-585/optimizer.pt b/checkpoint-585/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..b3130ca52d931d733875d6fd113a468690b205e1 --- /dev/null +++ b/checkpoint-585/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfddc17696df8b9a8bdea333362899a3446abf2373b1cd9fbe6a57c945971f5a +size 161816251 diff --git a/checkpoint-585/processor_config.json b/checkpoint-585/processor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..6453e361852f6ff9038b80c9d1f4026fa80bdb0c --- /dev/null +++ b/checkpoint-585/processor_config.json @@ -0,0 +1,59 @@ +{ + "image_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_processor_type": "Qwen2VLImageProcessor", + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "merge_size": 2, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2 + }, + "processor_class": "Qwen2VLProcessor", + "video_processor": { + "do_convert_rgb": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "do_sample_frames": false, + "image_mean": [ + 0.48145466, + 0.4578275, + 0.40821073 + ], + "image_std": [ + 0.26862954, + 0.26130258, + 0.27577711 + ], + "max_frames": 768, + "merge_size": 2, + "min_frames": 4, + "patch_size": 14, + "resample": 3, + "rescale_factor": 0.00392156862745098, + "return_metadata": false, + "size": { + "longest_edge": 1003520, + "shortest_edge": 200704 + }, + "temporal_patch_size": 2, + "video_processor_type": "Qwen2VLVideoProcessor" + } +} diff --git a/checkpoint-585/rng_state.pth b/checkpoint-585/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..06f9d4684d8d971c52d64634764d77bab6aef794 --- /dev/null +++ b/checkpoint-585/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca0c61157d75c40b4141bfc57151692630a77d8203d1a1cca72bb4b7e2ffc102 +size 14645 diff --git a/checkpoint-585/scheduler.pt b/checkpoint-585/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..3007799568b0f6042747521c16b2c0d31e6a9200 --- /dev/null +++ b/checkpoint-585/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db69fff7b9820bbfa2c1e9014a0099a54a3c8bf168b71d0ecb12ef8f96bf8116 +size 1465 diff --git a/checkpoint-585/tokenizer.json b/checkpoint-585/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..f53f2cd75dfb6978ce2da3ed243de3d64ec37145 --- /dev/null +++ b/checkpoint-585/tokenizer.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:312c03cb421e18f41c20c3e35f3302479a3a8f8b1f06779fd900326a0d32c22f +size 11420534 diff --git a/checkpoint-585/tokenizer_config.json b/checkpoint-585/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 --- /dev/null +++ b/checkpoint-585/tokenizer_config.json @@ -0,0 +1,34 @@ +{ + "add_prefix_space": false, + "backend": "tokenizers", + "bos_token": null, + "clean_up_tokenization_spaces": false, + "eos_token": "<|im_end|>", + "errors": "replace", + "extra_special_tokens": [ + "<|im_start|>", + "<|im_end|>", + "<|object_ref_start|>", + "<|object_ref_end|>", + "<|box_start|>", + "<|box_end|>", + "<|quad_start|>", + "<|quad_end|>", + "<|vision_start|>", + "<|vision_end|>", + "<|vision_pad|>", + "<|image_pad|>", + "<|video_pad|>" + ], + "is_local": false, + "local_files_only": false, + "max_pixels": 1003520, + "min_pixels": 200704, + "model_max_length": 32768, + "pad_token": "<|endoftext|>", + "padding_side": "left", + "processor_class": "Qwen2VLProcessor", + "split_special_tokens": false, + "tokenizer_class": "Qwen2Tokenizer", + "unk_token": null +} diff --git a/checkpoint-585/trainer_state.json b/checkpoint-585/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..964aeb47ce3585c022a6f243267077026343132f --- /dev/null +++ b/checkpoint-585/trainer_state.json @@ -0,0 +1,746 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 3.0, + "eval_steps": 50, + "global_step": 585, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "entropy": 2.4637102365493773, + "epoch": 0.05128205128205128, + "grad_norm": 2.765625, + "learning_rate": 0.0001, + "loss": 4.146450805664062, + "mean_token_accuracy": 0.4472956046462059, + "num_tokens": 51447.0, + "step": 10 + }, + { + "entropy": 1.4830993048846721, + "epoch": 0.10256410256410256, + "grad_norm": 3.109375, + "learning_rate": 0.000199647266313933, + "loss": 1.2089062690734864, + "mean_token_accuracy": 0.7978096351027488, + "num_tokens": 103016.0, + "step": 20 + }, + { + "entropy": 0.14039493799209596, + "epoch": 0.15384615384615385, + "grad_norm": 0.181640625, + "learning_rate": 0.00019611992945326278, + "loss": 0.09862318038940429, + "mean_token_accuracy": 0.9768959134817123, + "num_tokens": 154485.0, + "step": 30 + }, + { + "entropy": 0.05705357789993286, + "epoch": 0.20512820512820512, + "grad_norm": 0.228515625, + "learning_rate": 0.0001925925925925926, + "loss": 0.05280521512031555, + "mean_token_accuracy": 0.98449227809906, + "num_tokens": 205787.0, + "step": 40 + }, + { + "entropy": 0.04404694363474846, + "epoch": 0.2564102564102564, + "grad_norm": 0.26171875, + "learning_rate": 0.0001890652557319224, + "loss": 0.04836506843566894, + "mean_token_accuracy": 0.9866086959838867, + "num_tokens": 257558.0, + "step": 50 + }, + { + "epoch": 0.2564102564102564, + "eval_entropy": 0.04626319377103402, + "eval_loss": 0.038738735020160675, + "eval_mean_token_accuracy": 0.9887449431176089, + "eval_num_tokens": 257558.0, + "eval_runtime": 33.7169, + "eval_samples_per_second": 23.134, + "eval_steps_per_second": 2.907, + "step": 50 + }, + { + "entropy": 0.04646105826832354, + "epoch": 0.3076923076923077, + "grad_norm": 0.1318359375, + "learning_rate": 0.0001855379188712522, + "loss": 0.038404721021652224, + "mean_token_accuracy": 0.988212588429451, + "num_tokens": 309117.0, + "step": 60 + }, + { + "entropy": 0.02904705407563597, + "epoch": 0.358974358974359, + "grad_norm": 0.1630859375, + "learning_rate": 0.000182010582010582, + "loss": 0.03366177082061768, + "mean_token_accuracy": 0.9908749505877494, + "num_tokens": 360667.0, + "step": 70 + }, + { + "entropy": 0.025401525502093136, + "epoch": 0.41025641025641024, + "grad_norm": 0.1396484375, + "learning_rate": 0.00017848324514991182, + "loss": 0.02289627343416214, + "mean_token_accuracy": 0.9932450011372567, + "num_tokens": 412109.0, + "step": 80 + }, + { + "entropy": 0.01872795370290987, + "epoch": 0.46153846153846156, + "grad_norm": 0.146484375, + "learning_rate": 0.0001749559082892416, + "loss": 0.01596512198448181, + "mean_token_accuracy": 0.9949197009205818, + "num_tokens": 463807.0, + "step": 90 + }, + { + "entropy": 0.014695886062690988, + "epoch": 0.5128205128205128, + "grad_norm": 0.263671875, + "learning_rate": 0.00017142857142857143, + "loss": 0.015300050377845764, + "mean_token_accuracy": 0.9952026203274726, + "num_tokens": 515358.0, + "step": 100 + }, + { + "epoch": 0.5128205128205128, + "eval_entropy": 0.015999708143514296, + "eval_loss": 0.011126182042062283, + "eval_mean_token_accuracy": 0.9966328283961938, + "eval_num_tokens": 515358.0, + "eval_runtime": 34.5964, + "eval_samples_per_second": 22.546, + "eval_steps_per_second": 2.833, + "step": 100 + }, + { + "entropy": 0.01770694851729786, + "epoch": 0.5641025641025641, + "grad_norm": 0.166015625, + "learning_rate": 0.00016790123456790124, + "loss": 0.014867353439331054, + "mean_token_accuracy": 0.9952066257596016, + "num_tokens": 566760.0, + "step": 110 + }, + { + "entropy": 0.012510211282642559, + "epoch": 0.6153846153846154, + "grad_norm": 0.2138671875, + "learning_rate": 0.00016437389770723103, + "loss": 0.009252084046602249, + "mean_token_accuracy": 0.9969115376472473, + "num_tokens": 618216.0, + "step": 120 + }, + { + "entropy": 0.009274337874376214, + "epoch": 0.6666666666666666, + "grad_norm": 0.287109375, + "learning_rate": 0.00016084656084656084, + "loss": 0.0120517298579216, + "mean_token_accuracy": 0.9959622755646705, + "num_tokens": 669734.0, + "step": 130 + }, + { + "entropy": 0.010663803716306574, + "epoch": 0.717948717948718, + "grad_norm": 0.045166015625, + "learning_rate": 0.00015731922398589066, + "loss": 0.010079838335514069, + "mean_token_accuracy": 0.9971717029809952, + "num_tokens": 721221.0, + "step": 140 + }, + { + "entropy": 0.012599491243599914, + "epoch": 0.7692307692307693, + "grad_norm": 0.1435546875, + "learning_rate": 0.00015379188712522047, + "loss": 0.008058080822229386, + "mean_token_accuracy": 0.9975151941180229, + "num_tokens": 772750.0, + "step": 150 + }, + { + "epoch": 0.7692307692307693, + "eval_entropy": 0.008951704307816857, + "eval_loss": 0.008457204326987267, + "eval_mean_token_accuracy": 0.9974805949902048, + "eval_num_tokens": 772750.0, + "eval_runtime": 33.7957, + "eval_samples_per_second": 23.08, + "eval_steps_per_second": 2.9, + "step": 150 + }, + { + "entropy": 0.0070068015629658476, + "epoch": 0.8205128205128205, + "grad_norm": 0.1826171875, + "learning_rate": 0.00015026455026455026, + "loss": 0.009196991473436356, + "mean_token_accuracy": 0.9970485985279083, + "num_tokens": 824284.0, + "step": 160 + }, + { + "entropy": 0.008078883049893192, + "epoch": 0.8717948717948718, + "grad_norm": 0.07275390625, + "learning_rate": 0.00014673721340388007, + "loss": 0.007902872562408448, + "mean_token_accuracy": 0.9976954877376556, + "num_tokens": 875612.0, + "step": 170 + }, + { + "entropy": 0.009782857172831427, + "epoch": 0.9230769230769231, + "grad_norm": 0.1259765625, + "learning_rate": 0.00014320987654320989, + "loss": 0.00951947197318077, + "mean_token_accuracy": 0.9976253241300583, + "num_tokens": 927280.0, + "step": 180 + }, + { + "entropy": 0.007082543981960043, + "epoch": 0.9743589743589743, + "grad_norm": 0.068359375, + "learning_rate": 0.00013968253968253967, + "loss": 0.005013102293014526, + "mean_token_accuracy": 0.9986612260341644, + "num_tokens": 978734.0, + "step": 190 + }, + { + "entropy": 0.007259179725951981, + "epoch": 1.0256410256410255, + "grad_norm": 0.0235595703125, + "learning_rate": 0.0001361552028218695, + "loss": 0.005429163575172424, + "mean_token_accuracy": 0.9987906605005265, + "num_tokens": 1030238.0, + "step": 200 + }, + { + "epoch": 1.0256410256410255, + "eval_entropy": 0.005641197878540712, + "eval_loss": 0.0032047724816948175, + "eval_mean_token_accuracy": 0.9991318352368413, + "eval_num_tokens": 1030238.0, + "eval_runtime": 33.933, + "eval_samples_per_second": 22.986, + "eval_steps_per_second": 2.888, + "step": 200 + }, + { + "entropy": 0.003626285160135012, + "epoch": 1.0769230769230769, + "grad_norm": 0.0185546875, + "learning_rate": 0.0001326278659611993, + "loss": 0.0025511950254440306, + "mean_token_accuracy": 0.9994607493281364, + "num_tokens": 1081958.0, + "step": 210 + }, + { + "entropy": 0.0038994851405732335, + "epoch": 1.1282051282051282, + "grad_norm": 0.047607421875, + "learning_rate": 0.0001291005291005291, + "loss": 0.002286631055176258, + "mean_token_accuracy": 0.9993181988596916, + "num_tokens": 1133340.0, + "step": 220 + }, + { + "entropy": 0.0019532070778950582, + "epoch": 1.1794871794871795, + "grad_norm": 0.05419921875, + "learning_rate": 0.0001255731922398589, + "loss": 0.0018642043694853782, + "mean_token_accuracy": 0.9994693964719772, + "num_tokens": 1184783.0, + "step": 230 + }, + { + "entropy": 0.002064005859574536, + "epoch": 1.2307692307692308, + "grad_norm": 0.0184326171875, + "learning_rate": 0.0001220458553791887, + "loss": 0.000675459299236536, + "mean_token_accuracy": 0.9997303619980812, + "num_tokens": 1236233.0, + "step": 240 + }, + { + "entropy": 0.0023269842600711853, + "epoch": 1.282051282051282, + "grad_norm": 0.026611328125, + "learning_rate": 0.00011851851851851852, + "loss": 0.0015977745875716209, + "mean_token_accuracy": 0.9998730957508087, + "num_tokens": 1287752.0, + "step": 250 + }, + { + "epoch": 1.282051282051282, + "eval_entropy": 0.0037526014226498274, + "eval_loss": 0.0031892559491097927, + "eval_mean_token_accuracy": 0.998915279398159, + "eval_num_tokens": 1287752.0, + "eval_runtime": 34.482, + "eval_samples_per_second": 22.621, + "eval_steps_per_second": 2.842, + "step": 250 + }, + { + "entropy": 0.002553252794314176, + "epoch": 1.3333333333333333, + "grad_norm": 0.005279541015625, + "learning_rate": 0.00011499118165784832, + "loss": 0.0011251376941800117, + "mean_token_accuracy": 0.9997297212481498, + "num_tokens": 1339259.0, + "step": 260 + }, + { + "entropy": 0.001762127889014664, + "epoch": 1.3846153846153846, + "grad_norm": 0.0174560546875, + "learning_rate": 0.00011146384479717813, + "loss": 0.0007705274038016796, + "mean_token_accuracy": 0.9997282594442367, + "num_tokens": 1390677.0, + "step": 270 + }, + { + "entropy": 0.0019371382502868073, + "epoch": 1.435897435897436, + "grad_norm": 0.030029296875, + "learning_rate": 0.00010793650793650794, + "loss": 0.000875929743051529, + "mean_token_accuracy": 0.9994673267006874, + "num_tokens": 1442050.0, + "step": 280 + }, + { + "entropy": 0.00142898523263284, + "epoch": 1.4871794871794872, + "grad_norm": 0.08935546875, + "learning_rate": 0.00010440917107583774, + "loss": 0.0015555351041257382, + "mean_token_accuracy": 0.999728836119175, + "num_tokens": 1493490.0, + "step": 290 + }, + { + "entropy": 0.002155339590535732, + "epoch": 1.5384615384615383, + "grad_norm": 0.0272216796875, + "learning_rate": 0.00010088183421516755, + "loss": 0.0011137285269796847, + "mean_token_accuracy": 0.9996017679572106, + "num_tokens": 1544980.0, + "step": 300 + }, + { + "epoch": 1.5384615384615383, + "eval_entropy": 0.0025947162412565524, + "eval_loss": 0.002662941114977002, + "eval_mean_token_accuracy": 0.9992634599306145, + "eval_num_tokens": 1544980.0, + "eval_runtime": 33.929, + "eval_samples_per_second": 22.989, + "eval_steps_per_second": 2.888, + "step": 300 + }, + { + "entropy": 0.0012249682542460505, + "epoch": 1.5897435897435899, + "grad_norm": 0.076171875, + "learning_rate": 9.735449735449735e-05, + "loss": 0.0007378056179732084, + "mean_token_accuracy": 0.999870465695858, + "num_tokens": 1596473.0, + "step": 310 + }, + { + "entropy": 0.0024819913458486555, + "epoch": 1.641025641025641, + "grad_norm": 0.1337890625, + "learning_rate": 9.382716049382717e-05, + "loss": 0.0016395930200815202, + "mean_token_accuracy": 0.999460107088089, + "num_tokens": 1647987.0, + "step": 320 + }, + { + "entropy": 0.0013417500764262512, + "epoch": 1.6923076923076923, + "grad_norm": 0.1953125, + "learning_rate": 9.029982363315697e-05, + "loss": 0.0007530987728387118, + "mean_token_accuracy": 0.999733330309391, + "num_tokens": 1699358.0, + "step": 330 + }, + { + "entropy": 0.0018804209608788368, + "epoch": 1.7435897435897436, + "grad_norm": 0.055908203125, + "learning_rate": 8.677248677248677e-05, + "loss": 0.0008344835601747036, + "mean_token_accuracy": 0.9997375175356865, + "num_tokens": 1751083.0, + "step": 340 + }, + { + "entropy": 0.0017334508323983756, + "epoch": 1.7948717948717947, + "grad_norm": 0.004791259765625, + "learning_rate": 8.324514991181658e-05, + "loss": 0.002016276493668556, + "mean_token_accuracy": 0.9994671195745468, + "num_tokens": 1802799.0, + "step": 350 + }, + { + "epoch": 1.7948717948717947, + "eval_entropy": 0.0026555580426451788, + "eval_loss": 0.002860413398593664, + "eval_mean_token_accuracy": 0.9991530684792266, + "eval_num_tokens": 1802799.0, + "eval_runtime": 34.2066, + "eval_samples_per_second": 22.803, + "eval_steps_per_second": 2.865, + "step": 350 + }, + { + "entropy": 0.002175393698780681, + "epoch": 1.8461538461538463, + "grad_norm": 0.0634765625, + "learning_rate": 7.971781305114638e-05, + "loss": 0.0009802835993468761, + "mean_token_accuracy": 0.9998641297221184, + "num_tokens": 1854361.0, + "step": 360 + }, + { + "entropy": 0.0020826497697271408, + "epoch": 1.8974358974358974, + "grad_norm": 0.12060546875, + "learning_rate": 7.619047619047618e-05, + "loss": 0.0020291557535529136, + "mean_token_accuracy": 0.9993291720747948, + "num_tokens": 1905996.0, + "step": 370 + }, + { + "entropy": 0.002114907601935556, + "epoch": 1.9487179487179487, + "grad_norm": 0.015380859375, + "learning_rate": 7.2663139329806e-05, + "loss": 0.0042376209050416945, + "mean_token_accuracy": 0.9990605100989342, + "num_tokens": 1957441.0, + "step": 380 + }, + { + "entropy": 0.0014086466504522831, + "epoch": 2.0, + "grad_norm": 0.0032196044921875, + "learning_rate": 6.91358024691358e-05, + "loss": 0.0010647444054484368, + "mean_token_accuracy": 0.9994769513607025, + "num_tokens": 2008932.0, + "step": 390 + }, + { + "entropy": 0.0014381618235347559, + "epoch": 2.051282051282051, + "grad_norm": 0.0634765625, + "learning_rate": 6.560846560846561e-05, + "loss": 0.0006537370849400759, + "mean_token_accuracy": 0.9997274205088615, + "num_tokens": 2060391.0, + "step": 400 + }, + { + "epoch": 2.051282051282051, + "eval_entropy": 0.0027662719393799994, + "eval_loss": 0.00218246690928936, + "eval_mean_token_accuracy": 0.9994781497789889, + "eval_num_tokens": 2060391.0, + "eval_runtime": 33.7893, + "eval_samples_per_second": 23.084, + "eval_steps_per_second": 2.9, + "step": 400 + }, + { + "entropy": 0.00141929256496951, + "epoch": 2.1025641025641026, + "grad_norm": 0.0042724609375, + "learning_rate": 6.208112874779542e-05, + "loss": 0.000376143166795373, + "mean_token_accuracy": 0.9998684212565422, + "num_tokens": 2111999.0, + "step": 410 + }, + { + "entropy": 0.0012200279506942024, + "epoch": 2.1538461538461537, + "grad_norm": 0.005096435546875, + "learning_rate": 5.855379188712522e-05, + "loss": 0.0002682086545974016, + "mean_token_accuracy": 1.0, + "num_tokens": 2163386.0, + "step": 420 + }, + { + "entropy": 0.0011089710573287449, + "epoch": 2.2051282051282053, + "grad_norm": 0.05322265625, + "learning_rate": 5.5026455026455024e-05, + "loss": 0.0002907829824835062, + "mean_token_accuracy": 0.9998663097620011, + "num_tokens": 2214861.0, + "step": 430 + }, + { + "entropy": 0.0006839066634711343, + "epoch": 2.2564102564102564, + "grad_norm": 0.00830078125, + "learning_rate": 5.149911816578483e-05, + "loss": 9.50500019825995e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2266411.0, + "step": 440 + }, + { + "entropy": 0.0008514739081874722, + "epoch": 2.3076923076923075, + "grad_norm": 0.001068115234375, + "learning_rate": 4.797178130511464e-05, + "loss": 0.00012474560644477607, + "mean_token_accuracy": 1.0, + "num_tokens": 2317773.0, + "step": 450 + }, + { + "epoch": 2.3076923076923075, + "eval_entropy": 0.002492038670072584, + "eval_loss": 0.0021736996714025736, + "eval_mean_token_accuracy": 0.9994776826732013, + "eval_num_tokens": 2317773.0, + "eval_runtime": 33.4772, + "eval_samples_per_second": 23.299, + "eval_steps_per_second": 2.927, + "step": 450 + }, + { + "entropy": 0.0010284704316291028, + "epoch": 2.358974358974359, + "grad_norm": 0.02880859375, + "learning_rate": 4.4444444444444447e-05, + "loss": 0.00019889269024133682, + "mean_token_accuracy": 1.0, + "num_tokens": 2369121.0, + "step": 460 + }, + { + "entropy": 0.0009277552904677578, + "epoch": 2.41025641025641, + "grad_norm": 0.017333984375, + "learning_rate": 4.091710758377425e-05, + "loss": 0.0001858106581494212, + "mean_token_accuracy": 1.0, + "num_tokens": 2420681.0, + "step": 470 + }, + { + "entropy": 0.001167380854167277, + "epoch": 2.4615384615384617, + "grad_norm": 0.01385498046875, + "learning_rate": 3.7389770723104055e-05, + "loss": 0.00031680860556662085, + "mean_token_accuracy": 1.0, + "num_tokens": 2472278.0, + "step": 480 + }, + { + "entropy": 0.0008280243579065427, + "epoch": 2.5128205128205128, + "grad_norm": 0.012451171875, + "learning_rate": 3.386243386243386e-05, + "loss": 0.00018313571345061064, + "mean_token_accuracy": 1.0, + "num_tokens": 2524031.0, + "step": 490 + }, + { + "entropy": 0.000662563697915175, + "epoch": 2.564102564102564, + "grad_norm": 0.00299072265625, + "learning_rate": 3.0335097001763667e-05, + "loss": 9.901513112708926e-05, + "mean_token_accuracy": 1.0, + "num_tokens": 2575569.0, + "step": 500 + }, + { + "epoch": 2.564102564102564, + "eval_entropy": 0.0023775911646893924, + "eval_loss": 0.0021765201818197966, + "eval_mean_token_accuracy": 0.9994806860174451, + "eval_num_tokens": 2575569.0, + "eval_runtime": 34.1418, + "eval_samples_per_second": 22.846, + "eval_steps_per_second": 2.87, + "step": 500 + }, + { + "entropy": 0.0007076729292748496, + "epoch": 2.6153846153846154, + "grad_norm": 0.00567626953125, + "learning_rate": 2.6807760141093475e-05, + "loss": 0.00010458455653861165, + "mean_token_accuracy": 1.0, + "num_tokens": 2627061.0, + "step": 510 + }, + { + "entropy": 0.0010531799813179531, + "epoch": 2.6666666666666665, + "grad_norm": 0.01043701171875, + "learning_rate": 2.328042328042328e-05, + "loss": 0.00024276382755488156, + "mean_token_accuracy": 1.0, + "num_tokens": 2678540.0, + "step": 520 + }, + { + "entropy": 0.001217566412378801, + "epoch": 2.717948717948718, + "grad_norm": 0.0267333984375, + "learning_rate": 1.9753086419753087e-05, + "loss": 0.0003309894585981965, + "mean_token_accuracy": 1.0, + "num_tokens": 2730077.0, + "step": 530 + }, + { + "entropy": 0.0007735005236099823, + "epoch": 2.769230769230769, + "grad_norm": 0.0086669921875, + "learning_rate": 1.622574955908289e-05, + "loss": 0.00046750204637646675, + "mean_token_accuracy": 0.99986702054739, + "num_tokens": 2781570.0, + "step": 540 + }, + { + "entropy": 0.0008960626997577492, + "epoch": 2.8205128205128203, + "grad_norm": 0.0021209716796875, + "learning_rate": 1.2698412698412699e-05, + "loss": 0.00015908649656921626, + "mean_token_accuracy": 1.0, + "num_tokens": 2832938.0, + "step": 550 + }, + { + "epoch": 2.8205128205128203, + "eval_entropy": 0.002360386049466407, + "eval_loss": 0.0021600036416202784, + "eval_mean_token_accuracy": 0.9995086424204768, + "eval_num_tokens": 2832938.0, + "eval_runtime": 34.234, + "eval_samples_per_second": 22.784, + "eval_steps_per_second": 2.863, + "step": 550 + }, + { + "entropy": 0.0008232404023146955, + "epoch": 2.871794871794872, + "grad_norm": 0.009765625, + "learning_rate": 9.171075837742504e-06, + "loss": 0.00016336542321369052, + "mean_token_accuracy": 1.0, + "num_tokens": 2884499.0, + "step": 560 + }, + { + "entropy": 0.000995300424256129, + "epoch": 2.9230769230769234, + "grad_norm": 0.00173187255859375, + "learning_rate": 5.6437389770723105e-06, + "loss": 0.00022507444955408574, + "mean_token_accuracy": 1.0, + "num_tokens": 2936182.0, + "step": 570 + }, + { + "entropy": 0.0007040757449431112, + "epoch": 2.9743589743589745, + "grad_norm": 0.000904083251953125, + "learning_rate": 2.1164021164021164e-06, + "loss": 0.00010476913303136826, + "mean_token_accuracy": 1.0, + "num_tokens": 2987631.0, + "step": 580 + }, + { + "epoch": 3.0, + "eval_entropy": 0.0023590706687358835, + "eval_loss": 0.002156314207240939, + "eval_mean_token_accuracy": 0.9995086424204768, + "eval_num_tokens": 3013398.0, + "eval_runtime": 33.4507, + "eval_samples_per_second": 23.318, + "eval_steps_per_second": 2.93, + "step": 585 + } + ], + "logging_steps": 10, + "max_steps": 585, + "num_input_tokens_seen": 0, + "num_train_epochs": 3, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": true + }, + "attributes": {} + } + }, + "total_flos": 1.452586770011136e+17, + "train_batch_size": 4, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-585/training_args.bin b/checkpoint-585/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/checkpoint-585/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713 diff --git a/processor_config.json b/processor_config.json index 6778ace03ad55882af8ebbc7ec5e558b7b0e5f7d..6453e361852f6ff9038b80c9d1f4026fa80bdb0c 100644 --- a/processor_config.json +++ b/processor_config.json @@ -1,6 +1,5 @@ { "image_processor": { - "data_format": "channels_first", "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, @@ -10,7 +9,7 @@ 0.4578275, 0.40821073 ], - "image_processor_type": "Qwen2VLImageProcessorFast", + "image_processor_type": "Qwen2VLImageProcessor", "image_std": [ 0.26862954, 0.26130258, @@ -28,8 +27,6 @@ }, "processor_class": "Qwen2VLProcessor", "video_processor": { - "data_format": "channels_first", - "default_to_square": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, @@ -40,24 +37,21 @@ 0.4578275, 0.40821073 ], - "image_processor_type": "Qwen2VLImageProcessor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "max_frames": 768, - "max_pixels": 1003520, "merge_size": 2, "min_frames": 4, - "min_pixels": 200704, "patch_size": 14, "resample": 3, "rescale_factor": 0.00392156862745098, "return_metadata": false, "size": { - "longest_edge": 12845056, - "shortest_edge": 3136 + "longest_edge": 1003520, + "shortest_edge": 200704 }, "temporal_patch_size": 2, "video_processor_type": "Qwen2VLVideoProcessor" diff --git a/tokenizer_config.json b/tokenizer_config.json index 1eb8f654591cb83567448f812ca0ab9a702f5744..59ff99f59f4a4f2dcb9f89aacef7b11f25ceb751 100644 --- a/tokenizer_config.json +++ b/tokenizer_config.json @@ -21,6 +21,7 @@ "<|video_pad|>" ], "is_local": false, + "local_files_only": false, "max_pixels": 1003520, "min_pixels": 200704, "model_max_length": 32768, diff --git a/training_args.bin b/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..16b37a1aae7f1b6d15e601dbed2d96a26349b814 --- /dev/null +++ b/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b99f7abe70d85a81c33f32c1298f3ad90e2972b10b7131798c27d6dd001ab565 +size 5713