Spaces:
Sleeping
Sleeping
Update train_vlm.py
Browse files- train_vlm.py +1 -1
train_vlm.py
CHANGED
|
@@ -42,7 +42,7 @@ def load_and_prepare_dataset(stage, image_processor, tokenizer, model, split="tr
|
|
| 42 |
image = examples['image'].convert("RGB")
|
| 43 |
# --- USING THE CONVERSATION FORMAT YOU PROVIDED ---
|
| 44 |
# We select 'conversation_a' and parse it as a list of lists of dicts.
|
| 45 |
-
conversation = examples['
|
| 46 |
|
| 47 |
full_text = ""
|
| 48 |
is_first_user_turn = True
|
|
|
|
| 42 |
image = examples['image'].convert("RGB")
|
| 43 |
# --- USING THE CONVERSATION FORMAT YOU PROVIDED ---
|
| 44 |
# We select 'conversation_a' and parse it as a list of lists of dicts.
|
| 45 |
+
conversation = examples['conversation']
|
| 46 |
|
| 47 |
full_text = ""
|
| 48 |
is_first_user_turn = True
|