Update README.md
#6
by merryyuan - opened
README.md
CHANGED
|
@@ -74,14 +74,10 @@ Compared with a standard autoregressive VLM release style, Bard-VL emphasizes:
|
|
| 74 |
## π§ Method Structure
|
| 75 |
|
| 76 |
<p align="center">
|
| 77 |
-
<img src="./model.PNG" alt="Bard-VL method overview" width="
|
| 78 |
</p>
|
| 79 |
|
| 80 |
-
<p align="center">
|
| 81 |
-
<em>Pipeline, block-wise attention mask, and mixed-noise scheduler used by Bard-VL.</em>
|
| 82 |
-
</p>
|
| 83 |
|
| 84 |
-
---
|
| 85 |
|
| 86 |
## π Evaluation Results
|
| 87 |
|
|
@@ -129,15 +125,6 @@ accelerate==1.12.0
|
|
| 129 |
deepspeed==0.17.0
|
| 130 |
```
|
| 131 |
|
| 132 |
-
Recommended runtime settings in the local repository:
|
| 133 |
-
|
| 134 |
-
```bash
|
| 135 |
-
dtype = bfloat16
|
| 136 |
-
attn_implementation = sdpa
|
| 137 |
-
block_size = 4
|
| 138 |
-
denoising_steps = 4
|
| 139 |
-
```
|
| 140 |
-
|
| 141 |
---
|
| 142 |
|
| 143 |
## π Inference Example
|
|
@@ -213,7 +200,6 @@ response_ids = model.generate(
|
|
| 213 |
print(processor.tokenizer.batch_decode(response_ids, skip_special_tokens=True)[0].strip())
|
| 214 |
```
|
| 215 |
|
| 216 |
-
For video understanding, replace the image message with the video example in `inference.py`.
|
| 217 |
|
| 218 |
---
|
| 219 |
|
|
|
|
| 74 |
## π§ Method Structure
|
| 75 |
|
| 76 |
<p align="center">
|
| 77 |
+
<img src="./model.PNG" alt="Bard-VL method overview" width="80%">
|
| 78 |
</p>
|
| 79 |
|
|
|
|
|
|
|
|
|
|
| 80 |
|
|
|
|
| 81 |
|
| 82 |
## π Evaluation Results
|
| 83 |
|
|
|
|
| 125 |
deepspeed==0.17.0
|
| 126 |
```
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
---
|
| 129 |
|
| 130 |
## π Inference Example
|
|
|
|
| 200 |
print(processor.tokenizer.batch_decode(response_ids, skip_special_tokens=True)[0].strip())
|
| 201 |
```
|
| 202 |
|
|
|
|
| 203 |
|
| 204 |
---
|
| 205 |
|