Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: messages
|
| 5 |
+
list:
|
| 6 |
+
- name: content
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: role
|
| 9 |
+
dtype: string
|
| 10 |
+
splits:
|
| 11 |
+
- name: train
|
| 12 |
+
num_bytes: 3021564
|
| 13 |
+
num_examples: 3043
|
| 14 |
+
download_size: 1331200
|
| 15 |
+
dataset_size: 3021564
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/train-*
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# TradeGuru Electrical Fault-Finding SFT Dataset
|
| 24 |
+
|
| 25 |
+
Synthetic training data for fine-tuning **Google Gemma 3 27B** as a specialised electrical fault-finding assistant for the **TradeGuru** iOS app.
|
| 26 |
+
|
| 27 |
+
## Dataset Details
|
| 28 |
+
|
| 29 |
+
- **Examples**: 3,043 conversation pairs
|
| 30 |
+
- **Format**: Gemma SFT (`messages` column with `user`/`model` roles)
|
| 31 |
+
- **Model responses**: Structured JSON matching the TradeGuru iOS app `ContentBlock` schema
|
| 32 |
+
|
| 33 |
+
## Source Knowledge
|
| 34 |
+
|
| 35 |
+
- 127-page professional electrical fault-finding guide covering domestic, commercial, and industrial domains
|
| 36 |
+
- 522 practical training summaries across 18 categories (testing, wiring, tools, earthing, safety, and more)
|
| 37 |
+
|
| 38 |
+
## Categories Covered (26)
|
| 39 |
+
|
| 40 |
+
Electrical basics, safety/PPE, LOTO, fault-finding process, testing equipment, CAT ratings, domestic (RCD faults, no power, breaker tripping, hot water), commercial (HVAC, emergency lighting, power distribution), industrial (motors, PLCs, sensors), wiring (switches, power points), earthing, cable work, tools, apprentice skills, 3-phase, roof work, switchboards.
|
| 41 |
+
|
| 42 |
+
## Response Format
|
| 43 |
+
|
| 44 |
+
Model responses are valid JSON objects with a `blocks` array containing typed content blocks:
|
| 45 |
+
|
| 46 |
+
```json
|
| 47 |
+
{"blocks": [
|
| 48 |
+
{"type": "text", "content": "..."},
|
| 49 |
+
{"type": "step_list", "title": "...", "steps": ["...", "..."]},
|
| 50 |
+
{"type": "warning", "content": "..."},
|
| 51 |
+
{"type": "callout", "content": "...", "style": "tip"}
|
| 52 |
+
]}
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
**Block types**: text, heading, step_list, warning, code, parts_list, regulation, callout, table, link
|
| 56 |
+
|
| 57 |
+
## Generation
|
| 58 |
+
|
| 59 |
+
- Generated via GoodWork swarm (Z.AI / NullClaw) with parallel agent orchestration
|
| 60 |
+
- Post-processed with validation pipeline: JSON schema checks, deduplication, compliance filtering
|
| 61 |
+
- Quality-filtered from 15,032 raw pairs down to 3,043 unique validated examples
|
| 62 |
+
|
| 63 |
+
## Usage
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
from datasets import load_dataset
|
| 67 |
+
|
| 68 |
+
dataset = load_dataset("THEARTISTISME/tradeguru-electrical-sft")
|
| 69 |
+
```
|