cpsu04 commited on
Commit
a17ccdf
·
verified ·
1 Parent(s): 82426b9

Upload Robo4D v5 class-balanced Qwen2.5-VL LoRA

Browse files
Files changed (4) hide show
  1. README.md +47 -0
  2. adapter_config.json +48 -0
  3. adapter_model.safetensors +3 -0
  4. run_config.json +13 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-VL-7B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: image-text-to-text
5
+ tags:
6
+ - lora
7
+ - qwen2.5-vl
8
+ - video-vqa
9
+ - robot-learning
10
+ ---
11
+
12
+ # Robo4D v5 Qwen2.5-VL-7B LoRA
13
+
14
+ This is a PEFT LoRA adapter for `Qwen/Qwen2.5-VL-7B-Instruct`, fine-tuned on the Robo4D v5 robot-manipulation video QA task. It is **not** a standalone checkpoint.
15
+
16
+ ## Intended use
17
+
18
+ The adapter is intended for four-choice video questions about a robot-held object's direction, distance, or speed during manipulation. Direction labels may be relative to the robot base or the camera, depending on the prompt.
19
+
20
+ Load it with the exact base model and a PEFT-compatible Qwen2.5-VL inference path. The training answer format is a single choice letter.
21
+
22
+ ## Training
23
+
24
+ - Training set: 18,000 episode-capped Robo4D v5 examples.
25
+ - Sampling: balanced by question type, source view, and answer class where data availability permits.
26
+ - One epoch; LoRA rank 16, alpha 32, dropout 0.05.
27
+ - Base model: `Qwen/Qwen2.5-VL-7B-Instruct`.
28
+
29
+ On the held-out Robo4D v5 eval set (2,300 questions), this adapter scored 56.52% overall. This is an in-domain, episode-disjoint result.
30
+
31
+ ## Limitations
32
+
33
+ Robo4D training clips are deliberately filtered for grounded, sustained held-object motion. This adapter should not be assumed to improve broad video reasoning or premise checking, including cases with no visible target or no meaningful motion. Early VLM4D transfer checks showed degradation relative to the base model; treat it as a task-specific research adapter.
34
+
35
+ ## Loading
36
+
37
+ ```python
38
+ from transformers import Qwen2_5_VLForConditionalGeneration
39
+ from peft import PeftModel
40
+
41
+ base = Qwen2_5_VLForConditionalGeneration.from_pretrained(
42
+ "Qwen/Qwen2.5-VL-7B-Instruct", device_map="auto"
43
+ )
44
+ model = PeftModel.from_pretrained(base, "cpsu04/Robo4D-v5-Qwen2.5-VL-7B-LoRA")
45
+ ```
46
+
47
+ The adapter contains no training videos or question data. Use of the underlying model and any downstream dataset remains subject to their respective licenses and terms.
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": "Qwen/Qwen2.5-VL-7B-Instruct",
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
+ "k_proj",
34
+ "up_proj",
35
+ "down_proj",
36
+ "gate_proj",
37
+ "q_proj",
38
+ "v_proj",
39
+ "o_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:2653990c2c7fc63110c453ebce03ae988ce7dfdf731369dc5b52e92f0bf3fcf7
3
+ size 190442760
run_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "Qwen/Qwen2.5-VL-7B-Instruct",
3
+ "questions": "outputs/robo4d_vlm4d/grid_v5/train_ft18k_type_source_class_balanced.jsonl",
4
+ "split_ids": ".",
5
+ "clips_dir": "outputs/robo4d_vlm4d/grid_v5/train_ft18k_clips",
6
+ "clip_key": "qid",
7
+ "out_dir": "outputs/robo4d_vlm4d/grid_v5/ft_qwen25/type_source_class_balanced",
8
+ "grad_accum": 16,
9
+ "epochs": 1,
10
+ "lr": 0.0002,
11
+ "limit": 0,
12
+ "choice_rotation": "qid_hash"
13
+ }