End of training
Browse files- README.md +71 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +4 -0
- runs/Jul24_06-28-44_e2e-101-73/events.out.tfevents.1721802574.e2e-101-73.1357.0 +3 -0
- runs/Jul24_06-36-31_e2e-101-73/events.out.tfevents.1721803032.e2e-101-73.1519.0 +3 -0
- runs/Jul24_06-40-39_e2e-101-73/events.out.tfevents.1721803286.e2e-101-73.1645.0 +3 -0
- runs/Jul24_07-14-06_e2e-101-73/events.out.tfevents.1721805290.e2e-101-73.1806.0 +3 -0
- runs/Jul24_07-18-28_e2e-101-73/events.out.tfevents.1721805549.e2e-101-73.1967.0 +3 -0
- runs/Jul24_07-47-58_e2e-101-73/events.out.tfevents.1721807319.e2e-101-73.2143.0 +3 -0
- runs/Jul24_08-03-46_e2e-101-73/events.out.tfevents.1721808276.e2e-101-73.2309.0 +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +60 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
base_model: llava-hf/llava-1.5-7b-hf
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: llava-1.5-7b-hf-ft-mix-vsft
|
10 |
+
results: []
|
11 |
+
library_name: peft
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# llava-1.5-7b-hf-ft-mix-vsft
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [llava-hf/llava-1.5-7b-hf](https://huggingface.co/llava-hf/llava-1.5-7b-hf) on an unknown dataset.
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
|
36 |
+
The following `bitsandbytes` quantization config was used during training:
|
37 |
+
- quant_method: bitsandbytes
|
38 |
+
- _load_in_8bit: False
|
39 |
+
- _load_in_4bit: True
|
40 |
+
- llm_int8_threshold: 6.0
|
41 |
+
- llm_int8_skip_modules: None
|
42 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
43 |
+
- llm_int8_has_fp16_weight: False
|
44 |
+
- bnb_4bit_quant_type: fp4
|
45 |
+
- bnb_4bit_use_double_quant: False
|
46 |
+
- bnb_4bit_compute_dtype: float32
|
47 |
+
- load_in_4bit: True
|
48 |
+
- load_in_8bit: False
|
49 |
+
### Training hyperparameters
|
50 |
+
|
51 |
+
The following hyperparameters were used during training:
|
52 |
+
- learning_rate: 1.4e-05
|
53 |
+
- train_batch_size: 4
|
54 |
+
- eval_batch_size: 8
|
55 |
+
- seed: 42
|
56 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- num_epochs: 1
|
59 |
+
- mixed_precision_training: Native AMP
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- PEFT 0.4.0
|
68 |
+
- Transformers 4.38.2
|
69 |
+
- Pytorch 2.0.0+cu117
|
70 |
+
- Datasets 2.20.0
|
71 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": {
|
3 |
+
"base_model_class": "LlavaForConditionalGeneration",
|
4 |
+
"parent_library": "transformers.models.llava.modeling_llava"
|
5 |
+
},
|
6 |
+
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
7 |
+
"bias": "none",
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layers_pattern": null,
|
12 |
+
"layers_to_transform": null,
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.0,
|
15 |
+
"modules_to_save": null,
|
16 |
+
"peft_type": "LORA",
|
17 |
+
"r": 64,
|
18 |
+
"revision": null,
|
19 |
+
"target_modules": [
|
20 |
+
"down_proj",
|
21 |
+
"v_proj",
|
22 |
+
"gate_proj",
|
23 |
+
"up_proj",
|
24 |
+
"linear_2",
|
25 |
+
"linear_1",
|
26 |
+
"o_proj",
|
27 |
+
"k_proj",
|
28 |
+
"q_proj"
|
29 |
+
],
|
30 |
+
"task_type": null
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f2a9d1f0c5b0c1f62a44b9ca9bc4e889d63440fe63941d3968c25f70c523860
|
3 |
+
size 680879440
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image>": 32000,
|
3 |
+
"<pad>": 32001
|
4 |
+
}
|
runs/Jul24_06-28-44_e2e-101-73/events.out.tfevents.1721802574.e2e-101-73.1357.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ee23faaca8c2c689645069f8f34acb3e34cf8a80b0f86260214609f77fb5613
|
3 |
+
size 5380
|
runs/Jul24_06-36-31_e2e-101-73/events.out.tfevents.1721803032.e2e-101-73.1519.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0606feeab8f6539cdc4c26270d8f995858393c86028203464218044068094fe3
|
3 |
+
size 5380
|
runs/Jul24_06-40-39_e2e-101-73/events.out.tfevents.1721803286.e2e-101-73.1645.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4efce6014f06f53e257b9b331e37693e9629f41e74624cca1cf6d4e73f55f4d9
|
3 |
+
size 8071
|
runs/Jul24_07-14-06_e2e-101-73/events.out.tfevents.1721805290.e2e-101-73.1806.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67cce952f00848cecf9806dc1dd6f5ecc24aa2bfa0898ec96e9663ce1a9dee09
|
3 |
+
size 5380
|
runs/Jul24_07-18-28_e2e-101-73/events.out.tfevents.1721805549.e2e-101-73.1967.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efbde4021a9e0d4a21fde383449bcd09fe982ee1bcf8a04a434e9a2734918e32
|
3 |
+
size 6763
|
runs/Jul24_07-47-58_e2e-101-73/events.out.tfevents.1721807319.e2e-101-73.2143.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f72ad7c7705d42aa54548985115f253958a66f70dd7a401884c180a8b351e2c
|
3 |
+
size 6763
|
runs/Jul24_08-03-46_e2e-101-73/events.out.tfevents.1721808276.e2e-101-73.2309.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a0f4de9af3fe08f7fc75339314d25356bdf06855fb762ed404b214df1ef9403
|
3 |
+
size 6763
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<image>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<pad>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"bos_token": "<s>",
|
47 |
+
"chat_template": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. {% for message in messages %}{% if message['role'] == 'user' %} USER: {% else %}ASSISTANT: {% endif %}{% for item in message['content'] %}{% if item['type'] == 'text' %}{{ item['text'] }}{% elif item['type'] == 'image' %}<image>{% endif %}{% endfor %} {% if message['role'] == 'user' %} {% else %}{{eos_token}}{% endif %}{% endfor %}",
|
48 |
+
"clean_up_tokenization_spaces": false,
|
49 |
+
"eos_token": "</s>",
|
50 |
+
"legacy": false,
|
51 |
+
"model_max_length": 1000000000000000019884624838656,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"padding_side": "left",
|
54 |
+
"processor_class": "LlavaProcessor",
|
55 |
+
"sp_model_kwargs": {},
|
56 |
+
"tokenizer_class": "LlamaTokenizer",
|
57 |
+
"trust_remote_code": false,
|
58 |
+
"unk_token": "<unk>",
|
59 |
+
"use_default_system_prompt": false
|
60 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a597d2ae6d943177c27f679d598bf9d52f32e092629adee9d130355936a00248
|
3 |
+
size 4475
|