EXRdurable Yangvivian commited on
Commit
8259a2b
·
verified ·
0 Parent(s):

Duplicate from gtfintechlab/banking77

Browse files

Co-authored-by: Yang <[email protected]>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ extended:
5
+ - original
6
+ language_creators:
7
+ - expert-generated
8
+ language:
9
+ - en
10
+ license:
11
+ - cc-by-4.0
12
+ multilinguality:
13
+ - monolingual
14
+ size_categories:
15
+ - 10K<n<100K
16
+ source_datasets:
17
+ - original
18
+ task_categories:
19
+ - text-classification
20
+ task_ids:
21
+ - intent-classification
22
+ - multi-class-classification
23
+ paperswithcode_id: null
24
+ pretty_name: BANKING77
25
+ ---
26
+
27
+ # Dataset Card for BANKING77
28
+
29
+ ## Table of Contents
30
+ - [Dataset Description](#dataset-description)
31
+ - [Dataset Summary](#dataset-summary)
32
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
33
+ - [Languages](#languages)
34
+ - [Dataset Structure](#dataset-structure)
35
+ - [Data Instances](#data-instances)
36
+ - [Data Fields](#data-fields)
37
+ - [Data Splits](#data-splits)
38
+ - [Dataset Creation](#dataset-creation)
39
+ - [Curation Rationale](#curation-rationale)
40
+ - [Source Data](#source-data)
41
+ - [Annotations](#annotations)
42
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
43
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
44
+ - [Social Impact of Dataset](#social-impact-of-dataset)
45
+ - [Discussion of Biases](#discussion-of-biases)
46
+ - [Other Known Limitations](#other-known-limitations)
47
+ - [Additional Information](#additional-information)
48
+ - [Dataset Curators](#dataset-curators)
49
+ - [Licensing Information](#licensing-information)
50
+ - [Citation Information](#citation-information)
51
+ - [Contributions](#contributions)
52
+
53
+ ## Dataset Description
54
+
55
+ - **Homepage:** [Github](https://github.com/PolyAI-LDN/task-specific-datasets)
56
+ - **Repository:** [Github](https://github.com/PolyAI-LDN/task-specific-datasets)
57
+ - **Paper:** [ArXiv](https://arxiv.org/abs/2003.04807)
58
+ - **Leaderboard:**
59
+ - **Point of Contact:**
60
+
61
+ ### Dataset Summary
62
+
63
+ Dataset composed of online banking queries annotated with their corresponding intents.
64
+
65
+ BANKING77 dataset provides a very fine-grained set of intents in a banking domain.
66
+ It comprises 13,083 customer service queries labeled with 77 intents.
67
+ It focuses on fine-grained single-domain intent detection.
68
+
69
+ ### Supported Tasks and Leaderboards
70
+
71
+ Intent classification, intent detection
72
+
73
+ ### Languages
74
+
75
+ English
76
+
77
+ ## Dataset Structure
78
+
79
+ ### Data Instances
80
+
81
+ An example of 'train' looks as follows:
82
+ ```
83
+ {
84
+ 'label': 11, # integer label corresponding to "card_arrival" intent
85
+ 'text': 'I am still waiting on my card?'
86
+ }
87
+ ```
88
+
89
+ ### Data Fields
90
+
91
+ - `text`: a string feature.
92
+ - `label`: One of classification labels (0-76) corresponding to unique intents.
93
+
94
+ Intent names are mapped to `label` in the following way:
95
+
96
+ | label | intent (category) |
97
+ |---:|:-------------------------------------------------|
98
+ | 0 | activate_my_card |
99
+ | 1 | age_limit |
100
+ | 2 | apple_pay_or_google_pay |
101
+ | 3 | atm_support |
102
+ | 4 | automatic_top_up |
103
+ | 5 | balance_not_updated_after_bank_transfer |
104
+ | 6 | balance_not_updated_after_cheque_or_cash_deposit |
105
+ | 7 | beneficiary_not_allowed |
106
+ | 8 | cancel_transfer |
107
+ | 9 | card_about_to_expire |
108
+ | 10 | card_acceptance |
109
+ | 11 | card_arrival |
110
+ | 12 | card_delivery_estimate |
111
+ | 13 | card_linking |
112
+ | 14 | card_not_working |
113
+ | 15 | card_payment_fee_charged |
114
+ | 16 | card_payment_not_recognised |
115
+ | 17 | card_payment_wrong_exchange_rate |
116
+ | 18 | card_swallowed |
117
+ | 19 | cash_withdrawal_charge |
118
+ | 20 | cash_withdrawal_not_recognised |
119
+ | 21 | change_pin |
120
+ | 22 | compromised_card |
121
+ | 23 | contactless_not_working |
122
+ | 24 | country_support |
123
+ | 25 | declined_card_payment |
124
+ | 26 | declined_cash_withdrawal |
125
+ | 27 | declined_transfer |
126
+ | 28 | direct_debit_payment_not_recognised |
127
+ | 29 | disposable_card_limits |
128
+ | 30 | edit_personal_details |
129
+ | 31 | exchange_charge |
130
+ | 32 | exchange_rate |
131
+ | 33 | exchange_via_app |
132
+ | 34 | extra_charge_on_statement |
133
+ | 35 | failed_transfer |
134
+ | 36 | fiat_currency_support |
135
+ | 37 | get_disposable_virtual_card |
136
+ | 38 | get_physical_card |
137
+ | 39 | getting_spare_card |
138
+ | 40 | getting_virtual_card |
139
+ | 41 | lost_or_stolen_card |
140
+ | 42 | lost_or_stolen_phone |
141
+ | 43 | order_physical_card |
142
+ | 44 | passcode_forgotten |
143
+ | 45 | pending_card_payment |
144
+ | 46 | pending_cash_withdrawal |
145
+ | 47 | pending_top_up |
146
+ | 48 | pending_transfer |
147
+ | 49 | pin_blocked |
148
+ | 50 | receiving_money |
149
+ | 51 | Refund_not_showing_up |
150
+ | 52 | request_refund |
151
+ | 53 | reverted_card_payment? |
152
+ | 54 | supported_cards_and_currencies |
153
+ | 55 | terminate_account |
154
+ | 56 | top_up_by_bank_transfer_charge |
155
+ | 57 | top_up_by_card_charge |
156
+ | 58 | top_up_by_cash_or_cheque |
157
+ | 59 | top_up_failed |
158
+ | 60 | top_up_limits |
159
+ | 61 | top_up_reverted |
160
+ | 62 | topping_up_by_card |
161
+ | 63 | transaction_charged_twice |
162
+ | 64 | transfer_fee_charged |
163
+ | 65 | transfer_into_account |
164
+ | 66 | transfer_not_received_by_recipient |
165
+ | 67 | transfer_timing |
166
+ | 68 | unable_to_verify_identity |
167
+ | 69 | verify_my_identity |
168
+ | 70 | verify_source_of_funds |
169
+ | 71 | verify_top_up |
170
+ | 72 | virtual_card_not_working |
171
+ | 73 | visa_or_mastercard |
172
+ | 74 | why_verify_identity |
173
+ | 75 | wrong_amount_of_cash_received |
174
+ | 76 | wrong_exchange_rate_for_cash_withdrawal |
175
+
176
+ ### Data Splits
177
+
178
+ | Dataset statistics | Train | Test |
179
+ | --- | --- | --- |
180
+ | Number of examples | 10 003 | 3 080 |
181
+ | Average character length | 59.5 | 54.2 |
182
+ | Number of intents | 77 | 77 |
183
+ | Number of domains | 1 | 1 |
184
+
185
+ ## Dataset Creation
186
+
187
+ ### Curation Rationale
188
+
189
+ Previous intent detection datasets such as Web Apps, Ask Ubuntu, the Chatbot Corpus or SNIPS are limited to small number of classes (<10), which oversimplifies the intent detection task and does not emulate the true environment of commercial systems. Although there exist large scale *multi-domain* datasets ([HWU64](https://github.com/xliuhw/NLU-Evaluation-Data) and [CLINC150](https://github.com/clinc/oos-eval)), the examples per each domain may not sufficiently capture the full complexity of each domain as encountered "in the wild". This dataset tries to fill the gap and provides a very fine-grained set of intents in a *single-domain* i.e. **banking**. Its focus on fine-grained single-domain intent detection makes it complementary to the other two multi-domain datasets.
190
+
191
+ ### Source Data
192
+
193
+ #### Initial Data Collection and Normalization
194
+
195
+ [More Information Needed]
196
+
197
+ #### Who are the source language producers?
198
+
199
+ [More Information Needed]
200
+
201
+ ### Annotations
202
+
203
+ #### Annotation process
204
+
205
+ The dataset does not contain any additional annotations.
206
+
207
+ #### Who are the annotators?
208
+
209
+ [N/A]
210
+
211
+ ### Personal and Sensitive Information
212
+
213
+ [N/A]
214
+
215
+ ## Considerations for Using the Data
216
+
217
+ ### Social Impact of Dataset
218
+
219
+ The purpose of this dataset it to help develop better intent detection systems.
220
+
221
+ Any comprehensive intent detection evaluation should involve both coarser-grained multi-domain datasets and a fine-grained single-domain dataset such as BANKING77.
222
+
223
+ ### Discussion of Biases
224
+
225
+ [More Information Needed]
226
+
227
+ ### Other Known Limitations
228
+
229
+ [More Information Needed]
230
+
231
+ ## Additional Information
232
+
233
+ ### Dataset Curators
234
+
235
+ [PolyAI](https://github.com/PolyAI-LDN)
236
+
237
+ ### Licensing Information
238
+
239
+ Creative Commons Attribution 4.0 International
240
+
241
+ ### Citation Information
242
+
243
+ ```
244
+ @inproceedings{Casanueva2020,
245
+ author = {I{\~{n}}igo Casanueva and Tadas Temcinas and Daniela Gerz and Matthew Henderson and Ivan Vulic},
246
+ title = {Efficient Intent Detection with Dual Sentence Encoders},
247
+ year = {2020},
248
+ month = {mar},
249
+ note = {Data available at https://github.com/PolyAI-LDN/task-specific-datasets},
250
+ url = {https://arxiv.org/abs/2003.04807},
251
+ booktitle = {Proceedings of the 2nd Workshop on NLP for ConvAI - ACL 2020}
252
+ }
253
+ ```
254
+
255
+ ### Contributions
256
+
257
+ Thanks to [@dkajtoch](https://github.com/dkajtoch) for adding this dataset.
data/test-00000-of-00001-ca30debcf4e3446b.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47a16418218dc01deccf91e861e8bdfb2d775f6d69c3e713eaf349b7516c675a
3
+ size 93870
data/train-00000-of-00001-86e794ae0661f657.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5797aed05e2dda87437b120ceba3a525beb21f6d10cbd3d003bf21b7b8fdf589
3
+ size 298170