Upload Dataset
Browse files- .gitattributes +12 -0
- README.md +46 -3
- home_assistant_test.jsonl +3 -0
- home_assistant_test_english.jsonl +3 -0
- home_assistant_test_french.jsonl +3 -0
- home_assistant_test_german.jsonl +3 -0
- home_assistant_test_polish.jsonl +3 -0
- home_assistant_test_spanish.jsonl +3 -0
- home_assistant_train.jsonl +3 -0
- home_assistant_train_english.jsonl +3 -0
- home_assistant_train_french.jsonl +3 -0
- home_assistant_train_german.jsonl +3 -0
- home_assistant_train_polish.jsonl +3 -0
- home_assistant_train_spanish.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
home_assistant_test_english.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
home_assistant_test_french.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
home_assistant_test_german.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
home_assistant_test_polish.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
home_assistant_test_spanish.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
home_assistant_test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
home_assistant_train_english.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
home_assistant_train_french.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
home_assistant_train_german.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
home_assistant_train_polish.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
home_assistant_train_spanish.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
home_assistant_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
- text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- automation
|
| 8 |
+
- home
|
| 9 |
+
- assistant
|
| 10 |
+
language: ["en", "es", "fr", "de", "pl"]
|
| 11 |
+
pretty_name: Home Assistant Requests V2
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100k
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Home Assistant Requests V2 Dataset
|
| 17 |
+
|
| 18 |
+
This dataset contains a list of requests and responses for a user interacting with a personal assistant that controls an instance of [Home Assistant](https://www.home-assistant.io/).
|
| 19 |
+
|
| 20 |
+
The updated V2 of the dataset is now multilingual, containing data in English, German, French, Spanish, and Polish. The dataset also contains multiple "personalities" for the assistant to respond in, such as a formal assistant, a sarcastic assistant, and a friendly assistant. Lastly, the dataset has been updated to fully support modern tool-calling formats.
|
| 21 |
+
|
| 22 |
+
> NOTE: If you are viewing this dataset on HuggingFace, you can download the "small" dataset variant directly from the "Files and versions" tab.
|
| 23 |
+
|
| 24 |
+
## Assembling the dataset
|
| 25 |
+
|
| 26 |
+
The dataset is generated from the different CSV "piles". The "piles" contain different chunks of requests that are assembled into a final context that is presented to the LLM. For example, `piles/<language>/pile_of_device_names.csv` contains only names of various devices to be used as part of context as well as inserted into `piles/<language>/pile_of_templated_actions.csv` and `piles/<language>/pile_of_status_requests.csv`. The logic for assembling the final dataset from the piles is contained in [generate_data.py](./generate_data.py).
|
| 27 |
+
|
| 28 |
+
### Prepare environment
|
| 29 |
+
|
| 30 |
+
Start by installing system dependencies:
|
| 31 |
+
`sudo apt-get install python3-dev`
|
| 32 |
+
|
| 33 |
+
Then create a Python virtual environment and install all necessary library:
|
| 34 |
+
```
|
| 35 |
+
python3 -m venv .generate_data
|
| 36 |
+
source .generate_data/bin/activate
|
| 37 |
+
pip3 install -r requirements.txt
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
### Generating the dataset from piles
|
| 41 |
+
|
| 42 |
+
`python3 generate_data.py --train --test --small --language english german french spanish polish`
|
| 43 |
+
|
| 44 |
+
Supported dataset splits are `--test`, `--train`, & `--sample`
|
| 45 |
+
Arguments to set the train dataset size are `--small`, `--medium`, `--large`, & `--xl`.
|
| 46 |
+
Languages can be enabled using `--language english german french spanish polish`
|
home_assistant_test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd741951555fb66d3561fb75a46bd27765feded51f495ff8c1bf1d90253edd9a
|
| 3 |
+
size 198801727
|
home_assistant_test_english.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71a5488a9d66e2f6de6693d85882853e4674ac13313173063f32b681106fb4ab
|
| 3 |
+
size 38570015
|
home_assistant_test_french.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4909ae31a26bed7f89171cb1b2412556a6d00fad5d40ca7ce046a7c13932a4d6
|
| 3 |
+
size 40213926
|
home_assistant_test_german.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16a0f2de36b46ade2f2702d61986c3001995b87210ee750ab001aa706d07bf6a
|
| 3 |
+
size 39538600
|
home_assistant_test_polish.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ae73141613cb3b3faef71bd007d56458edb96a319a14de3213507d2bea580d2
|
| 3 |
+
size 40002176
|
home_assistant_test_spanish.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21eb8d64541153cf58896f2f966021d3e174141cffdc2dbd85bcc1b9de565bfb
|
| 3 |
+
size 40477010
|
home_assistant_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43c9b53e48dbd1bbe0a43ebea3eee0a2e70a25f43410d2ac5361743e13af0348
|
| 3 |
+
size 1329405735
|
home_assistant_train_english.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbb90f9f83aa36ce4347e5a4861dd33a82d2209738cef7df7520e18655faca6a
|
| 3 |
+
size 260139639
|
home_assistant_train_french.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c14d544fe14578d342fb3b5d66820ae478ec8903acbc7a0010eaf1eb407abc26
|
| 3 |
+
size 267963056
|
home_assistant_train_german.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04c53a460023b04bfd9c6fb7418b10b98f6ab4bee2e4e6e7fbe500535ee00af6
|
| 3 |
+
size 266183032
|
home_assistant_train_polish.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c90ffaeee0f4de33a08c4b0bbae3daca89f603b1c308f2e1bcadbaad8643e45
|
| 3 |
+
size 268148855
|
home_assistant_train_spanish.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8010316a6ac3268c31991fd621f374bfa01c1cd5636bc8df4a9127dd1fc5bb9
|
| 3 |
+
size 266971153
|