Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
huzaifahp7 commited on
Commit
966e01e
·
verified ·
1 Parent(s): f9d116b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +250 -109
README.md CHANGED
@@ -1,116 +1,257 @@
1
  ---
2
- configs:
3
- - config_name: default
4
- data_files:
5
- - split: train
6
- path: data/train-*
7
- - split: test
8
- path: data/test-*
9
- dataset_info:
10
- features:
11
- - name: text
12
- dtype: string
13
- - name: label
14
- dtype:
15
- class_label:
16
- names:
17
- '0': activate_my_card
18
- '1': age_limit
19
- '2': apple_pay_or_google_pay
20
- '3': atm_support
21
- '4': automatic_top_up
22
- '5': balance_not_updated_after_bank_transfer
23
- '6': balance_not_updated_after_cheque_or_cash_deposit
24
- '7': beneficiary_not_allowed
25
- '8': cancel_transfer
26
- '9': card_about_to_expire
27
- '10': card_acceptance
28
- '11': card_arrival
29
- '12': card_delivery_estimate
30
- '13': card_linking
31
- '14': card_not_working
32
- '15': card_payment_fee_charged
33
- '16': card_payment_not_recognised
34
- '17': card_payment_wrong_exchange_rate
35
- '18': card_swallowed
36
- '19': cash_withdrawal_charge
37
- '20': cash_withdrawal_not_recognised
38
- '21': change_pin
39
- '22': compromised_card
40
- '23': contactless_not_working
41
- '24': country_support
42
- '25': declined_card_payment
43
- '26': declined_cash_withdrawal
44
- '27': declined_transfer
45
- '28': direct_debit_payment_not_recognised
46
- '29': disposable_card_limits
47
- '30': edit_personal_details
48
- '31': exchange_charge
49
- '32': exchange_rate
50
- '33': exchange_via_app
51
- '34': extra_charge_on_statement
52
- '35': failed_transfer
53
- '36': fiat_currency_support
54
- '37': get_disposable_virtual_card
55
- '38': get_physical_card
56
- '39': getting_spare_card
57
- '40': getting_virtual_card
58
- '41': lost_or_stolen_card
59
- '42': lost_or_stolen_phone
60
- '43': order_physical_card
61
- '44': passcode_forgotten
62
- '45': pending_card_payment
63
- '46': pending_cash_withdrawal
64
- '47': pending_top_up
65
- '48': pending_transfer
66
- '49': pin_blocked
67
- '50': receiving_money
68
- '51': Refund_not_showing_up
69
- '52': request_refund
70
- '53': reverted_card_payment?
71
- '54': supported_cards_and_currencies
72
- '55': terminate_account
73
- '56': top_up_by_bank_transfer_charge
74
- '57': top_up_by_card_charge
75
- '58': top_up_by_cash_or_cheque
76
- '59': top_up_failed
77
- '60': top_up_limits
78
- '61': top_up_reverted
79
- '62': topping_up_by_card
80
- '63': transaction_charged_twice
81
- '64': transfer_fee_charged
82
- '65': transfer_into_account
83
- '66': transfer_not_received_by_recipient
84
- '67': transfer_timing
85
- '68': unable_to_verify_identity
86
- '69': verify_my_identity
87
- '70': verify_source_of_funds
88
- '71': verify_top_up
89
- '72': virtual_card_not_working
90
- '73': visa_or_mastercard
91
- '74': why_verify_identity
92
- '75': wrong_amount_of_cash_received
93
- '76': wrong_exchange_rate_for_cash_withdrawal
94
- splits:
95
- - name: train
96
- num_bytes: 715028
97
- num_examples: 10003
98
- - name: test
99
- num_bytes: 204010
100
- num_examples: 3080
101
- download_size: 392040
102
- dataset_size: 919038
103
- license: cc
104
- task_categories:
105
- - text-classification
106
  language:
107
  - en
108
- tags:
109
- - finance
110
- pretty_name: BANKING77
 
111
  size_categories:
112
  - 10K<n<100K
 
 
 
 
 
 
 
 
 
113
  ---
114
- # Dataset Card for "banking77"
115
 
116
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.