santhosh-005 commited on
Commit
f498831
·
verified ·
1 Parent(s): 64576cb

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language: [ta]
4
+ task_categories: [audio-classification]
5
+ tags: [end-of-turn, turn-detection, turn-taking, endpointing, voice-agent, tamil, dravidian, smart-turn]
6
+ size_categories: [10K<n<100K]
7
+ configs:
8
+ - config_name: default
9
+ data_files:
10
+ - split: train
11
+ path: data/train-*
12
+ - split: dev
13
+ path: data/dev-*
14
+ - split: test
15
+ path: data/test-*
16
+ dataset_info:
17
+ features:
18
+ - name: audio
19
+ dtype: audio
20
+ - name: endpoint_bool
21
+ dtype: bool
22
+ - name: language
23
+ dtype: string
24
+ - name: dataset
25
+ dtype: string
26
+ - name: sid
27
+ dtype: string
28
+ - name: call
29
+ dtype: string
30
+ - name: split
31
+ dtype: string
32
+ - name: source
33
+ dtype: string
34
+ - name: harvest
35
+ dtype: string
36
+ - name: gap
37
+ dtype: float32
38
+ - name: prev_dur
39
+ dtype: float32
40
+ - name: n_samples
41
+ dtype: int32
42
+ - name: label_pipeline
43
+ dtype: bool
44
+ - name: llm_verdict
45
+ dtype: bool
46
+ - name: dispute
47
+ dtype: bool
48
+ - name: llm_conf
49
+ dtype: float32
50
+ splits:
51
+ - name: train
52
+ num_examples: 11992
53
+ - name: dev
54
+ num_examples: 2325
55
+ - name: test
56
+ num_examples: 4168
57
+ ---
58
+
59
+ # tamil-eot
60
+
61
+ **18,485 labelled end-of-turn boundaries from 116 Tamil call-centre calls.**
62
+
63
+ Each row is up to 8 seconds of one speaker's audio ending at a turn boundary,
64
+ labelled `complete` (the speaker finished) or `incomplete` (they paused
65
+ mid-thought). Built for training semantic turn detectors for voice agents;
66
+ Tamil is not covered by Smart Turn v3 or the LiveKit turn detector.
67
+
68
+ Schema matches `pipecat-ai`'s Smart Turn datasets, so it trains with their loop
69
+ unchanged.
70
+
71
+ | | |
72
+ |---|---|
73
+ | clips | 18,485 — 16 kHz mono FLAC, ≤ 8 s |
74
+ | complete / incomplete | 12,069 / 6,416 |
75
+ | source calls | 116 |
76
+ | train / dev / test | 11,992 / 2,325 / 4,168 |
77
+ | source audio | ~36 h |
78
+
79
+ ## Structure
80
+
81
+ **Split by call, not by clip** — no call appears in two splits. The test split
82
+ is fixed and has not changed across releases.
83
+
84
+ | field | meaning |
85
+ |---|---|
86
+ | `audio` | 16 kHz mono FLAC |
87
+ | `endpoint_bool` | **the label** — true = speaker finished |
88
+ | `language` | `tam` |
89
+ | `dataset` | provenance tag |
90
+ | `sid` | stable clip id, `<call>_<L\|R>_<offset_ms>` |
91
+ | `call` | source call — **group by this** |
92
+ | `source` | boundary type: `change`, `change_midseg`, `hold_intra`, `hold_inter` |
93
+ | `harvest` | `core`, or `relaxed` for the widened-gate second pass |
94
+ | `gap` | silence at the boundary, seconds |
95
+ | `prev_dur` | preceding talk-spurt duration, seconds |
96
+ | `n_samples` | true length before padding |
97
+ | `label_pipeline` | first-pass acoustic label |
98
+ | `llm_verdict` | audio-LLM label |
99
+ | `dispute` | the two disagree (7,471 rows) |
100
+ | `llm_conf` | labeller confidence |
101
+
102
+ `source` distinguishes speaker handovers (`change`, `change_midseg`) from
103
+ same-speaker pauses (`hold_intra`, `hold_inter`). Handovers are ~93%
104
+ single-class; `hold_intra` is near-balanced and is 58% of the test split.
105
+
106
+ ```python
107
+ from datasets import load_dataset
108
+ ds = load_dataset("santhosh-005/tamil-eot")
109
+ ds["train"][0]["audio"], ds["train"][0]["endpoint_bool"]
110
+ ```
111
+
112
+ Trained model: [`santhosh-005/smart-turn-tamil`](https://huggingface.co/santhosh-005/smart-turn-tamil)
113
+
114
+ ## Dataset creation
115
+
116
+ ### Source
117
+
118
+ Derived from **SPRING_INX Tamil R1** (SPRING Lab, IIT Madras, CC BY 4.0), which
119
+ ships each call as **one audio file per speaker**, separately transcribed. That
120
+ makes the speaker label structural rather than inferred — no diarization, and
121
+ no speaker-error rate to propagate.
122
+
123
+ ### Boundaries and cutting
124
+
125
+ Turn boundaries come from Silero VAD run per leg, not from transcript
126
+ timestamps: the shipped segments are padded and sum to ~107% of call
127
+ wall-clock, so their edges are not turn boundaries. Transcripts are used only
128
+ at build time — filtering crosstalk bleed, counting words for the backchannel
129
+ gate, and separating mid-segment boundaries — and are never part of a clip.
130
+
131
+ Of 50,532 candidate boundaries, **18,485 were kept**. Gates require ≥1.0 s of
132
+ speech ending at the cut (enough prosody to read), ≤0.05 s of crosstalk in the
133
+ gap, handovers within 1.5 s followed by ≥3 words (rejecting backchannels such
134
+ as *um*, *okay*), and pauses between 0.2 s and 2.0 s. A second pass widened the
135
+ speech-duration and pause limits to 0.5 s and 5.0 s, adding 2,272 clips marked
136
+ `harvest = "relaxed"`.
137
+
138
+ Each clip is cut from **one leg only** — what a deployed detector receives is
139
+ the inbound user stream, not a mixdown — and ends with **200 ms of real audio
140
+ after the boundary, identical for both classes**. The 0.2 s pause floor exists
141
+ because the speaker who paused is the one who resumes: a shorter pause would
142
+ place their resumed speech inside the clip. Measured trailing-window peak
143
+ amplitude is 0.0021 median, so trailing-silence length carries no label
144
+ information.
145
+
146
+ ### Labels
147
+
148
+ The first labelling pass derived labels from VAD boundaries plus transcript
149
+ segment structure — a pause falling inside a transcript segment was treated as
150
+ `incomplete`. Audited against a human listening to 197 clips blind, it scored
151
+ **70.1% overall and 44.4% on same-speaker pauses**, below chance, because
152
+ "a pause fell inside a transcript segment" is not a judgement about whether a
153
+ thought was finished.
154
+
155
+ Labels were rebuilt with an **audio LLM listening to the clip only** — no
156
+ transcript, no sight of the first-pass label. Seven candidates were scored
157
+ against the same 197 human-labelled clips before any were used:
158
+
159
+ | labeller | agreement | `hold_intra` | precision on `incomplete` |
160
+ |---|---|---|---|
161
+ | **`gemini-3.7-flash`** *(used)* | **97.5%** | 97.0% | 93.9% |
162
+ | `gemini-3.6-flash` | 96.4% | 97.0% | 88.7% |
163
+ | `gemini-3-flash-preview` | 93.4% | 90.9% | 85.7% |
164
+ | first-pass acoustic | 70.1% | 44.4% | 44.4% |
165
+
166
+ `gemini-3.7-flash` tied statistically with `gemini-3.1-pro`; price broke the
167
+ tie. Labelling the full set cost $5.69. Relabelling flipped 53% of the original
168
+ negatives and removed a confound where the gates had drawn negatives from
169
+ longer utterances (Cohen's *d* on `prev_dur`: −0.33 → −0.09).
170
+
171
+ Both labels ship on every row. `endpoint_bool` follows `llm_verdict`.
172
+
173
+ ## Considerations
174
+
175
+ - **One domain** — narrowband call-centre telephony, two-party, task-oriented.
176
+ - **Positive-heavy** at 65:35, not 50:50.
177
+ - **Label-noise ceiling ~97.1%.** Above that you are fitting labeller error.
178
+ - **`source` is unbalanced.** Report per-`source` accuracy against each
179
+ bucket's own base rate; overall accuracy is dominated by the near
180
+ single-class handover buckets.
181
+ - **Human reference labels are not gold** — one pass by ear on isolated clips,
182
+ enough to rank labellers, not authoritative on any single clip.
183
+ - Audio is conversational speech from a public corpus; no personally
184
+ identifying metadata is included beyond what SPRING_INX ships.
185
+
186
+ ## Licensing and citation
187
+
188
+ The **dataset** — boundary extraction, cut geometry, gates, labels, and splits
189
+ — is by [santhosh-005](https://github.com/santhosh-005), released under
190
+ **CC BY 4.0**.
191
+
192
+ ```bibtex
193
+ @misc{tamil-eot,
194
+ author = {santhosh-005},
195
+ title = {tamil-eot: labelled end-of-turn boundaries for Tamil},
196
+ year = {2026},
197
+ url = {https://github.com/santhosh-005/tamil-eot}
198
+ }
199
+ ```
200
+
201
+ The **source audio** is from SPRING_INX Tamil R1 and remains the work of SPRING
202
+ Lab, IIT Madras. It is redistributable here under CC BY 4.0, with attribution:
203
+
204
+ > SPRING Lab, Indian Institute of Technology Madras. *SPRING_INX Tamil R1.*
205
+ > CC BY 4.0. <https://asr.iitm.ac.in/dataset>
206
+
207
+ Method and ablations: <https://github.com/santhosh-005/tamil-eot>
data/dev-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ac07230b4b8ae9cd0a7c4b6b26975b506da85b15f98ed1d7f9d0273198a0c8e
3
+ size 208094916
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:576ed1ba88509e53f78b61fa480b96207bcafda96cb61108bff6e57f0804d4dd
3
+ size 376950496
data/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3acd8676f61af98e631a58a29a49583bc87890f2baae2c5e06d0c14e39fceb2a
3
+ size 404213845
data/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f1264b92c6e8409951cae5d10280aa3db0c43b9343a993e7dc4e2241b9c68b7
3
+ size 408067978
data/train-00002-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f539334655a8330652af24923d6a500ba6bf1af19bd32dfd56be7a77f78bffe4
3
+ size 199785245