osma77 commited on
Commit
b73637d
·
verified ·
1 Parent(s): c70b808

Upload TextClassificationPipeline

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "XLMRobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "activer_ma_carte",
15
+ "1": "limite_age",
16
+ "2": "apple_pay_ou_google_pay",
17
+ "3": "support_distributeur",
18
+ "4": "rechargement_automatique",
19
+ "5": "solde_non_mis_a_jour_apres_virement",
20
+ "6": "solde_non_mis_a_jour_apres_depot_cheque_ou_especes",
21
+ "7": "beneficiaire_non_autorise",
22
+ "8": "annuler_virement",
23
+ "9": "carte_bientot_expiree",
24
+ "10": "acceptation_carte",
25
+ "11": "arrivee_carte",
26
+ "12": "estimation_livraison_carte",
27
+ "13": "liaison_carte",
28
+ "14": "carte_ne_fonctionne_pas",
29
+ "15": "frais_paiement_carte_factures",
30
+ "16": "paiement_carte_non_reconnu",
31
+ "17": "paiement_carte_taux_change_incorrect",
32
+ "18": "carte_avalee",
33
+ "19": "frais_retrait_especes",
34
+ "20": "retrait_especes_non_reconnu",
35
+ "21": "changer_code_pin",
36
+ "22": "carte_compromise",
37
+ "23": "sans_contact_ne_fonctionne_pas",
38
+ "24": "support_pays",
39
+ "25": "paiement_carte_refuse",
40
+ "26": "retrait_especes_refuse",
41
+ "27": "virement_refuse",
42
+ "28": "prelevement_automatique_non_reconnu",
43
+ "29": "limites_carte_jetable",
44
+ "30": "modifier_donnees_personnelles",
45
+ "31": "frais_change",
46
+ "32": "taux_change",
47
+ "33": "change_via_application",
48
+ "34": "frais_supplementaire_sur_releve",
49
+ "35": "virement_echoue",
50
+ "36": "support_devise_fiduciaire",
51
+ "37": "obtenir_carte_virtuelle_jetable",
52
+ "38": "obtenir_carte_physique",
53
+ "39": "obtenir_carte_remplacement",
54
+ "40": "obtenir_carte_virtuelle",
55
+ "41": "carte_perdue_ou_volee",
56
+ "42": "telephone_perdu_ou_vole",
57
+ "43": "commander_carte_physique",
58
+ "44": "code_acces_oublie",
59
+ "45": "paiement_carte_en_attente",
60
+ "46": "retrait_especes_en_attente",
61
+ "47": "rechargement_en_attente",
62
+ "48": "virement_en_attente",
63
+ "49": "code_pin_bloque",
64
+ "50": "recevoir_argent",
65
+ "51": "remboursement_n_apparait_pas",
66
+ "52": "demander_remboursement",
67
+ "53": "paiement_carte_annule",
68
+ "54": "cartes_et_devises_supportees",
69
+ "55": "fermer_compte",
70
+ "56": "frais_rechargement_virement_bancaire",
71
+ "57": "frais_rechargement_carte",
72
+ "58": "rechargement_especes_ou_cheque",
73
+ "59": "rechargement_echoue",
74
+ "60": "limites_rechargement",
75
+ "61": "rechargement_annule",
76
+ "62": "rechargement_par_carte",
77
+ "63": "transaction_facturee_deux_fois",
78
+ "64": "frais_virement_factures",
79
+ "65": "virement_vers_compte",
80
+ "66": "virement_non_recu_par_destinataire",
81
+ "67": "delai_virement",
82
+ "68": "impossible_verifier_identite",
83
+ "69": "verifier_mon_identite",
84
+ "70": "verifier_origine_fonds",
85
+ "71": "verifier_rechargement",
86
+ "72": "carte_virtuelle_ne_fonctionne_pas",
87
+ "73": "visa_ou_mastercard",
88
+ "74": "pourquoi_verifier_identite",
89
+ "75": "montant_especes_recu_incorrect",
90
+ "76": "taux_change_incorrect_retrait_especes"
91
+ },
92
+ "initializer_range": 0.02,
93
+ "intermediate_size": 4096,
94
+ "label2id": {
95
+ "acceptation_carte": 10,
96
+ "activer_ma_carte": 0,
97
+ "annuler_virement": 8,
98
+ "apple_pay_ou_google_pay": 2,
99
+ "arrivee_carte": 11,
100
+ "beneficiaire_non_autorise": 7,
101
+ "carte_avalee": 18,
102
+ "carte_bientot_expiree": 9,
103
+ "carte_compromise": 22,
104
+ "carte_ne_fonctionne_pas": 14,
105
+ "carte_perdue_ou_volee": 41,
106
+ "carte_virtuelle_ne_fonctionne_pas": 72,
107
+ "cartes_et_devises_supportees": 54,
108
+ "change_via_application": 33,
109
+ "changer_code_pin": 21,
110
+ "code_acces_oublie": 44,
111
+ "code_pin_bloque": 49,
112
+ "commander_carte_physique": 43,
113
+ "delai_virement": 67,
114
+ "demander_remboursement": 52,
115
+ "estimation_livraison_carte": 12,
116
+ "fermer_compte": 55,
117
+ "frais_change": 31,
118
+ "frais_paiement_carte_factures": 15,
119
+ "frais_rechargement_carte": 57,
120
+ "frais_rechargement_virement_bancaire": 56,
121
+ "frais_retrait_especes": 19,
122
+ "frais_supplementaire_sur_releve": 34,
123
+ "frais_virement_factures": 64,
124
+ "impossible_verifier_identite": 68,
125
+ "liaison_carte": 13,
126
+ "limite_age": 1,
127
+ "limites_carte_jetable": 29,
128
+ "limites_rechargement": 60,
129
+ "modifier_donnees_personnelles": 30,
130
+ "montant_especes_recu_incorrect": 75,
131
+ "obtenir_carte_physique": 38,
132
+ "obtenir_carte_remplacement": 39,
133
+ "obtenir_carte_virtuelle": 40,
134
+ "obtenir_carte_virtuelle_jetable": 37,
135
+ "paiement_carte_annule": 53,
136
+ "paiement_carte_en_attente": 45,
137
+ "paiement_carte_non_reconnu": 16,
138
+ "paiement_carte_refuse": 25,
139
+ "paiement_carte_taux_change_incorrect": 17,
140
+ "pourquoi_verifier_identite": 74,
141
+ "prelevement_automatique_non_reconnu": 28,
142
+ "recevoir_argent": 50,
143
+ "rechargement_annule": 61,
144
+ "rechargement_automatique": 4,
145
+ "rechargement_echoue": 59,
146
+ "rechargement_en_attente": 47,
147
+ "rechargement_especes_ou_cheque": 58,
148
+ "rechargement_par_carte": 62,
149
+ "remboursement_n_apparait_pas": 51,
150
+ "retrait_especes_en_attente": 46,
151
+ "retrait_especes_non_reconnu": 20,
152
+ "retrait_especes_refuse": 26,
153
+ "sans_contact_ne_fonctionne_pas": 23,
154
+ "solde_non_mis_a_jour_apres_depot_cheque_ou_especes": 6,
155
+ "solde_non_mis_a_jour_apres_virement": 5,
156
+ "support_devise_fiduciaire": 36,
157
+ "support_distributeur": 3,
158
+ "support_pays": 24,
159
+ "taux_change": 32,
160
+ "taux_change_incorrect_retrait_especes": 76,
161
+ "telephone_perdu_ou_vole": 42,
162
+ "transaction_facturee_deux_fois": 63,
163
+ "verifier_mon_identite": 69,
164
+ "verifier_origine_fonds": 70,
165
+ "verifier_rechargement": 71,
166
+ "virement_echoue": 35,
167
+ "virement_en_attente": 48,
168
+ "virement_non_recu_par_destinataire": 66,
169
+ "virement_refuse": 27,
170
+ "virement_vers_compte": 65,
171
+ "visa_ou_mastercard": 73
172
+ },
173
+ "layer_norm_eps": 1e-05,
174
+ "max_position_embeddings": 514,
175
+ "model_type": "xlm-roberta",
176
+ "num_attention_heads": 16,
177
+ "num_hidden_layers": 24,
178
+ "output_past": true,
179
+ "pad_token_id": 1,
180
+ "position_embedding_type": "absolute",
181
+ "problem_type": "single_label_classification",
182
+ "torch_dtype": "float32",
183
+ "transformers_version": "4.52.2",
184
+ "type_vocab_size": 1,
185
+ "use_cache": true,
186
+ "vocab_size": 250002
187
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f6f42420323baccbababc8ef00a515c247b403cb239c43989a4c7086e4dfc23
3
+ size 2239926172
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3
3
+ size 17082900
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "extra_special_tokens": {},
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 512,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "sp_model_kwargs": {},
54
+ "tokenizer_class": "XLMRobertaTokenizer",
55
+ "unk_token": "<unk>"
56
+ }