DongyangChen commited on
Commit
ba80da0
·
verified ·
1 Parent(s): ace1ca6

Upload folder using huggingface_hub

Browse files
fashion_test.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_source": "fashion-iq",
3
+ "prompt": [
4
+ [
5
+ {
6
+ "content": "You are MultiModalRerank, an intelligent assistant that can rank images based on their relevancy to the text description. You first think about the reasoning process in the mind and then provide the user with the answer. I will provide you with images, each indicated by number identifier []. Rank the images based on their relevance to the text description.",
7
+ "role": "system"
8
+ },
9
+ {
10
+ "content": "Now I will show you candidate images. Please rank them based on how well they match the text description compared to the reference image.Reference Image: <image>\nText Description: is solid black with no sleeves and is black with straps. \n Rank the 20 images based on how well they match the text description compared to the reference image.The images should be listed in descending order using identifiers. The most relevant images should be listed first. The output format should be <answer> [] > [] </answer>, e.g., <answer> [1] > [2] </answer>. \n Please think about this question as if you were a human pondering deeply. Engage in an internal dialogue using expressions such as 'let me think', 'wait', 'Hmm', 'oh, I see', 'let's break it down', etc, or other natural language thought expressions It's encouraged to include self-reflection or verification in the reasoning process. Provide your detailed reasoning between the <think> </think> tags, and then give your final answer between the <answer> </answer> tags.",
11
+ "role": "user"
12
+ },
13
+ {
14
+ "content": "Okay, please provide the images.",
15
+ "role": "assistant"
16
+ },
17
+ {
18
+ "content": "[1] <image>",
19
+ "role": "user"
20
+ },
21
+ {
22
+ "content": "Received image [1].",
23
+ "role": "assistant"
24
+ },
25
+ {
26
+ "content": "[2] <image>",
27
+ "role": "user"
28
+ },
29
+ {
30
+ "content": "Received image [2].",
31
+ "role": "assistant"
32
+ },
33
+ {
34
+ "content": "[3] <image>",
35
+ "role": "user"
36
+ },
37
+ {
38
+ "content": "Received image [3].",
39
+ "role": "assistant"
40
+ },
41
+ {
42
+ "content": "Please rank these images according to their relevance to the text description and the reference image: Reference Image: <image>\nText Description: \"is solid black with no sleeves and is black with straps\"\nFollow these steps exactly:\n1. First, within <think> tags, analyze EACH image individually:\n- Evaluate how well the image matches the text description\n- Note specific visual attributes (color, style, features) that correspond to the description\n- Compare the visual content with the textual requirements\n\n2. Then, within <answer> tags, provide ONLY the final ranking in descending order of relevance using the format: [X] > [Y] > [Z]",
43
+ "role": "user"
44
+ }
45
+ ]
46
+ ],
47
+ "images": [
48
+ "/home/user1/user1/cdy/llm_reasoning/Rerank_VLM/data/fashion_iq/images/B00BZ8GPVO.jpg",
49
+ "/home/user1/user1/cdy/llm_reasoning/Rerank_VLM/data/fashion_iq/images/B003FGW7MK.jpg",
50
+ "/home/user1/user1/cdy/llm_reasoning/Rerank_VLM/data/fashion_iq/images/B008BHCT58.jpg",
51
+ "/home/user1/user1/cdy/llm_reasoning/Rerank_VLM/data/fashion_iq/images/B00BZ8GPVO.jpg",
52
+ "/home/user1/user1/cdy/llm_reasoning/Rerank_VLM/data/fashion_iq/images/B003FGW7MK.jpg"
53
+ ],
54
+ "hits": [
55
+ "B003FGW7MK",
56
+ "B008BHCT58",
57
+ "B00BZ8GPVO"
58
+ ],
59
+ "target": "B008BHCT58",
60
+ "ability": "multimodal_rerank",
61
+ "reward_model": {
62
+ "ground_truth": "B008BHCT58",
63
+ "style": "rule"
64
+ },
65
+ "extra_info": {
66
+ "query_id": "B008BHCT58_B003FGW7MK_0",
67
+ "text_query": "is solid black with no sleeves and is black with straps",
68
+ "candidate_images": [
69
+ {"image_id": "B008BHCT58", "initial_rank": 1, "relevance_score": 3},
70
+ {"image_id": "B003FGW7MK", "initial_rank": 2, "relevance_score": 2}
71
+ ],
72
+ "initial_ranking": ["B008BHCT58", "B003FGW7MK"],
73
+ "ideal_ranking": ["B008BHCT58", "B003FGW7MK"],
74
+ "split": "train"
75
+ }
76
+ }
images/B003FGW7MK.jpg ADDED

Git LFS Details

  • SHA256: 642d776acb8168c1ca1d589bcba8965fd2249ba047b24797acf6b482d3a7263e
  • Pointer size: 129 Bytes
  • Size of remote file: 9.82 kB
images/B008BHCT58.jpg ADDED

Git LFS Details

  • SHA256: 3e3e06fd2e3fadd2ffb4a93b2f07a9c2006fcc8a17a4d1867ef4c3d8dc04e47f
  • Pointer size: 129 Bytes
  • Size of remote file: 7.56 kB
images/B00BZ8GPVO.jpg ADDED

Git LFS Details

  • SHA256: 8d01b94288bc37fadd2d3ff28f916fae70ef86d4dee0ba6fc0adf84548b2c921
  • Pointer size: 130 Bytes
  • Size of remote file: 11.9 kB