Create build_dataset.py
Browse files- build_dataset.py +8 -0
build_dataset.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datasets import Dataset
|
| 2 |
+
|
| 3 |
+
dataset = Dataset.from_dict({
|
| 4 |
+
"command": ["sit down", "stand up", "walk"],
|
| 5 |
+
"intent": ["sit", "stand", "walk"]
|
| 6 |
+
})
|
| 7 |
+
|
| 8 |
+
dataset.push_to_hub("your-username/humanoid-commands")
|