tuxevil commited on
Commit
7745e2a
·
verified ·
1 Parent(s): 9a88c84

Document dataset provenance and upstream attribution

Browse files
Files changed (1) hide show
  1. README.md +37 -2
README.md CHANGED
@@ -14,7 +14,29 @@ size_categories:
14
 
15
  # Home Assistant Requests V4
16
 
17
- Curated bilingual dataset for training and evaluating small language models that translate natural-language Home Assistant requests into a strict `ha-action-v3` JSON contract.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## Dataset splits
20
 
@@ -45,6 +67,17 @@ The dataset teaches the model to:
45
  - emit JSON only;
46
  - preserve Home Assistant service, target, and data fields.
47
 
 
 
 
 
 
 
 
 
 
 
 
48
  ## Evaluation
49
 
50
  Primary metrics:
@@ -62,7 +95,9 @@ Exact-match and safety metrics are more important than conversational fluency be
62
 
63
  Research and evaluation of local, safety-oriented Home Assistant assistants. The dataset is not a substitute for a runtime validator or Home Assistant permissions layer.
64
 
65
- ## Safety
 
 
66
 
67
  Never execute model output directly. Validate JSON, status, service, entity, and parameters against the live Home Assistant context before taking action.
68
 
 
14
 
15
  # Home Assistant Requests V4
16
 
17
+ Curated and validated bilingual dataset for training and evaluating small language models that translate natural-language Home Assistant requests into a strict `ha-action-v3` JSON contract.
18
+
19
+ ## Provenance and attribution
20
+
21
+ V4 is **not entirely synthetic**. Most accepted examples originate from two public upstream datasets and were migrated, normalized, schema-validated, and filtered by this project:
22
+
23
+ | Source | Train | Validation | Test |
24
+ |---|---:|---:|---:|
25
+ | [`acon96/Home-Assistant-Requests`](https://huggingface.co/datasets/acon96/Home-Assistant-Requests) | 2,938 | 404 | 334 |
26
+ | [`acon96/Home-Assistant-Requests-V2`](https://huggingface.co/datasets/acon96/Home-Assistant-Requests-V2) | 298 | 6 | 77 |
27
+ | Project-curated contract cases | 334 | 5 | 6 |
28
+ | **Total** | **3,570** | **415** | **417** |
29
+
30
+ The upstream rows are not copied blindly. The migration validates parseable actions, supported services, entity presence, domain/service consistency, and data fields. Ambiguous or unsupported rows are retained separately in `rejected.jsonl` and are not silently repaired.
31
+
32
+ The migration process rejected 10,932 source rows:
33
+
34
+ ```text
35
+ V1 rejected: 1,324
36
+ V2 rejected: 9,608
37
+ ```
38
+
39
+ The project-curated rows add explicit contract coverage for safe refusal, missing information, informational requests, domain mismatch, entity availability, and Home Assistant field variants. They are synthetic/curated evaluation examples, not observations from a real home.
40
 
41
  ## Dataset splits
42
 
 
67
  - emit JSON only;
68
  - preserve Home Assistant service, target, and data fields.
69
 
70
+ ## Home Assistant schema snapshot
71
+
72
+ The validation schema was retrieved from the `dev` branch of [`home-assistant/core`](https://github.com/home-assistant/core) on 2026-07-29:
73
+
74
+ ```text
75
+ light: eeb92702412f506c0130e7bef8aca60d9debb119
76
+ climate: 40f7a2f50fb1442c6ecf4cd7e211030a8bc98ce9
77
+ fan: b841a26aff0a005dcd929b94c3b33f0fa04741c6
78
+ cover: c236d1734366bda28f1d2fc64b685885f7fde2fc
79
+ ```
80
+
81
  ## Evaluation
82
 
83
  Primary metrics:
 
95
 
96
  Research and evaluation of local, safety-oriented Home Assistant assistants. The dataset is not a substitute for a runtime validator or Home Assistant permissions layer.
97
 
98
+ ## Safety and licensing note
99
+
100
+ Upstream terms and licenses remain applicable to derived rows. Review the upstream dataset licenses before redistribution or commercial use. Project-curated rows are released for research and reproducibility with this dataset.
101
 
102
  Never execute model output directly. Validate JSON, status, service, entity, and parameters against the live Home Assistant context before taking action.
103