File size: 3,444 Bytes
2779f40
 
 
 
1267a65
2779f40
 
 
 
 
 
 
 
 
 
 
 
 
1267a65
2779f40
1267a65
2779f40
1267a65
2779f40
 
1267a65
2779f40
 
1267a65
2779f40
 
 
 
 
 
 
 
 
 
1267a65
 
 
2779f40
1267a65
 
2779f40
 
 
 
 
 
 
1267a65
 
 
2779f40
 
1267a65
 
 
 
2779f40
 
 
 
 
1267a65
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: apache-2.0
language:
  - en
pretty_name: PrivateAssistant home commands (FunctionGemma data v8)
size_categories:
  - 10K<n<100K
task_categories:
  - text-generation
tags:
  - synthetic
  - function-calling
  - home-automation
  - voice-assistant
configs:
  - config_name: default
    data_files:
      - split: train
        path: compact8-train.jsonl
      - split: validation
        path: compact8-dev.jsonl
      - split: targets
        path: compact8-targets-dev.jsonl
---

# PrivateAssistant home commands: FunctionGemma training data v8

The synthetic training data of
[`Feleir/privateassistant-functiongemma-home`](https://huggingface.co/Feleir/privateassistant-functiongemma-home) (v8):
home voice-assistant requests on randomly generated homes, with the answer in the project's compact command format.

- **Source code:** https://github.com/feleir/privateassistant (Apache-2.0). The generator is `llmeval/.../TrainingData.kt` with its phrase lists
  (`PhrasesEn.kt`); `finetune/README.md`, "FunctionGemma: a training round", has the exact commands and seeds, so
  the files can be regenerated byte for byte from the source at the same commit.

## Files

| File | Rows | SHA-256 | Seed |
|---|---|---|---|
| `compact8-train.jsonl` | 24,000 | `ccd7ee641f7f449ad9293312ca25a468dbf6ce3023cc53936a735b5299e99e15` | 1 |
| `compact8-dev.jsonl` | 1,500 | `901a086cabbe9e7bcd9bc9fbac9b52c82e4f0650af98143d76a9ebec8041856b` | 2 |
| `compact8-targets-dev.jsonl` | 1,320 | `f62ed77e6d48b5fbe693bf5b8cc7eeaf6a82a222fe4225dcdbf9220a1896d13b` | 3 (up to 150 of each of nine target kinds) |

Each row: `kind` (one of 76 kinds of request, e.g. `lights_onoff`, `lights_except`, `negation`, `routine_greeting`,
`food_safety`, `tv_search`, `tv_status`, `what_to_watch`, `missing_light`), `system` (the short prompt: the fixed first line and the home's names), `tools`
(empty in this format) and `messages`: one `user` turn (the `Now:` line, any earlier exchanges, and the request) and
one `assistant` turn, the answer in compact lines (`tool key=value`, `none`, `ask(question)`, `chat` or `reply`).

## How it was made

Random homes (room, light, group, scene, TV app and routine names from word lists in the code), requests from phrase
templates, and every target written by the app's own `CompactFormat.write` and checked to parse back and to fit the
tools' schemas (`TrainingDataTest`). Every built-in evaluation template, all seven blind sets and the TV-names set are
held out, as requests and as earlier turns. Data v8 added `what_to_watch` requests (trending, new releases,
recommendations, streaming availability) and expanded `search_tv` and `tv_near_miss` coverage.

**No personal data.** Nothing comes from real use of the assistant: no recordings, no transcripts, no real home's
names or devices, no household data.

**No row was sampled from a language model.** The generator (`TrainingData.kt`), its phrase templates and word lists
(`PhrasesEn.kt`) were written by the developer with Claude Code (Anthropic's AI coding assistant).

## Licence

Apache License 2.0, as the code that generates it. TV app names (Netflix, BBC iPlayer, …) are trademarks of their
owners and appear only as names a user might say.

This dataset and the PrivateAssistant project are not affiliated with or endorsed by Google or any of those owners.
"FunctionGemma" and "Gemma" are Google's names, used only to say which model the data was made for.