Keeby-smilyai commited on
Commit
cb3d04d
·
verified ·
1 Parent(s): 589d16b

Update train_vlm.py

Browse files
Files changed (1) hide show
  1. 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['conversation_a']
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