Update README.md
Browse files
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 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
```
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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).
|