ZhuofengLi
commited on
Commit
•
48bc246
1
Parent(s):
4a8d6d2
Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
@@ -55,3 +55,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
Reddit/raw/reddit_1m.csv filter=lfs diff=lfs merge=lfs -text
|
57 |
reddit_1m.csv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
Reddit/raw/reddit_1m.csv filter=lfs diff=lfs merge=lfs -text
|
57 |
reddit_1m.csv filter=lfs diff=lfs merge=lfs -text
|
58 |
+
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
|
Amazon-APP/processed/amazon_app_graph.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b4fa21c6e71008230be4b03054917e97816067c77273af48dc041fdc826c226
|
3 |
+
size 134
|
Amazon-APP/raw/download_data.sh
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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://snap.stanford.edu/data/amazon/productGraph/categoryFiles/reviews_Apps_for_Android_5.json.gz"
|
11 |
+
"https://snap.stanford.edu/data/amazon/productGraph/categoryFiles/meta_Apps_for_Android.json.gz"
|
12 |
+
)
|
13 |
+
|
14 |
+
for url in "${urls[@]}"; do
|
15 |
+
wget -P "$RAW_DIR" "$url"
|
16 |
+
done
|
17 |
+
|
18 |
+
for file in "$RAW_DIR"/*.gz; do
|
19 |
+
gunzip "$file"
|
20 |
+
done
|
21 |
+
|
22 |
+
echo "Download and extraction complete."
|
23 |
+
|
24 |
+
|
Amazon-APP/raw/meta_Apps_for_Android.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3345a414c87b588512d104e0b5c73d34e2b934a64bb8aec633be5d969feffcad
|
3 |
+
size 59955438
|
Amazon-APP/raw/reviews_Apps_for_Android_5.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55a30be054c139b900fd93fe3cffda17caf49b3a91760dc2e40eb84ea59ad958
|
3 |
+
size 337389838
|