SpringWang08 commited on
Commit
216704c
·
verified ·
1 Parent(s): 06896f9

Upload B2 DPO PPO linear model soup adapter

Browse files
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ tags:
4
+ - peft
5
+ - lora
6
+ - visual-question-answering
7
+ base_model: chaoyinshe/llava-med-v1.5-mistral-7b-hf
8
+ ---
9
+
10
+ # Medical VQA Merged Adapter
11
+
12
+ Merge method: `linear`
13
+
14
+ | Adapter | Weight |
15
+ |---|---:|
16
+ | `/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/B2/checkpoint-3355` | 0.4000 |
17
+ | `/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/DPO/final_adapter` | 0.3000 |
18
+ | `/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/PPO/final_adapter` | 0.3000 |
19
+
20
+ This adapter was created by merging fine-tuned LoRA adapters without additional training.
adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "chaoyinshe/llava-med-v1.5-mistral-7b-hf",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "q_proj",
34
+ "gate_proj",
35
+ "k_proj",
36
+ "v_proj",
37
+ "up_proj",
38
+ "o_proj",
39
+ "down_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10bc5a80ba0db34d3aaa46a8ff2e59799283a922f8766a214471e11c7ab0f564
3
+ size 177298808
merge_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "method": "linear",
3
+ "base_model": "chaoyinshe/llava-med-v1.5-mistral-7b-hf",
4
+ "adapters": [
5
+ "/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/B2/checkpoint-3355",
6
+ "/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/DPO/final_adapter",
7
+ "/Users/springwang/Library/Mobile Documents/com~apple~CloudDocs/juniorYear/DeepLearning/Final_523H0173_523H0178/DL_MedicalVQA_Project/checkpoints/PPO/final_adapter"
8
+ ],
9
+ "weights": [
10
+ 0.4,
11
+ 0.3,
12
+ 0.3
13
+ ]
14
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": null,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "legacy": false,
9
+ "local_files_only": false,
10
+ "model_max_length": 1000000000000000019884624838656,
11
+ "pad_token": "<pad>",
12
+ "processor_class": "LlavaProcessor",
13
+ "sp_model_kwargs": {},
14
+ "spaces_between_special_tokens": false,
15
+ "tokenizer_class": "TokenizersBackend",
16
+ "unk_token": "<unk>",
17
+ "use_default_system_prompt": false
18
+ }