Upload folder using huggingface_hub
Browse files- .vscode/settings.json +4 -0
- Synthetic.zip +3 -0
- upload_1.py +7 -0
.vscode/settings.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"python-envs.defaultEnvManager": "ms-python.python:conda",
|
| 3 |
+
"python-envs.defaultPackageManager": "ms-python.python:conda"
|
| 4 |
+
}
|
Synthetic.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25c0cf2903b87f7858e85aa56d6b9257cddc67e2db0855757a0b42169c60985e
|
| 3 |
+
size 2620075057
|
upload_1.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from huggingface_hub import login, upload_folder
|
| 2 |
+
|
| 3 |
+
# (optional) Login with your Hugging Face credentials
|
| 4 |
+
login()
|
| 5 |
+
|
| 6 |
+
# Push your dataset files
|
| 7 |
+
upload_folder(folder_path=".", repo_id="lighta/Synthetic", repo_type="dataset")
|