ZhuofengLi
commited on
Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
@@ -62,3 +62,6 @@ Amazon-Movies/raw/reviews_Movies_and_TV_5.json filter=lfs diff=lfs merge=lfs -te
|
|
62 |
Goodreads-Children/raw/goodreads_book_genres_initial.json filter=lfs diff=lfs merge=lfs -text
|
63 |
Goodreads-Children/raw/goodreads_books_children.json filter=lfs diff=lfs merge=lfs -text
|
64 |
Goodreads-Children/raw/goodreads_reviews_children.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
62 |
Goodreads-Children/raw/goodreads_book_genres_initial.json filter=lfs diff=lfs merge=lfs -text
|
63 |
Goodreads-Children/raw/goodreads_books_children.json filter=lfs diff=lfs merge=lfs -text
|
64 |
Goodreads-Children/raw/goodreads_reviews_children.json filter=lfs diff=lfs merge=lfs -text
|
65 |
+
Goodreads-Cosmics/raw/goodreads_book_genres_initial.json filter=lfs diff=lfs merge=lfs -text
|
66 |
+
Goodreads-Cosmics/raw/goodreads_books_comics_graphic.json filter=lfs diff=lfs merge=lfs -text
|
67 |
+
Goodreads-Cosmics/raw/goodreads_reviews_comics_graphic.json filter=lfs diff=lfs merge=lfs -text
|
Goodreads-Cosmics/raw/download_data.sh
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
4 |
+
BASE_DIR="$(dirname "$SCRIPT_DIR")"
|
5 |
+
RAW_DIR="$BASE_DIR/raw"
|
6 |
+
|
7 |
+
mkdir -p "$RAW_DIR"
|
8 |
+
|
9 |
+
urls=(
|
10 |
+
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_books_comics_graphic.json.gz"
|
11 |
+
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_comics_graphic.json.gz"
|
12 |
+
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/goodreads_book_genres_initial.json.gz"
|
13 |
+
)
|
14 |
+
|
15 |
+
for url in "${urls[@]}"; do
|
16 |
+
wget -P "$RAW_DIR" "$url"
|
17 |
+
done
|
18 |
+
|
19 |
+
for file in "$RAW_DIR"/*.gz; do
|
20 |
+
gunzip "$file"
|
21 |
+
done
|
22 |
+
|
23 |
+
echo "Download and extraction complete."
|
Goodreads-Cosmics/raw/goodreads_book_genres_initial.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f32c5bbec5daa66115db1526266559f889fd913934cfdc7da50a64944a5f623
|
3 |
+
size 199903667
|
Goodreads-Cosmics/raw/goodreads_books_comics_graphic.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d073c8c13b074128f6a0e6e29838da3d3c1e3c6d2898e54ac18cc2ccc425d9a
|
3 |
+
size 353801561
|
Goodreads-Cosmics/raw/goodreads_reviews_comics_graphic.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f8060456520613aaf981655c3f8cba3dd2e6a60050163d10f31faba89c6516b
|
3 |
+
size 470506838
|