Datasets:

Languages:
English
ArXiv:
License:
marsh123 commited on
Commit
bd00381
Β·
verified Β·
1 Parent(s): 972ae41

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -6
README.md CHANGED
@@ -48,13 +48,51 @@ The dataset is organized in the following structure:
48
  Domain/
49
  β”œβ”€β”€ caption.jsonl: a screenshot image path and its corresponding caption
50
  β”œβ”€β”€ q2s.jsonl: a query, a positive screenshot and eight negative screenshots
51
- β”œβ”€β”€ sq2s.jsonl: a query, a query screenshot, a positive screenshot and eight negative screenshots
52
- └── images/
53
- β”œβ”€β”€ image1.jpg
54
- β”œβ”€β”€ image2.jpg
55
- ...
56
  ```
57
- _Due to the large number of images, uploading all of them takes time. Currently, the upload is not yet complete, and we will continue the process._
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  ## License
60
  VIRA is licensed under the [MIT License](LICENSE).
 
48
  Domain/
49
  β”œβ”€β”€ caption.jsonl: a screenshot image path and its corresponding caption
50
  β”œβ”€β”€ q2s.jsonl: a query, a positive screenshot and eight negative screenshots
51
+ β”œβ”€β”€ sq2s.jsonl: a query, a query screenshot, a positive screenshot and eight negative screenshots
52
+ β”œβ”€β”€ Domain.tar.gz.partaa
53
+ β”œβ”€β”€ Domain.tar.gz.partab
54
+ β”œβ”€β”€ Domain.tar.gz.partac
55
+ ...
56
  ```
57
+
58
+ ## Download Images
59
+ We have released all the images. Due to the large total size, they are split into multiple parts. You can download the images using the script below:
60
+
61
+ ```bash
62
+ #!/bin/bash
63
+
64
+ FOLDER="Chart"
65
+ BASE_URL="https://huggingface.co/datasets/marsh123/VIRA/resolve/main/${FOLDER}"
66
+
67
+ mkdir -p "$FOLDER"
68
+ cd "$FOLDER"
69
+
70
+ for first in {a..z}; do
71
+ for second in {a..z}; do
72
+ part="${first}${second}"
73
+ file="${FOLDER}.tar.gz.part${part}"
74
+ url="${BASE_URL}/${file}"
75
+
76
+ echo "Trying: $url"
77
+ if curl --output /dev/null --silent --head --fail "$url"; then
78
+ wget --continue "$url"
79
+ else
80
+ echo "No more parts after part${part}"
81
+ break 2
82
+ fi
83
+ done
84
+ done
85
+
86
+ echo "Merging parts..."
87
+ cat "${FOLDER}.tar.gz.part"* > "${FOLDER}.tar.gz"
88
+
89
+ echo "Cleaning up..."
90
+ rm "${FOLDER}.tar.gz.part"*
91
+
92
+ echo "βœ… Done!"
93
+
94
+ ```
95
+
96
 
97
  ## License
98
  VIRA is licensed under the [MIT License](LICENSE).