nickprock commited on
Commit
d3cc4dc
1 Parent(s): 83d041e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +104 -15
README.md CHANGED
@@ -22,19 +22,19 @@ model-index:
22
  - name: Accuracy
23
  type: accuracy
24
  value: 0.9321428571428572
25
- widget:
26
- - text: 'Can I track the card you sent to me? '
27
- example_title: Card Arrival Example - English
28
- - text: 'Posso tracciare la carta che mi avete spedito? '
29
- example_title: Card Arrival Example - Italian
30
- - text: Can you explain your exchange rate policy to me?
31
- example_title: Exchange Rate Example - English
32
- - text: Potete spiegarmi la vostra politica dei tassi di cambio?
33
- example_title: Exchange Rate Example - Italian
34
- - text: I can't pay by my credit card
35
- example_title: Card Not Working Example - English
36
- - text: Non posso pagare con la mia carta di credito
37
- example_title: Card Not Working Example - Italian
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -54,14 +54,103 @@ More information needed
54
 
55
  ## Intended uses & limitations
56
 
57
- More information needed
58
 
59
  ## Training and evaluation data
60
 
61
- More information needed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  ## Training procedure
64
 
 
 
 
 
 
 
65
  ### Training hyperparameters
66
 
67
  The following hyperparameters were used during training:
 
22
  - name: Accuracy
23
  type: accuracy
24
  value: 0.9321428571428572
25
+ widget:
26
+ - text: 'Can I track the card you sent to me? '
27
+ example_title: Card Arrival Example - English
28
+ - text: 'Posso tracciare la carta che mi avete spedito? '
29
+ example_title: Card Arrival Example - Italian
30
+ - text: Can you explain your exchange rate policy to me?
31
+ example_title: Exchange Rate Example - English
32
+ - text: Potete spiegarmi la vostra politica dei tassi di cambio?
33
+ example_title: Exchange Rate Example - Italian
34
+ - text: I can't pay by my credit card
35
+ example_title: Card Not Working Example - English
36
+ - text: Non riesco a pagare con la mia carta di credito
37
+ example_title: Card Not Working Example - Italian
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
54
 
55
  ## Intended uses & limitations
56
 
57
+ The model can be used on text classification. In particular is fine tuned on banking domain.
58
 
59
  ## Training and evaluation data
60
 
61
+ The dataset used is [banking77](https://huggingface.co/datasets/banking77)
62
+
63
+ The 77 labels are:
64
+
65
+ |label|intent|
66
+ |:---:|:----:|
67
+ |0|activate_my_card|
68
+ |1|age_limit|
69
+ |2|apple_pay_or_google_pay|
70
+ |3|atm_support|
71
+ |4|automatic_top_up|
72
+ |5|balance_not_updated_after_bank_transfer|
73
+ |6|balance_not_updated_after_cheque_or_cash_deposit|
74
+ |7|beneficiary_not_allowed|
75
+ |8|cancel_transfer|
76
+ |9|card_about_to_expire|
77
+ |10|card_acceptance|
78
+ |11|card_arrival|
79
+ |12|card_delivery_estimate|
80
+ |13|card_linking|
81
+ |14|card_not_working|
82
+ |15|card_payment_fee_charged|
83
+ |16|card_payment_not_recognised|
84
+ |17|card_payment_wrong_exchange_rate|
85
+ |18|card_swallowed|
86
+ |19|cash_withdrawal_charge|
87
+ |20|cash_withdrawal_not_recognised|
88
+ |21|change_pin|
89
+ |22|compromised_card|
90
+ |23|contactless_not_working|
91
+ |24|country_support|
92
+ |25|declined_card_payment|
93
+ |26|declined_cash_withdrawal|
94
+ |27|declined_transfer|
95
+ |28|direct_debit_payment_not_recognised|
96
+ |29|disposable_card_limits|
97
+ |30|edit_personal_details|
98
+ |31|exchange_charge|
99
+ |32|exchange_rate|
100
+ |33|exchange_via_app|
101
+ |34|extra_charge_on_statement|
102
+ |35|failed_transfer|
103
+ |36|fiat_currency_support|
104
+ |37|get_disposable_virtual_card|
105
+ |38|get_physical_card|
106
+ |39|getting_spare_card|
107
+ |40|getting_virtual_card|
108
+ |41|lost_or_stolen_card|
109
+ |42|lost_or_stolen_phone|
110
+ |43|order_physical_card|
111
+ |44|passcode_forgotten|
112
+ |45|pending_card_payment|
113
+ |46|pending_cash_withdrawal|
114
+ |47|pending_top_up|
115
+ |48|pending_transfer|
116
+ |49|pin_blocked|
117
+ |50|receiving_money|
118
+ |51|Refund_not_showing_up|
119
+ |52|request_refund|
120
+ |53|reverted_card_payment?|
121
+ |54|supported_cards_and_currencies|
122
+ |55|terminate_account|
123
+ |56|top_up_by_bank_transfer_charge|
124
+ |57|top_up_by_card_charge|
125
+ |58|top_up_by_cash_or_cheque|
126
+ |59|top_up_failed|
127
+ |60|top_up_limits|
128
+ |61|top_up_reverted|
129
+ |62|topping_up_by_card|
130
+ |63|transaction_charged_twice|
131
+ |64|transfer_fee_charged|
132
+ |65|transfer_into_account|
133
+ |66|transfer_not_received_by_recipient|
134
+ |67|transfer_timing|
135
+ |68|unable_to_verify_identity|
136
+ |69|verify_my_identity|
137
+ |70|verify_source_of_funds|
138
+ |71|verify_top_up|
139
+ |72|virtual_card_not_working|
140
+ |73|visa_or_mastercard|
141
+ |74|why_verify_identity|
142
+ |75|wrong_amount_of_cash_received|
143
+ |76|wrong_exchange_rate_for_cash_withdrawal|
144
+
145
 
146
  ## Training procedure
147
 
148
+ ```
149
+ from transformers import pipeline
150
+ pipe = pipeline("text-classification", model="nickprock/xlm-roberta-base-banking77-classification")
151
+ pipe("Non riesco a pagare con la carta di credito")
152
+ ```
153
+
154
  ### Training hyperparameters
155
 
156
  The following hyperparameters were used during training: