Zhihui commited on
Commit
58cd369
1 Parent(s): 9db537a

Update data_reviewer.py

Browse files
Files changed (1) hide show
  1. data_reviewer.py +1 -4
data_reviewer.py CHANGED
@@ -42,9 +42,6 @@ def load_and_display_sample(split, idx):
42
 
43
  sample = dataset[idx]
44
 
45
- # Process image
46
- image = base64_to_image(sample["image"])
47
-
48
  # Get responses
49
  chosen_response, rejected_response = get_responses(sample["response"], sample["human_ranking"])
50
 
@@ -58,7 +55,7 @@ def load_and_display_sample(split, idx):
58
  )
59
 
60
  return (
61
- image, # image
62
  sample["id"], # sample_id
63
  chosen_response, # chosen_response
64
  rejected_response, # rejected_response
 
42
 
43
  sample = dataset[idx]
44
 
 
 
 
45
  # Get responses
46
  chosen_response, rejected_response = get_responses(sample["response"], sample["human_ranking"])
47
 
 
55
  )
56
 
57
  return (
58
+ sample["image"], # image
59
  sample["id"], # sample_id
60
  chosen_response, # chosen_response
61
  rejected_response, # rejected_response