Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
---
|
| 6 |
+
This is BLIP3o-4B checkpoint trained on the **open source** data.
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
| Model | Pretrain Data | GenEval | DBP | WISE |
|
| 10 |
+
|---------------------|-----------------------------------------------------------|---------|--------|------|
|
| 11 |
+
| 4B (open source) | 30 million open-source data | 0.81 | 79.36 | 0.50 |
|
| 12 |
+
| 8B (open source) | 30 million open-source data | 0.83 | 80.73 | 0.52 |
|
| 13 |
+
| 8B (paper reported) | 30 million open-source + 30 million proprietary data | 0.84 | 81.60 | 0.62 |
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
### Download
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
from huggingface_hub import snapshot_download
|
| 20 |
+
snapshot_download(
|
| 21 |
+
repo_id="BLIP3o/BLIP3o-Model-4B",
|
| 22 |
+
repo_type="model"
|
| 23 |
+
)
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
Clone the repo (if you haven’t already) and install the environment:
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
git clone https://github.com/JiuhaiChen/BLIP3o.git
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
Change to the demo folder:
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
cd gradio
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
Launch with your model path:
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
python app.py /path/to/your/model
|
| 42 |
+
```
|