mvd001/cyberset / scripts /code /dl_drive.sh
mvd001's picture
download
raw
1.59 kB
#!/usr/bin/env bash
# Google-Drive-hosted code sources (gdown; quota errors are retried by fetch.py, then logged as failed)
cd /workspace/security-dataset
F=".venv/bin/python scripts/code/fetch.py"
for kv in primevul_test.jsonl:1fVybeCHhFfBMOHQ5rGSA-mzu9Egri38H primevul_test_paired.jsonl:1rNDKb65Yn1rCBURzHeBcH4jVVdQ1oD4r \
primevul_train.jsonl:1qRO_Qdy7KXcZbJJAu5J3VZWkRVvT4Kbu primevul_train_paired.jsonl:1CYE_AZdZTIHPepOIxmPNZtMPdwB6cEt1 \
primevul_valid.jsonl:1CMQ185Ww_bsBWGbJe4sZW0vzceWnmNE7 primevul_valid_paired.jsonl:1UBoDzBD9tXAieRlXYjjB-2HpPf9I83mg; do
n=${kv%%:*}; id=${kv##*:}
$F primevul paper-release https://drive.google.com/drive/folders/19iLaNDS0z99N8kB_jBRTmDLehwZBolMY $n --gdrive $id --license MIT
done
$F diversevul 2023 https://drive.google.com/file/d/12IWKhmLhq7qn5B_iXgn5YerOQtkH-6RG diversevul_20230702.json --gdrive 12IWKhmLhq7qn5B_iXgn5YerOQtkH-6RG --license "none (no license file; research use only, not redistributed)"
$F diversevul 2023 https://drive.google.com/file/d/19cJ7avNtsziaYkrrYuW7FeFdvgrxoNLc diversevul_metadata.json --gdrive 19cJ7avNtsziaYkrrYuW7FeFdvgrxoNLc --license "none (no license file; research use only, not redistributed)"
$F bigvul msr20-cleaned https://drive.google.com/file/d/1-0VhnHBp9IGh90s2wCNjeCMuy70HPl8X MSR_data_cleaned.zip --gdrive 1-0VhnHBp9IGh90s2wCNjeCMuy70HPl8X --license MIT
$F reposvul 2024 https://drive.google.com/file/d/1szQ9FnIC_onQRu_TjZ2uofkjv9z_s4pv ReposVul_all.zip --gdrive 1szQ9FnIC_onQRu_TjZ2uofkjv9z_s4pv --license "none (no license file; research use only, not redistributed)"

Xet Storage Details

Size:
1.59 kB
·
Xet hash:
32e259e5ad5430a0b4aceb949bcd1b0f53fa3d6d3ac5eef9e0b85af729442a1e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.