Improve model card: add pipeline tag, library name, and paper link

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +22 -60
README.md CHANGED
@@ -1,38 +1,43 @@
1
  ---
2
- license: apache-2.0
3
  base_model:
4
- - Qwen/Qwen2-VL-7B-Instruct
5
- - openai/whisper-large-v3-turbo
6
  language:
7
- - en
8
- pipeline_tag: visual-question-answering
 
 
9
  tags:
10
- - medical
11
- - surgical
12
- - multimodal
13
- - audio
14
- - video
15
- - vision-language
16
- - qwen2-vl
17
- - whisper
18
- - colonoscopy
19
- - healthcare-ai
20
- - qlora
21
  ---
22
 
23
  # SurgViVQA-Audio: Audio-Adapted Qwen2-VL for Surgical Video QA
24
 
 
 
25
  This model adapts a Whisper audio encoder to feed directly into Qwen2-VL, enabling **hands-free surgical video question answering** without intermediate ASR transcription.
26
 
27
  > ⚠️ **Research prototype only. Not for clinical use.**
28
 
29
  ## Model Description
30
 
 
31
  - **Base Vision-Language Model:** [Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct)
32
  - **Audio Encoder:** [Whisper Large v3 Turbo](https://huggingface.co/openai/whisper-large-v3-turbo) (frozen)
33
  - **Audio Projector:** Linear layer (1280 → 3584) mapping Whisper features to Qwen2-VL embedding space
34
  - **Training Method:** QLoRA (4-bit base model + BF16 LoRA adapters)
35
  - **Domain:** Colonoscopy surgical procedures
 
36
 
37
  ### Why Skip ASR?
38
 
@@ -70,10 +75,6 @@ Built on the [SurgViVQA](https://github.com/madratak/SurgViVQA/) benchmark by Dr
70
  | Eval | 398 | 002-001, 002-002, 002-003 | Validation |
71
  | Test | 1,000 | 002-004 (held-out) | Generalization testing |
72
 
73
- **Split methodology:** Train/eval are split by question instances (stratified by question type); test is a completely held-out video (002-004) to evaluate generalization to unseen patient anatomy.
74
-
75
- **20 question types** across safety checks, tool detection, motion reasoning, and lesion assessment.
76
-
77
  ## Results
78
 
79
  ### Overall Performance
@@ -94,33 +95,6 @@ Built on the [SurgViVQA](https://github.com/madratak/SurgViVQA/) benchmark by Dr
94
  - Motion direction (5-way): **20%**
95
  - Spatial localization (4-way): **20%**
96
 
97
- ### Known Limitations
98
-
99
- - **Temporal reasoning:** Frame-based processing limits motion understanding (20-50% on direction questions)
100
- - **Spatial precision:** 384px resolution constrains fine-grained localization
101
- - **Single TTS voice:** Trained on one synthetic voice; real speech robustness untested
102
- - **Limited procedures:** Trained on 3 colonoscopy videos; generalization to other surgical domains untested
103
-
104
- ## Reproducing Results
105
-
106
- To evaluate on the held-out test set:
107
-
108
- ```bash
109
- # Clone the repo
110
- git clone https://github.com/kulsoom-abdullah/SurgViVQA-Audio
111
- cd SurgViVQA-Audio
112
-
113
- # Run evaluation
114
- python3 src/evaluate_checkpoint.py \
115
- --checkpoint_path ./checkpoints/surgical_vqa_multivideo \
116
- --eval_data_path test_multivideo.jsonl \
117
- --frames_dir data/frames \
118
- --audio_dir data/audio \
119
- --output_file results/eval_results.jsonl
120
- ```
121
-
122
- See the [GitHub repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio) for full setup instructions.
123
-
124
  ## Usage
125
 
126
  ### Requirements
@@ -150,14 +124,6 @@ processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
150
 
151
  For full inference code including audio processing, see the [GitHub repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio).
152
 
153
- ## Training Details
154
-
155
- - **Hardware:** 2× NVIDIA RTX 4090 (24GB each)
156
- - **Training Time:** ~6 hours
157
- - **LoRA Config:** Rank 64, Alpha 16
158
- - **Target Modules:** All attention + MLP projections
159
- - **Precision:** 4-bit NF4 quantization + BF16 adapters
160
-
161
  ## Citation
162
 
163
  ```bibtex
@@ -186,8 +152,4 @@ For full inference code including audio processing, see the [GitHub repository](
186
 
187
  - **Code:** [GitHub Repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio)
188
  - **Demo Video:** [Loom Walkthrough](https://www.loom.com/share/e6259484ed0f4ad2aac584860c0d32f0)
189
- - **Base Audio Adapter:** [Qwen2-VL-Audio-Adapter](https://github.com/kulsoom-abdullah/Qwen2-VL-Audio-Adapter)
190
-
191
- ## Contact
192
-
193
- **[Kulsoom Abdullah](https://www.linkedin.com/in/kulsoomabdullah/)** — PhD in ECE, 10+ years in AI/ML, healthcare AI since 2020
 
1
  ---
 
2
  base_model:
3
+ - Qwen/Qwen2-VL-7B-Instruct
4
+ - openai/whisper-large-v3-turbo
5
  language:
6
+ - en
7
+ license: apache-2.0
8
+ pipeline_tag: video-text-to-text
9
+ library_name: transformers
10
  tags:
11
+ - medical
12
+ - surgical
13
+ - multimodal
14
+ - audio
15
+ - video
16
+ - vision-language
17
+ - qwen2-vl
18
+ - whisper
19
+ - colonoscopy
20
+ - healthcare-ai
21
+ - qlora
22
  ---
23
 
24
  # SurgViVQA-Audio: Audio-Adapted Qwen2-VL for Surgical Video QA
25
 
26
+ This repository contains the weights for **SurgViVQA-Audio**, presented in the paper [SurgViVQA: Temporally-Grounded Video Question Answering for Surgical Scene Understanding](https://huggingface.co/papers/2511.03325).
27
+
28
  This model adapts a Whisper audio encoder to feed directly into Qwen2-VL, enabling **hands-free surgical video question answering** without intermediate ASR transcription.
29
 
30
  > ⚠️ **Research prototype only. Not for clinical use.**
31
 
32
  ## Model Description
33
 
34
+ - **Paper:** [SurgViVQA: Temporally-Grounded Video Question Answering for Surgical Scene Understanding](https://huggingface.co/papers/2511.03325)
35
  - **Base Vision-Language Model:** [Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct)
36
  - **Audio Encoder:** [Whisper Large v3 Turbo](https://huggingface.co/openai/whisper-large-v3-turbo) (frozen)
37
  - **Audio Projector:** Linear layer (1280 → 3584) mapping Whisper features to Qwen2-VL embedding space
38
  - **Training Method:** QLoRA (4-bit base model + BF16 LoRA adapters)
39
  - **Domain:** Colonoscopy surgical procedures
40
+ - **Code:** [GitHub Repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio)
41
 
42
  ### Why Skip ASR?
43
 
 
75
  | Eval | 398 | 002-001, 002-002, 002-003 | Validation |
76
  | Test | 1,000 | 002-004 (held-out) | Generalization testing |
77
 
 
 
 
 
78
  ## Results
79
 
80
  ### Overall Performance
 
95
  - Motion direction (5-way): **20%**
96
  - Spatial localization (4-way): **20%**
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  ## Usage
99
 
100
  ### Requirements
 
124
 
125
  For full inference code including audio processing, see the [GitHub repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio).
126
 
 
 
 
 
 
 
 
 
127
  ## Citation
128
 
129
  ```bibtex
 
152
 
153
  - **Code:** [GitHub Repository](https://github.com/kulsoom-abdullah/SurgViVQA-Audio)
154
  - **Demo Video:** [Loom Walkthrough](https://www.loom.com/share/e6259484ed0f4ad2aac584860c0d32f0)
155
+ - **Contact:** [Kulsoom Abdullah](https://www.linkedin.com/in/kulsoomabdullah/)