ZhuofengLi commited on
Commit
fd7dbe7
·
verified ·
1 Parent(s): 647c76e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -65,3 +65,6 @@ Goodreads-Children/raw/goodreads_reviews_children.json filter=lfs diff=lfs merge
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
 
 
 
 
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
68
+ Goodreads-History/raw/goodreads_book_genres_initial.json filter=lfs diff=lfs merge=lfs -text
69
+ Goodreads-History/raw/goodreads_books_history_biography.json filter=lfs diff=lfs merge=lfs -text
70
+ Goodreads-History/raw/goodreads_reviews_history_biography.json filter=lfs diff=lfs merge=lfs -text
Goodreads-History/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_history_biography.json.gz"
11
+ "https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_history_biography.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-History/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-History/raw/goodreads_books_history_biography.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:990425288bfd95d00c39884a0d9508c0afd684e86703049a3f5b6aec2558090f
3
+ size 1447873942
Goodreads-History/raw/goodreads_reviews_history_biography.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78ef53e313582f24faf0bb619ef36fbfe05f0db67d8a53702c5508b682b7c2de
3
+ size 2239701208