Upload folder using huggingface_hub
Browse files
Twitter/raw/68841_tweets_multiclasses_filtered_0722_part1.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdc595c36f74073feeb9dea9af01a467dd64743ceec15442085d8c3f2f187339
|
| 3 |
+
size 20623408
|
Twitter/raw/68841_tweets_multiclasses_filtered_0722_part2.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c41a4accb55fc90e9399941a95845cf17e8a072e2936ce5c2cb495e79713bea
|
| 3 |
+
size 21953352
|
Twitter/raw/download_data.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Get the directory of the current script
|
| 4 |
+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
| 5 |
+
BASE_DIR="$(dirname "$SCRIPT_DIR")"
|
| 6 |
+
RAW_DIR="$BASE_DIR/raw"
|
| 7 |
+
|
| 8 |
+
# Create the raw directory
|
| 9 |
+
mkdir -p "$RAW_DIR"
|
| 10 |
+
|
| 11 |
+
# Define URLs of the files to be downloaded
|
| 12 |
+
urls=(
|
| 13 |
+
"https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part1.npy"
|
| 14 |
+
"https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part2.npy"
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
# Download each file to the raw directory
|
| 18 |
+
for url in "${urls[@]}"; do
|
| 19 |
+
wget -P "$RAW_DIR" "$url"
|
| 20 |
+
done
|
| 21 |
+
|
| 22 |
+
echo "Download complete."
|