ZhuofengLi commited on
Commit
8aa82d5
1 Parent(s): 5ce478d

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -59,3 +59,6 @@ Amazon-APP/raw/meta_Apps_for_Android.json filter=lfs diff=lfs merge=lfs -text
59
  Amazon-APP/raw/reviews_Apps_for_Android_5.json filter=lfs diff=lfs merge=lfs -text
60
  Amazon-Movies/raw/meta_Movies_and_TV.json filter=lfs diff=lfs merge=lfs -text
61
  Amazon-Movies/raw/reviews_Movies_and_TV_5.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
59
  Amazon-APP/raw/reviews_Apps_for_Android_5.json filter=lfs diff=lfs merge=lfs -text
60
  Amazon-Movies/raw/meta_Movies_and_TV.json filter=lfs diff=lfs merge=lfs -text
61
  Amazon-Movies/raw/reviews_Movies_and_TV_5.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
Goodreads-Children/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_children.json.gz"
11
+ "https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_children.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-Children/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-Children/raw/goodreads_books_children.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:085b3ccaff5827403792896d4f5f41130348e4942df306bd2a8d805e4bb9fc8e
3
+ size 532996264
Goodreads-Children/raw/goodreads_reviews_children.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9685a2b76e3ccb9eb60be1c3787d3da7eebcac82413de001f4a99477315c8b1b
3
+ size 565569244