Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LLAVABrain Dataset
|
| 2 |
+
|
| 3 |
+
This is a LLAVA-compatible brain tumor dataset in JSONL format with image-text pairs for multimodal training.
|
| 4 |
+
|
| 5 |
+
- 💡 **Modality**: Image + Text (Conversations)
|
| 6 |
+
- 📁 **Structure**:
|
| 7 |
+
- `train.jsonl`: JSONL file where each entry contains:
|
| 8 |
+
- `"image"`: path to image file (e.g., `images/1.jpg`)
|
| 9 |
+
- `"conversations"`: list of message-response pairs
|
| 10 |
+
- `images/`: contains 20 MRI image files
|
| 11 |
+
- ✅ Compatible with LLaVA-style training.
|
| 12 |
+
|
| 13 |
+
Example:
|
| 14 |
+
```json
|
| 15 |
+
{
|
| 16 |
+
"image": "images/1.jpg",
|
| 17 |
+
"conversations": [
|
| 18 |
+
{"from": "user", "value": "<image>\nDescribe tumor properties in JSON."},
|
| 19 |
+
{"from": "assistant", "value": "{\n \"tumor_type\": \"meningioma\",\n \"tumor_size_cm\": 2.7,\n \"location\": \"right cerebellopontine angle\",\n \"edema\": false,\n \"enhancement\": \"homogeneous\"\n}"}
|
| 20 |
+
]
|
| 21 |
+
}
|