Update README.md
Browse files
README.md
CHANGED
|
@@ -35,6 +35,8 @@ tags:
|
|
| 35 |
- developmental-delay
|
| 36 |
- LLaVA
|
| 37 |
- scientific-figures
|
|
|
|
|
|
|
| 38 |
pretty_name: STXBP1 PubMed Central Multimodal Dataset
|
| 39 |
size_categories:
|
| 40 |
- 10K<n<100K
|
|
@@ -60,6 +62,7 @@ A comprehensive multimodal dataset for training vision-language models on biomed
|
|
| 60 |
|--------|-------|
|
| 61 |
| Total Training Examples | **497,360** |
|
| 62 |
| Source Articles | 31,786 |
|
|
|
|
| 63 |
| Total Figures | 171,084 |
|
| 64 |
| Matched Figure-Image Pairs | 170,591 (99.7%) |
|
| 65 |
| Total Images | 175,392 |
|
|
@@ -156,7 +159,7 @@ Critical for setting `max_new_tokens` during training/inference:
|
|
| 156 |
# Training
|
| 157 |
model_max_length = 4096 # or 8192 for safety
|
| 158 |
|
| 159 |
-
# Inference - IMPORTANT: Don't set too low!
|
| 160 |
generation_config = {
|
| 161 |
"max_new_tokens": 2048, # Covers 99th percentile
|
| 162 |
"min_new_tokens": 100, # Prevents cutoffs
|
|
@@ -177,8 +180,8 @@ generation_config = {
|
|
| 177 |
| Format | PNG/JPG |
|
| 178 |
|
| 179 |
**Preprocessing recommendations:**
|
| 180 |
-
- LLaVA: 448×448 or 672×672
|
| 181 |
-
-
|
| 182 |
|
| 183 |
---
|
| 184 |
|
|
@@ -226,10 +229,10 @@ training_args = TrainingArguments(
|
|
| 226 |
model.config.max_length = 4096
|
| 227 |
```
|
| 228 |
|
| 229 |
-
### Training with
|
| 230 |
|
| 231 |
```python
|
| 232 |
-
#
|
| 233 |
# Just ensure max_new_tokens is set properly for inference
|
| 234 |
generation_config = {
|
| 235 |
"max_new_tokens": 2048,
|
|
|
|
| 35 |
- developmental-delay
|
| 36 |
- LLaVA
|
| 37 |
- scientific-figures
|
| 38 |
+
- Qwen3
|
| 39 |
+
- Qwen2
|
| 40 |
pretty_name: STXBP1 PubMed Central Multimodal Dataset
|
| 41 |
size_categories:
|
| 42 |
- 10K<n<100K
|
|
|
|
| 62 |
|--------|-------|
|
| 63 |
| Total Training Examples | **497,360** |
|
| 64 |
| Source Articles | 31,786 |
|
| 65 |
+
| Date Range | 1-1-2000 thru 6-1-2025) |
|
| 66 |
| Total Figures | 171,084 |
|
| 67 |
| Matched Figure-Image Pairs | 170,591 (99.7%) |
|
| 68 |
| Total Images | 175,392 |
|
|
|
|
| 159 |
# Training
|
| 160 |
model_max_length = 4096 # or 8192 for safety
|
| 161 |
|
| 162 |
+
# Inference - IMPORTANT: Don't set too low, may truncate responses!
|
| 163 |
generation_config = {
|
| 164 |
"max_new_tokens": 2048, # Covers 99th percentile
|
| 165 |
"min_new_tokens": 100, # Prevents cutoffs
|
|
|
|
| 180 |
| Format | PNG/JPG |
|
| 181 |
|
| 182 |
**Preprocessing recommendations:**
|
| 183 |
+
- LLaVA: 448×448, 512x512 or 672×672
|
| 184 |
+
- Qwen3-VL: Dynamic resolution (native support)
|
| 185 |
|
| 186 |
---
|
| 187 |
|
|
|
|
| 229 |
model.config.max_length = 4096
|
| 230 |
```
|
| 231 |
|
| 232 |
+
### Training with Qwen3-VL
|
| 233 |
|
| 234 |
```python
|
| 235 |
+
# Qwen3-VL handles dynamic resolution natively
|
| 236 |
# Just ensure max_new_tokens is set properly for inference
|
| 237 |
generation_config = {
|
| 238 |
"max_new_tokens": 2048,
|