File size: 2,612 Bytes
c51d2be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
language:
  - en
license: apache-2.0
tags:
  - information-extraction
  - json
  - rag
  - structured-data
  - synthetic
  - legacy-database-modernization
task_categories:
  - text-generation
  - feature-extraction
size_categories:
  - 1B<n<10B
configs:
  - config_name: default
    data_files:
      - split: train
        path: "data/train-*.parquet"
---

# Helios Nano JSON Data

Large-scale synthetic dataset for training small language models (SLMs) on
**structured information extraction** — converting unstructured text into JSON.

## Purpose

Designed for fine-tuning a 400M-parameter extraction engine that:
- Reads unstructured business documents (invoices, medical records, contracts, etc.)
- Follows a provided JSON schema
- Outputs clean, structured JSON

Ideal for **legacy database modernization** and **RAG pipelines**.

## Dataset Structure

Each row contains:

| Column | Type | Description |
|---|---|---|
| `industry` | string | Source industry (finance, healthcare, hr, legal, …) |
| `doc_type` | string | Document type (invoice, prescription, contract, …) |
| `schema_json` | string | JSON schema the model should extract |
| `raw_text` | string | Unstructured source document |
| `extracted_json` | string | Gold-standard structured extraction |

## Coverage

**16 industries**, **41 document types**, including:
- Finance: invoices, receipts, payroll, wire transfers, tax summaries, bank transactions
- Healthcare: patient records, prescriptions, lab results, referrals
- HR: employee records, job postings, performance reviews
- Legal: contract summaries
- Real Estate: property listings, lease agreements
- Logistics: shipping notices, purchase orders, inventory, customs declarations
- Retail: orders, returns
- Insurance: claims
- Education: enrollment, scholarships
- Manufacturing: quality inspections, maintenance logs
- Government: business licenses, building permits
- And more…

## Format Diversity

Text fields use randomized formatting for dates (`Sept 29` / `09-29-2024` /
`2024-09-29`), currency (`$1,234.56` / `USD 1234.56`), phone numbers, IDs,
and document layout (formal headers vs. narrative prose vs. email style).

## Stats

- **Shards**: 26
- **Disk size**: 12.2 GB (Snappy-compressed Parquet)
- **Target**: 10B tokens (BPE, vocab 32768)

## Usage

```python
from datasets import load_dataset

ds = load_dataset("respinosamena/Helios-Nano-JSON-Data", split="train")
print(ds[0])
```

## Training Prompt Format

```
<|schema|>{schema_json}<|end_turn|>
<|document|>{raw_text}<|end_turn|>
<|extract|>{extracted_json}<|end_turn|>
```

## License

Apache 2.0