jkjarvis commited on
Commit
f0399d0
·
verified ·
1 Parent(s): 6e9dd25

Add sample and dataset card

Browse files
Files changed (2) hide show
  1. README.md +121 -0
  2. datadhara-sample-call-transcripts.csv +26 -0
README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: "Datadhara Sample: Call-Centre Transcripts (English and Hindi-English code-mixed)"
4
+ language:
5
+ - en
6
+ - hi
7
+ task_categories:
8
+ - automatic-speech-recognition
9
+ - text-classification
10
+ - summarization
11
+ size_categories:
12
+ - n<1K
13
+ tags:
14
+ - speech
15
+ - call-center
16
+ - customer-support
17
+ - code-mixed
18
+ - code-switching
19
+ - hinglish
20
+ - intent-classification
21
+ - sentiment
22
+ - de-identified
23
+ - dataset-sample
24
+ configs:
25
+ - config_name: default
26
+ data_files:
27
+ - split: train
28
+ path: datadhara-sample-call-transcripts.csv
29
+ ---
30
+
31
+ # Call-centre transcripts: sample
32
+
33
+ Turn-level transcripts of customer support calls, with speaker, timestamps, a language tag per turn (English or Hindi-English code-mixed), intent and sentiment. This file shows the schema and labels of the call-centre speech data that [Datadhara](https://datadhara.in/speech-data-for-ai?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global) licenses to AI teams.
34
+
35
+ ## What this is
36
+
37
+ - 25 rows: 4 calls, 6 to 7 turns each, one row per speaker turn.
38
+ - Calls cover four intents: `delivery_delay`, `refund_request`, `billing_dispute`, `appointment_booking`.
39
+ - 5 of the 25 turns are code-mixed Hindi-English (`hi-en`), switching language mid-sentence. The rest are English.
40
+ - Phone numbers, order, return and account numbers, and names are replaced with `[REDACTED]`. Callers are identified by a pseudonymous ID.
41
+
42
+ The rows in this file were created to show the format, labels and de-identification. They do not come from real calls, and the `consent_ref` values are format examples. Licensed deliveries contain real recordings collected under written agreements.
43
+
44
+ ## Fields
45
+
46
+ | Column | Type | Description |
47
+ |---|---|---|
48
+ | `call_id` | string | Call identifier, e.g. `CALL-2001` |
49
+ | `caller_id` | string | Pseudonymous caller ID, e.g. `clr_663c5b12` |
50
+ | `turn` | int | Turn number within the call, starting at 1 |
51
+ | `speaker` | string | `agent` or `customer` |
52
+ | `start_s` | float | Turn start time in seconds from the start of the call |
53
+ | `end_s` | float | Turn end time in seconds |
54
+ | `language` | string | `en` or `hi-en` (Hindi-English code-mixed) |
55
+ | `text` | string | Transcript of the turn, with identifiers replaced by `[REDACTED]` |
56
+ | `intent` | string | Call intent (call-level label, repeated on each turn) |
57
+ | `sentiment` | string | `positive`, `neutral` or `negative` (call-level label, repeated on each turn) |
58
+ | `audio_file` | string | Name of the matching audio file, e.g. `call_2001.flac` (audio not included in this sample) |
59
+ | `consent_ref` | string | Reference to the source agreement and its version, e.g. `src-0221 / v1` |
60
+
61
+ ## Example row
62
+
63
+ ```json
64
+ {
65
+ "call_id": "CALL-2001",
66
+ "caller_id": "clr_663c5b12",
67
+ "turn": 2,
68
+ "speaker": "customer",
69
+ "start_s": 4.7,
70
+ "end_s": 11.8,
71
+ "language": "hi-en",
72
+ "text": "Haan hi, mera order [REDACTED] abhi tak deliver nahi hua, it was supposed to come yesterday.",
73
+ "intent": "delivery_delay",
74
+ "sentiment": "negative",
75
+ "audio_file": "call_2001.flac",
76
+ "consent_ref": "src-0221 / v1"
77
+ }
78
+ ```
79
+
80
+ ## Load it
81
+
82
+ ```python
83
+ from datasets import load_dataset
84
+
85
+ ds = load_dataset("datadhara/call-centre-transcripts-sample", split="train")
86
+ ```
87
+
88
+ ## Intended uses
89
+
90
+ Use this sample to check the schema and label set against your pipeline before requesting real data. The licensed data is used for:
91
+
92
+ - Speech recognition (ASR) for accented, noisy and code-mixed speech
93
+ - Intent detection and call summarisation
94
+ - Evaluation sets for voice agents
95
+
96
+ ## Limitations of this sample
97
+
98
+ - Text only. The `audio_file` column names the audio a delivery would include; no audio is in this repository.
99
+ - Four calls is enough to see the format, not to train or benchmark anything.
100
+ - `intent` and `sentiment` are call-level labels repeated on every turn.
101
+
102
+ ## Full dataset and licensing
103
+
104
+ This sample file is released under CC BY 4.0, as on the [samples page](https://datadhara.in/samples?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global).
105
+
106
+ The full data is not on Hugging Face. It is available under a commercial licence. Datadhara collects to your spec: support calls and sales calls as WAV or FLAC with JSON transcripts, speaker turns, timestamps and intent or outcome labels. Languages, volume and labels are agreed per project. Licences cover training and evaluating commercial models, and can be exclusive or non-exclusive.
107
+
108
+ To request data, describe what you need at [datadhara.in/speech-data-for-ai](https://datadhara.in/speech-data-for-ai?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global) or email hello@datadhara.in.
109
+
110
+ ## Consent and de-identification
111
+
112
+ As described in Datadhara's [methodology](https://datadhara.in/methodology?utm_source=huggingface&utm_medium=dataset&utm_campaign=nov26-global):
113
+
114
+ - Every source organisation signs a written agreement that explicitly covers use for AI training. Audio is recorded only where participants have been told and agreed.
115
+ - Names, phone numbers, order and account numbers are masked in both the transcript and the audio. Calls that mention sensitive personal details beyond what the spec needs are dropped.
116
+ - Transcripts are drafted automatically, then checked and corrected by people.
117
+ - Every record carries a `consent_ref` linking it to its source agreement. In a real delivery, that reference resolves to the signed agreement.
118
+
119
+ ## Citation
120
+
121
+ The same sample files are archived on Zenodo: https://doi.org/10.5281/zenodo.24349905
datadhara-sample-call-transcripts.csv ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ call_id,caller_id,turn,speaker,start_s,end_s,language,text,intent,sentiment,audio_file,consent_ref
2
+ CALL-2001,clr_663c5b12,1,agent,0,4.3,en,"Thank you for calling, how can I help you today?",delivery_delay,negative,call_2001.flac,src-0221 / v1
3
+ CALL-2001,clr_663c5b12,2,customer,4.7,11.8,hi-en,"Haan hi, mera order [REDACTED] abhi tak deliver nahi hua, it was supposed to come yesterday.",delivery_delay,negative,call_2001.flac,src-0221 / v1
4
+ CALL-2001,clr_663c5b12,3,agent,12.7,18.1,en,Sorry about that. Can you confirm the phone number on the order?,delivery_delay,negative,call_2001.flac,src-0221 / v1
5
+ CALL-2001,clr_663c5b12,4,customer,18.6,22,en,"Yes, it's [REDACTED].",delivery_delay,negative,call_2001.flac,src-0221 / v1
6
+ CALL-2001,clr_663c5b12,5,agent,22.6,29,en,Thanks. I can see it's at the local hub and should reach you by tomorrow evening.,delivery_delay,negative,call_2001.flac,src-0221 / v1
7
+ CALL-2001,clr_663c5b12,6,customer,29.9,36.3,hi-en,"Theek hai, but please make sure it comes tomorrow, I need it urgently.",delivery_delay,negative,call_2001.flac,src-0221 / v1
8
+ CALL-2002,clr_e0927a9d,1,agent,0,4.1,en,"Good afternoon, you're speaking with support.",refund_request,neutral,call_2002.flac,src-0222 / v1
9
+ CALL-2002,clr_e0927a9d,2,customer,4.6,11.2,en,"Hi, I returned a pair of shoes last week and I still haven't got the refund.",refund_request,neutral,call_2002.flac,src-0222 / v1
10
+ CALL-2002,clr_e0927a9d,3,agent,11.7,15.6,en,I can check that. What's the return number?,refund_request,neutral,call_2002.flac,src-0222 / v1
11
+ CALL-2002,clr_e0927a9d,4,customer,16,21.1,en,It's [REDACTED]. They picked it up on Monday.,refund_request,neutral,call_2002.flac,src-0222 / v1
12
+ CALL-2002,clr_e0927a9d,5,agent,22,28.9,en,The pickup is confirmed. The refund was issued today and takes 3 to 5 working days to show.,refund_request,neutral,call_2002.flac,src-0222 / v1
13
+ CALL-2002,clr_e0927a9d,6,customer,29.3,32.9,en,"Okay, thanks for checking.",refund_request,neutral,call_2002.flac,src-0222 / v1
14
+ CALL-2003,clr_95ea784c,1,agent,0,3,en,"Hello, how may I help?",billing_dispute,negative,call_2003.flac,src-0223 / v1
15
+ CALL-2003,clr_95ea784c,2,customer,3.6,11.4,hi-en,"Mujhe is month ka bill zyada aaya hai, I think I've been charged twice for the same plan.",billing_dispute,negative,call_2003.flac,src-0223 / v1
16
+ CALL-2003,clr_95ea784c,3,agent,12.3,18.4,en,Let me look at your account. Could you share the account number?,billing_dispute,negative,call_2003.flac,src-0223 / v1
17
+ CALL-2003,clr_95ea784c,4,customer,19.2,21.3,en,[REDACTED],billing_dispute,negative,call_2003.flac,src-0223 / v1
18
+ CALL-2003,clr_95ea784c,5,agent,21.6,28.8,en,"I can see two charges on the 3rd. One is a duplicate, I'll raise a reversal now.",billing_dispute,negative,call_2003.flac,src-0223 / v1
19
+ CALL-2003,clr_95ea784c,6,customer,29.2,32.7,hi-en,"Okay good, kitne din lagenge?",billing_dispute,negative,call_2003.flac,src-0223 / v1
20
+ CALL-2003,clr_95ea784c,7,agent,33,39.3,en,It should reflect within 7 days. You'll get an SMS confirmation.,billing_dispute,negative,call_2003.flac,src-0223 / v1
21
+ CALL-2004,clr_b18744d7,1,agent,0,3.8,en,"Clinic front desk, how can I help?",appointment_booking,positive,call_2004.flac,src-0224 / v1
22
+ CALL-2004,clr_b18744d7,2,customer,4.5,10.5,en,I'd like to book an appointment with the skin doctor this week.,appointment_booking,positive,call_2004.flac,src-0224 / v1
23
+ CALL-2004,clr_b18744d7,3,agent,10.8,15.4,en,We have Thursday at 11 or Friday at 4. Which works?,appointment_booking,positive,call_2004.flac,src-0224 / v1
24
+ CALL-2004,clr_b18744d7,4,customer,16.1,19.4,hi-en,Friday 4 baje theek rahega.,appointment_booking,positive,call_2004.flac,src-0224 / v1
25
+ CALL-2004,clr_b18744d7,5,agent,19.7,24.4,en,Done. Can I have the patient's name and number?,appointment_booking,positive,call_2004.flac,src-0224 / v1
26
+ CALL-2004,clr_b18744d7,6,customer,24.7,29.6,en,"[REDACTED], and the number is [REDACTED].",appointment_booking,positive,call_2004.flac,src-0224 / v1