dataset_1 / build_dataset.py
Junnyfirst34's picture
Create build_dataset.py
2d77c63 verified
raw
history blame contribute delete
249 Bytes
from datasets import Dataset
data = {
"text": [
"move forward",
"turn left",
"pick object"
],
"label": [0, 1, 2]
}
dataset = Dataset.from_dict(data)
dataset.push_to_hub("your-username/humanoid-actions-dataset")