Upload folder using huggingface_hub
Browse files
config.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# Install the Hugging Face CLI
|
| 3 |
+
pip install -U "huggingface_hub[cli]"
|
| 4 |
+
|
| 5 |
+
# Login with your Hugging Face credentials
|
| 6 |
+
hf auth login
|
| 7 |
+
|
| 8 |
+
# Push your dataset files
|
| 9 |
+
hf upload rodrigoperico/pocPathTraversal . --repo-type=dataset
|
poc.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import load_dataset
|
| 2 |
+
|
| 3 |
+
dataset = load_dataset('~/Desktop/pocPathTraversal/hack.tar.gz')
|
poc.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652
|
| 3 |
+
size 10240
|
poc.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652
|
| 3 |
+
size 10240
|