Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
@@ -68,3 +68,6 @@ Goodreads-Cosmics/raw/goodreads_reviews_comics_graphic.json filter=lfs diff=lfs
|
|
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
|
|
|
|
|
|
|
|
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
|
71 |
+
Goodreads-Mystery/raw/goodreads_book_genres_initial.json filter=lfs diff=lfs merge=lfs -text
|
72 |
+
Goodreads-Mystery/raw/goodreads_books_mystery_thriller_crime.json filter=lfs diff=lfs merge=lfs -text
|
73 |
+
Goodreads-Mystery/raw/goodreads_reviews_mystery_thriller_crime.json filter=lfs diff=lfs merge=lfs -text
|
Goodreads-Mystery/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_mystery_thriller_crime.json.gz"
|
11 |
+
"https://datarepo.eng.ucsd.edu/mcauley_group/gdrive/goodreads/byGenre/goodreads_reviews_mystery_thriller_crime.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-Mystery/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-Mystery/raw/goodreads_books_mystery_thriller_crime.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a308ab4d80b1c529f3f8bd70056e735646b06c4f61ebe9caee950f83680530e5
|
3 |
+
size 1076264154
|
Goodreads-Mystery/raw/goodreads_reviews_mystery_thriller_crime.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:519005a13b19ce65ff13cefc70628feac4cdc269a19e1f5b606059e59591c6d7
|
3 |
+
size 1876194924
|