Datasets:
Card: v1 dataset
Browse files
README.md
CHANGED
|
@@ -22,6 +22,22 @@ configs:
|
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: batch3/data/train-*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
| 26 |
# tiny-broca dataset
|
| 27 |
|
|
@@ -31,9 +47,10 @@ Every sentence is read by both voices.
|
|
| 31 |
|
| 32 |
| | |
|
| 33 |
|---|---|
|
| 34 |
-
| Sentences | 9,384 |
|
| 35 |
-
| Clips | 16,434 accepted of 19,504
|
| 36 |
-
| Duration | 17.3 hours |
|
|
|
|
| 37 |
| Voices | F1, M1 |
|
| 38 |
| Audio | 24 kHz mono, 16-bit FLAC, stored inside the Parquet files |
|
| 39 |
| Language | Portuguese (Brazil) |
|
|
@@ -47,6 +64,8 @@ from datasets import load_dataset
|
|
| 47 |
batch1 = load_dataset("brenorb/tiny-broca", "batch1")
|
| 48 |
batch2 = load_dataset("brenorb/tiny-broca", "batch2")
|
| 49 |
batch3 = load_dataset("brenorb/tiny-broca", "batch3")
|
|
|
|
|
|
|
| 50 |
|
| 51 |
row = batch1["train"][0]
|
| 52 |
print(row["voice"], row["text"])
|
|
@@ -58,13 +77,19 @@ audio = row["audio"]["array"]
|
|
| 58 |
Counts are the accepted clips' unique sentences; each sentence is read by
|
| 59 |
both voices, so the clip count is roughly twice the sentence count.
|
| 60 |
|
| 61 |
-
| Config | Split | Sentences | Clips |
|
| 62 |
|---|---|---:|---:|---|
|
| 63 |
| `batch1` | train | 3,560 | 7,119 | conversational sentences and Common Voice |
|
| 64 |
| `batch1` | validation | 647 | 1,294 | same |
|
| 65 |
| `batch1` | test | 404 | 807 | same |
|
| 66 |
| `batch2` | train | 3,327 | 6,653 | Common Voice and templates |
|
| 67 |
| `batch3` | train | 343 | 561 | money phrases: amounts, cards and bills |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
`batch1` mirrors the first batch of the corpus this project follows
|
| 70 |
(conversational speech plus natural sentences); `batch2` is training data
|
|
@@ -76,6 +101,21 @@ sentence: both readings of a sentence are always in the same split, so the
|
|
| 76 |
validation and test sentences are the same for every model trained on this
|
| 77 |
corpus.
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
## How it was made
|
| 80 |
|
| 81 |
1. The two voices were created by voice cloning: each is Qwen3-TTS 1.7B
|
|
@@ -87,9 +127,16 @@ corpus.
|
|
| 87 |
using the reference clips as the voice prompt.
|
| 88 |
3. Each clip was transcribed with Whisper (multilingual, pt). Clips above 15%
|
| 89 |
word error rate, or with implausible duration, speaking rate or silence,
|
| 90 |
-
were generated a second time; clips that failed twice were left out
|
|
|
|
| 91 |
4. Accepted clips were peak-normalised to 0.95.
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
The generation scripts and their settings are in `generation/`.
|
| 94 |
|
| 95 |
The automatic screening catches wrong or missing words. It does not measure
|
|
@@ -105,9 +152,10 @@ The `source` column records where every sentence came from.
|
|
| 105 |
| Conversational sentences, generated deterministically from written slot pools | 3,500 | this project |
|
| 106 |
| Templates: Brazilian numbers, dates, times, money, identifiers, questions | 1,079 | this project |
|
| 107 |
| Money phrases (`batch3`) | 400 | this project |
|
|
|
|
| 108 |
|
| 109 |
-
|
| 110 |
-
templates 1,578, money 561.
|
| 111 |
|
| 112 |
The conversational slots keep the corpus reproducible: the same seed produces
|
| 113 |
the same sentences.
|
|
@@ -118,10 +166,11 @@ the same sentences.
|
|
| 118 |
|---|---|
|
| 119 |
| `id` | Clip ID: batch, voice, split and sentence index, e.g. `b1_F1_test_00390` |
|
| 120 |
| `text_id` | Sentence ID in the corpus, e.g. `broca01_00000` |
|
| 121 |
-
| `batch` | 1
|
| 122 |
| `split` | train, validation or test |
|
| 123 |
-
| `text` |
|
| 124 |
-
| `
|
|
|
|
| 125 |
| `source_license`, `source_url` | `cc0-1.0` for Common Voice sentences, otherwise `project-own` |
|
| 126 |
| `voice` | F1 or M1 |
|
| 127 |
| `audio` | 24 kHz audio, as bytes, path and sample rate |
|
|
@@ -140,6 +189,10 @@ checks are listed with a reason in the `*.rejected.jsonl` files. See
|
|
| 140 |
[docs/annotations.md](https://github.com/brenorb/tiny-broca/blob/main/docs/annotations.md)
|
| 141 |
in the code repository. 14,290 clips are annotated; 933 failed the alignment checks.
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
## Limitations
|
| 144 |
|
| 145 |
- The speech is synthetic. It carries the pronunciation habits and errors of
|
|
@@ -150,6 +203,14 @@ in the code repository. 14,290 clips are annotated; 933 failed the alignment che
|
|
| 150 |
they are included as `references/` for provenance and are not training
|
| 151 |
audio.
|
| 152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
## License
|
| 154 |
|
| 155 |
CC BY 4.0. Please credit "tiny-broca dataset, brenorb" and link to this page.
|
|
|
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: batch3/data/train-*.parquet
|
| 25 |
+
- config_name: batch4
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: batch4/data/train-*.parquet
|
| 29 |
+
- split: validation
|
| 30 |
+
path: batch4/data/validation-*.parquet
|
| 31 |
+
- split: test
|
| 32 |
+
path: batch4/data/test-*.parquet
|
| 33 |
+
- config_name: batch5
|
| 34 |
+
data_files:
|
| 35 |
+
- split: train
|
| 36 |
+
path: batch5/data/train-*.parquet
|
| 37 |
+
- split: validation
|
| 38 |
+
path: batch5/data/validation-*.parquet
|
| 39 |
+
- split: test
|
| 40 |
+
path: batch5/data/test-*.parquet
|
| 41 |
---
|
| 42 |
# tiny-broca dataset
|
| 43 |
|
|
|
|
| 47 |
|
| 48 |
| | |
|
| 49 |
|---|---|
|
| 50 |
+
| Sentences | 9,384 in v0, plus 4,500 new and 2,800 re-read in v1 |
|
| 51 |
+
| Clips | v0: 16,434 accepted of 19,504; v1: 14,047 accepted of 14,600 |
|
| 52 |
+
| Duration | 17.3 hours (v0) plus 16.4 hours (v1) |
|
| 53 |
+
| v1 training set | 26,130 clips, 28.2 hours (see [Versions](#versions)) |
|
| 54 |
| Voices | F1, M1 |
|
| 55 |
| Audio | 24 kHz mono, 16-bit FLAC, stored inside the Parquet files |
|
| 56 |
| Language | Portuguese (Brazil) |
|
|
|
|
| 64 |
batch1 = load_dataset("brenorb/tiny-broca", "batch1")
|
| 65 |
batch2 = load_dataset("brenorb/tiny-broca", "batch2")
|
| 66 |
batch3 = load_dataset("brenorb/tiny-broca", "batch3")
|
| 67 |
+
batch4 = load_dataset("brenorb/tiny-broca", "batch4") # v1
|
| 68 |
+
batch5 = load_dataset("brenorb/tiny-broca", "batch5") # v1
|
| 69 |
|
| 70 |
row = batch1["train"][0]
|
| 71 |
print(row["voice"], row["text"])
|
|
|
|
| 77 |
Counts are the accepted clips' unique sentences; each sentence is read by
|
| 78 |
both voices, so the clip count is roughly twice the sentence count.
|
| 79 |
|
| 80 |
+
| Config | Split | Sentences | Clips | Contents |
|
| 81 |
|---|---|---:|---:|---|
|
| 82 |
| `batch1` | train | 3,560 | 7,119 | conversational sentences and Common Voice |
|
| 83 |
| `batch1` | validation | 647 | 1,294 | same |
|
| 84 |
| `batch1` | test | 404 | 807 | same |
|
| 85 |
| `batch2` | train | 3,327 | 6,653 | Common Voice and templates |
|
| 86 |
| `batch3` | train | 343 | 561 | money phrases: amounts, cards and bills |
|
| 87 |
+
| `batch4` | train | 3,936 | 7,729 | v1: what v0 read badly (loanwords, money, numbers, dates, symbols...) |
|
| 88 |
+
| `batch4` | validation | 221 | 436 | same |
|
| 89 |
+
| `batch4` | test | 228 | 452 | same |
|
| 90 |
+
| `batch5` | train | 2,536 | 4,994 | v1: v0 sentences re-read from their spoken form |
|
| 91 |
+
| `batch5` | validation | 91 | 180 | same |
|
| 92 |
+
| `batch5` | test | 131 | 256 | same |
|
| 93 |
|
| 94 |
`batch1` mirrors the first batch of the corpus this project follows
|
| 95 |
(conversational speech plus natural sentences); `batch2` is training data
|
|
|
|
| 101 |
validation and test sentences are the same for every model trained on this
|
| 102 |
corpus.
|
| 103 |
|
| 104 |
+
`batch4` and `batch5` were made for v1. `batch4` adds 4,500 sentences for what
|
| 105 |
+
v0 read badly: English loanwords and brands, money with "reais" in every
|
| 106 |
+
position, long numbers and identifiers, dates, times, symbols and math, units,
|
| 107 |
+
ordinals, acronyms, gender agreement, URLs, stress, questions and
|
| 108 |
+
exclamations. `batch5` re-reads the 2,800 v0 sentences whose spoken form
|
| 109 |
+
differs from what is written (every sentence with a number, symbol, acronym or
|
| 110 |
+
loanword), plus the template sentences that had grammar errors, corrected.
|
| 111 |
+
|
| 112 |
+
## Versions
|
| 113 |
+
|
| 114 |
+
The v0 files are unchanged. v1 was trained on `batch1` and `batch2` without
|
| 115 |
+
the 2,821 v0 sentences listed in `v1_superseded.txt` (all of `batch3` among
|
| 116 |
+
them), plus `batch4` and `batch5`: 26,130 clips, 28.2 hours. The superseded v0
|
| 117 |
+
clips were read from digits and symbols, so some say the wrong words.
|
| 118 |
+
|
| 119 |
## How it was made
|
| 120 |
|
| 121 |
1. The two voices were created by voice cloning: each is Qwen3-TTS 1.7B
|
|
|
|
| 127 |
using the reference clips as the voice prompt.
|
| 128 |
3. Each clip was transcribed with Whisper (multilingual, pt). Clips above 15%
|
| 129 |
word error rate, or with implausible duration, speaking rate or silence,
|
| 130 |
+
were generated a second time; clips that failed twice were left out (3,070
|
| 131 |
+
in v0).
|
| 132 |
4. Accepted clips were peak-normalised to 0.95.
|
| 133 |
|
| 134 |
+
For `batch4` and `batch5` the teacher read the spoken form, the words a
|
| 135 |
+
Brazilian reader says (`R$ 3,00` → "três reais", `online` → "onlaine"), and
|
| 136 |
+
the screening compared spoken forms with numbers included. v0's screening
|
| 137 |
+
ignored numbers, which let misread amounts through. Clips Whisper rejected got
|
| 138 |
+
a second opinion from parakeet, and forced alignment was the third check.
|
| 139 |
+
|
| 140 |
The generation scripts and their settings are in `generation/`.
|
| 141 |
|
| 142 |
The automatic screening catches wrong or missing words. It does not measure
|
|
|
|
| 152 |
| Conversational sentences, generated deterministically from written slot pools | 3,500 | this project |
|
| 153 |
| Templates: Brazilian numbers, dates, times, money, identifiers, questions | 1,079 | this project |
|
| 154 |
| Money phrases (`batch3`) | 400 | this project |
|
| 155 |
+
| v1 coverage sentences (`batch4`), from templates and word lists | 4,500 | this project |
|
| 156 |
|
| 157 |
+
In v0, accepted clips by source: Common Voice 7,706, conversational 6,589,
|
| 158 |
+
templates 1,578, money 561. `batch5` re-reads sentences of these sources.
|
| 159 |
|
| 160 |
The conversational slots keep the corpus reproducible: the same seed produces
|
| 161 |
the same sentences.
|
|
|
|
| 166 |
|---|---|
|
| 167 |
| `id` | Clip ID: batch, voice, split and sentence index, e.g. `b1_F1_test_00390` |
|
| 168 |
| `text_id` | Sentence ID in the corpus, e.g. `broca01_00000` |
|
| 169 |
+
| `batch` | 1 to 5 (see [Contents](#contents)) |
|
| 170 |
| `split` | train, validation or test |
|
| 171 |
+
| `text` | What the teacher read. In `batch4` and `batch5` this is the spoken form, with loanwords respelled the Brazilian way |
|
| 172 |
+
| `written` | `batch4` and `batch5` only: the sentence as written |
|
| 173 |
+
| `source` | `cv`, `converse`, `templates` or `money`; `v1-<category>` in `batch4`; the v0 source plus `+v1` in `batch5` |
|
| 174 |
| `source_license`, `source_url` | `cc0-1.0` for Common Voice sentences, otherwise `project-own` |
|
| 175 |
| `voice` | F1 or M1 |
|
| 176 |
| `audio` | 24 kHz audio, as bytes, path and sample rate |
|
|
|
|
| 189 |
[docs/annotations.md](https://github.com/brenorb/tiny-broca/blob/main/docs/annotations.md)
|
| 190 |
in the code repository. 14,290 clips are annotated; 933 failed the alignment checks.
|
| 191 |
|
| 192 |
+
`annotations-v1/` holds the same annotations for the v1 training set: 25,108
|
| 193 |
+
clips (train 22,274, validation 1,577, test 1,257); 1,022 failed the
|
| 194 |
+
alignment checks.
|
| 195 |
+
|
| 196 |
## Limitations
|
| 197 |
|
| 198 |
- The speech is synthetic. It carries the pronunciation habits and errors of
|
|
|
|
| 203 |
they are included as `references/` for provenance and are not training
|
| 204 |
audio.
|
| 205 |
|
| 206 |
+
## Errata
|
| 207 |
+
|
| 208 |
+
- v0's `voices.json` credited F1 to M1's source clip. F1 comes from Common
|
| 209 |
+
Voice clip `cv_36536891`; `references/voices.json` is corrected in v1, but
|
| 210 |
+
the `reference_audio` column of the v0 files keeps the old value.
|
| 211 |
+
- The first version of this card said 0 clips failed twice. 3,070 of the
|
| 212 |
+
19,504 v0 clips did, and they are not in the dataset.
|
| 213 |
+
|
| 214 |
## License
|
| 215 |
|
| 216 |
CC BY 4.0. Please credit "tiny-broca dataset, brenorb" and link to this page.
|