MSarah commited on
Commit
ea9a119
1 Parent(s): 91e6252

Upload 5 files

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
+ complaint_data.csv filter=lfs diff=lfs merge=lfs -text
TestingModel_Complaint_Classification.ipynb ADDED
@@ -0,0 +1,2591 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": []
7
+ },
8
+ "kernelspec": {
9
+ "name": "python3",
10
+ "display_name": "Python 3"
11
+ },
12
+ "language_info": {
13
+ "name": "python"
14
+ },
15
+ "widgets": {
16
+ "application/vnd.jupyter.widget-state+json": {
17
+ "bf150c82fae144b5ae8e68ef60cb1362": {
18
+ "model_module": "@jupyter-widgets/controls",
19
+ "model_name": "VBoxModel",
20
+ "model_module_version": "1.5.0",
21
+ "state": {
22
+ "_dom_classes": [],
23
+ "_model_module": "@jupyter-widgets/controls",
24
+ "_model_module_version": "1.5.0",
25
+ "_model_name": "VBoxModel",
26
+ "_view_count": null,
27
+ "_view_module": "@jupyter-widgets/controls",
28
+ "_view_module_version": "1.5.0",
29
+ "_view_name": "VBoxView",
30
+ "box_style": "",
31
+ "children": [
32
+ "IPY_MODEL_31bf4a8499914a1aa3985f072e9f2af1",
33
+ "IPY_MODEL_eec17987f1b04c8d91b09b71d60dab1c",
34
+ "IPY_MODEL_0be65f47466a464a87a43526f1ce6347",
35
+ "IPY_MODEL_d44922f68e624371842d4ccf35297d41",
36
+ "IPY_MODEL_cfe6385fe2224966b8efbfeb72d8fc0a",
37
+ "IPY_MODEL_691a25c712b84df7aab8f92f9f4e039f",
38
+ "IPY_MODEL_0bc51f02dc13497e9dceff330367ac5a",
39
+ "IPY_MODEL_d108192d82f041de8bc81277432b7587",
40
+ "IPY_MODEL_fe15ed88ba404223b01bea25e7acdba7"
41
+ ],
42
+ "layout": "IPY_MODEL_96ef97e633234c8eac7299049b82c62e"
43
+ }
44
+ },
45
+ "74457afd9030429c88920f30c4e98f88": {
46
+ "model_module": "@jupyter-widgets/controls",
47
+ "model_name": "HTMLModel",
48
+ "model_module_version": "1.5.0",
49
+ "state": {
50
+ "_dom_classes": [],
51
+ "_model_module": "@jupyter-widgets/controls",
52
+ "_model_module_version": "1.5.0",
53
+ "_model_name": "HTMLModel",
54
+ "_view_count": null,
55
+ "_view_module": "@jupyter-widgets/controls",
56
+ "_view_module_version": "1.5.0",
57
+ "_view_name": "HTMLView",
58
+ "description": "",
59
+ "description_tooltip": null,
60
+ "layout": "IPY_MODEL_53ec29ff8a2c424abe71afc8f8f6f277",
61
+ "placeholder": "​",
62
+ "style": "IPY_MODEL_e718d48174e84d5dbb6799061dc9967e",
63
+ "value": "<center> <img\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.svg\nalt='Hugging Face'> <br> Copy a token from <a\nhref=\"https://huggingface.co/settings/tokens\" target=\"_blank\">your Hugging Face\ntokens page</a> and paste it below. <br> Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file. </center>"
64
+ }
65
+ },
66
+ "e45e390909774350b0ac3b4737adb213": {
67
+ "model_module": "@jupyter-widgets/controls",
68
+ "model_name": "PasswordModel",
69
+ "model_module_version": "1.5.0",
70
+ "state": {
71
+ "_dom_classes": [],
72
+ "_model_module": "@jupyter-widgets/controls",
73
+ "_model_module_version": "1.5.0",
74
+ "_model_name": "PasswordModel",
75
+ "_view_count": null,
76
+ "_view_module": "@jupyter-widgets/controls",
77
+ "_view_module_version": "1.5.0",
78
+ "_view_name": "PasswordView",
79
+ "continuous_update": true,
80
+ "description": "Token:",
81
+ "description_tooltip": null,
82
+ "disabled": false,
83
+ "layout": "IPY_MODEL_7f556d826c1c4778857774ff4f3945a6",
84
+ "placeholder": "​",
85
+ "style": "IPY_MODEL_7f1a19dedb504a7e9d284967387cf3e8",
86
+ "value": ""
87
+ }
88
+ },
89
+ "f6eed9fd5ef84247b86608d3bd9f1631": {
90
+ "model_module": "@jupyter-widgets/controls",
91
+ "model_name": "CheckboxModel",
92
+ "model_module_version": "1.5.0",
93
+ "state": {
94
+ "_dom_classes": [],
95
+ "_model_module": "@jupyter-widgets/controls",
96
+ "_model_module_version": "1.5.0",
97
+ "_model_name": "CheckboxModel",
98
+ "_view_count": null,
99
+ "_view_module": "@jupyter-widgets/controls",
100
+ "_view_module_version": "1.5.0",
101
+ "_view_name": "CheckboxView",
102
+ "description": "Add token as git credential?",
103
+ "description_tooltip": null,
104
+ "disabled": false,
105
+ "indent": true,
106
+ "layout": "IPY_MODEL_eac2a8381ced4cac8396075e8ed044d2",
107
+ "style": "IPY_MODEL_08c9bf6f12ef4a0a9ea5c783d545e351",
108
+ "value": true
109
+ }
110
+ },
111
+ "e3571aa86ea54556a9d68b4e969c607d": {
112
+ "model_module": "@jupyter-widgets/controls",
113
+ "model_name": "ButtonModel",
114
+ "model_module_version": "1.5.0",
115
+ "state": {
116
+ "_dom_classes": [],
117
+ "_model_module": "@jupyter-widgets/controls",
118
+ "_model_module_version": "1.5.0",
119
+ "_model_name": "ButtonModel",
120
+ "_view_count": null,
121
+ "_view_module": "@jupyter-widgets/controls",
122
+ "_view_module_version": "1.5.0",
123
+ "_view_name": "ButtonView",
124
+ "button_style": "",
125
+ "description": "Login",
126
+ "disabled": false,
127
+ "icon": "",
128
+ "layout": "IPY_MODEL_209153f3e15e4fd1b5f22a82f9e35c86",
129
+ "style": "IPY_MODEL_ec9c1e6ab3304072bbe3131060d4b83f",
130
+ "tooltip": ""
131
+ }
132
+ },
133
+ "20db7dd5cb464d68b84f159762564e0a": {
134
+ "model_module": "@jupyter-widgets/controls",
135
+ "model_name": "HTMLModel",
136
+ "model_module_version": "1.5.0",
137
+ "state": {
138
+ "_dom_classes": [],
139
+ "_model_module": "@jupyter-widgets/controls",
140
+ "_model_module_version": "1.5.0",
141
+ "_model_name": "HTMLModel",
142
+ "_view_count": null,
143
+ "_view_module": "@jupyter-widgets/controls",
144
+ "_view_module_version": "1.5.0",
145
+ "_view_name": "HTMLView",
146
+ "description": "",
147
+ "description_tooltip": null,
148
+ "layout": "IPY_MODEL_a62ccedf287c4c09a1e40e0f5db20534",
149
+ "placeholder": "​",
150
+ "style": "IPY_MODEL_556278604a654fc4a7d652135896475f",
151
+ "value": "\n<b>Pro Tip:</b> If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. </center>"
152
+ }
153
+ },
154
+ "96ef97e633234c8eac7299049b82c62e": {
155
+ "model_module": "@jupyter-widgets/base",
156
+ "model_name": "LayoutModel",
157
+ "model_module_version": "1.2.0",
158
+ "state": {
159
+ "_model_module": "@jupyter-widgets/base",
160
+ "_model_module_version": "1.2.0",
161
+ "_model_name": "LayoutModel",
162
+ "_view_count": null,
163
+ "_view_module": "@jupyter-widgets/base",
164
+ "_view_module_version": "1.2.0",
165
+ "_view_name": "LayoutView",
166
+ "align_content": null,
167
+ "align_items": "center",
168
+ "align_self": null,
169
+ "border": null,
170
+ "bottom": null,
171
+ "display": "flex",
172
+ "flex": null,
173
+ "flex_flow": "column",
174
+ "grid_area": null,
175
+ "grid_auto_columns": null,
176
+ "grid_auto_flow": null,
177
+ "grid_auto_rows": null,
178
+ "grid_column": null,
179
+ "grid_gap": null,
180
+ "grid_row": null,
181
+ "grid_template_areas": null,
182
+ "grid_template_columns": null,
183
+ "grid_template_rows": null,
184
+ "height": null,
185
+ "justify_content": null,
186
+ "justify_items": null,
187
+ "left": null,
188
+ "margin": null,
189
+ "max_height": null,
190
+ "max_width": null,
191
+ "min_height": null,
192
+ "min_width": null,
193
+ "object_fit": null,
194
+ "object_position": null,
195
+ "order": null,
196
+ "overflow": null,
197
+ "overflow_x": null,
198
+ "overflow_y": null,
199
+ "padding": null,
200
+ "right": null,
201
+ "top": null,
202
+ "visibility": null,
203
+ "width": "50%"
204
+ }
205
+ },
206
+ "53ec29ff8a2c424abe71afc8f8f6f277": {
207
+ "model_module": "@jupyter-widgets/base",
208
+ "model_name": "LayoutModel",
209
+ "model_module_version": "1.2.0",
210
+ "state": {
211
+ "_model_module": "@jupyter-widgets/base",
212
+ "_model_module_version": "1.2.0",
213
+ "_model_name": "LayoutModel",
214
+ "_view_count": null,
215
+ "_view_module": "@jupyter-widgets/base",
216
+ "_view_module_version": "1.2.0",
217
+ "_view_name": "LayoutView",
218
+ "align_content": null,
219
+ "align_items": null,
220
+ "align_self": null,
221
+ "border": null,
222
+ "bottom": null,
223
+ "display": null,
224
+ "flex": null,
225
+ "flex_flow": null,
226
+ "grid_area": null,
227
+ "grid_auto_columns": null,
228
+ "grid_auto_flow": null,
229
+ "grid_auto_rows": null,
230
+ "grid_column": null,
231
+ "grid_gap": null,
232
+ "grid_row": null,
233
+ "grid_template_areas": null,
234
+ "grid_template_columns": null,
235
+ "grid_template_rows": null,
236
+ "height": null,
237
+ "justify_content": null,
238
+ "justify_items": null,
239
+ "left": null,
240
+ "margin": null,
241
+ "max_height": null,
242
+ "max_width": null,
243
+ "min_height": null,
244
+ "min_width": null,
245
+ "object_fit": null,
246
+ "object_position": null,
247
+ "order": null,
248
+ "overflow": null,
249
+ "overflow_x": null,
250
+ "overflow_y": null,
251
+ "padding": null,
252
+ "right": null,
253
+ "top": null,
254
+ "visibility": null,
255
+ "width": null
256
+ }
257
+ },
258
+ "e718d48174e84d5dbb6799061dc9967e": {
259
+ "model_module": "@jupyter-widgets/controls",
260
+ "model_name": "DescriptionStyleModel",
261
+ "model_module_version": "1.5.0",
262
+ "state": {
263
+ "_model_module": "@jupyter-widgets/controls",
264
+ "_model_module_version": "1.5.0",
265
+ "_model_name": "DescriptionStyleModel",
266
+ "_view_count": null,
267
+ "_view_module": "@jupyter-widgets/base",
268
+ "_view_module_version": "1.2.0",
269
+ "_view_name": "StyleView",
270
+ "description_width": ""
271
+ }
272
+ },
273
+ "7f556d826c1c4778857774ff4f3945a6": {
274
+ "model_module": "@jupyter-widgets/base",
275
+ "model_name": "LayoutModel",
276
+ "model_module_version": "1.2.0",
277
+ "state": {
278
+ "_model_module": "@jupyter-widgets/base",
279
+ "_model_module_version": "1.2.0",
280
+ "_model_name": "LayoutModel",
281
+ "_view_count": null,
282
+ "_view_module": "@jupyter-widgets/base",
283
+ "_view_module_version": "1.2.0",
284
+ "_view_name": "LayoutView",
285
+ "align_content": null,
286
+ "align_items": null,
287
+ "align_self": null,
288
+ "border": null,
289
+ "bottom": null,
290
+ "display": null,
291
+ "flex": null,
292
+ "flex_flow": null,
293
+ "grid_area": null,
294
+ "grid_auto_columns": null,
295
+ "grid_auto_flow": null,
296
+ "grid_auto_rows": null,
297
+ "grid_column": null,
298
+ "grid_gap": null,
299
+ "grid_row": null,
300
+ "grid_template_areas": null,
301
+ "grid_template_columns": null,
302
+ "grid_template_rows": null,
303
+ "height": null,
304
+ "justify_content": null,
305
+ "justify_items": null,
306
+ "left": null,
307
+ "margin": null,
308
+ "max_height": null,
309
+ "max_width": null,
310
+ "min_height": null,
311
+ "min_width": null,
312
+ "object_fit": null,
313
+ "object_position": null,
314
+ "order": null,
315
+ "overflow": null,
316
+ "overflow_x": null,
317
+ "overflow_y": null,
318
+ "padding": null,
319
+ "right": null,
320
+ "top": null,
321
+ "visibility": null,
322
+ "width": null
323
+ }
324
+ },
325
+ "7f1a19dedb504a7e9d284967387cf3e8": {
326
+ "model_module": "@jupyter-widgets/controls",
327
+ "model_name": "DescriptionStyleModel",
328
+ "model_module_version": "1.5.0",
329
+ "state": {
330
+ "_model_module": "@jupyter-widgets/controls",
331
+ "_model_module_version": "1.5.0",
332
+ "_model_name": "DescriptionStyleModel",
333
+ "_view_count": null,
334
+ "_view_module": "@jupyter-widgets/base",
335
+ "_view_module_version": "1.2.0",
336
+ "_view_name": "StyleView",
337
+ "description_width": ""
338
+ }
339
+ },
340
+ "eac2a8381ced4cac8396075e8ed044d2": {
341
+ "model_module": "@jupyter-widgets/base",
342
+ "model_name": "LayoutModel",
343
+ "model_module_version": "1.2.0",
344
+ "state": {
345
+ "_model_module": "@jupyter-widgets/base",
346
+ "_model_module_version": "1.2.0",
347
+ "_model_name": "LayoutModel",
348
+ "_view_count": null,
349
+ "_view_module": "@jupyter-widgets/base",
350
+ "_view_module_version": "1.2.0",
351
+ "_view_name": "LayoutView",
352
+ "align_content": null,
353
+ "align_items": null,
354
+ "align_self": null,
355
+ "border": null,
356
+ "bottom": null,
357
+ "display": null,
358
+ "flex": null,
359
+ "flex_flow": null,
360
+ "grid_area": null,
361
+ "grid_auto_columns": null,
362
+ "grid_auto_flow": null,
363
+ "grid_auto_rows": null,
364
+ "grid_column": null,
365
+ "grid_gap": null,
366
+ "grid_row": null,
367
+ "grid_template_areas": null,
368
+ "grid_template_columns": null,
369
+ "grid_template_rows": null,
370
+ "height": null,
371
+ "justify_content": null,
372
+ "justify_items": null,
373
+ "left": null,
374
+ "margin": null,
375
+ "max_height": null,
376
+ "max_width": null,
377
+ "min_height": null,
378
+ "min_width": null,
379
+ "object_fit": null,
380
+ "object_position": null,
381
+ "order": null,
382
+ "overflow": null,
383
+ "overflow_x": null,
384
+ "overflow_y": null,
385
+ "padding": null,
386
+ "right": null,
387
+ "top": null,
388
+ "visibility": null,
389
+ "width": null
390
+ }
391
+ },
392
+ "08c9bf6f12ef4a0a9ea5c783d545e351": {
393
+ "model_module": "@jupyter-widgets/controls",
394
+ "model_name": "DescriptionStyleModel",
395
+ "model_module_version": "1.5.0",
396
+ "state": {
397
+ "_model_module": "@jupyter-widgets/controls",
398
+ "_model_module_version": "1.5.0",
399
+ "_model_name": "DescriptionStyleModel",
400
+ "_view_count": null,
401
+ "_view_module": "@jupyter-widgets/base",
402
+ "_view_module_version": "1.2.0",
403
+ "_view_name": "StyleView",
404
+ "description_width": ""
405
+ }
406
+ },
407
+ "209153f3e15e4fd1b5f22a82f9e35c86": {
408
+ "model_module": "@jupyter-widgets/base",
409
+ "model_name": "LayoutModel",
410
+ "model_module_version": "1.2.0",
411
+ "state": {
412
+ "_model_module": "@jupyter-widgets/base",
413
+ "_model_module_version": "1.2.0",
414
+ "_model_name": "LayoutModel",
415
+ "_view_count": null,
416
+ "_view_module": "@jupyter-widgets/base",
417
+ "_view_module_version": "1.2.0",
418
+ "_view_name": "LayoutView",
419
+ "align_content": null,
420
+ "align_items": null,
421
+ "align_self": null,
422
+ "border": null,
423
+ "bottom": null,
424
+ "display": null,
425
+ "flex": null,
426
+ "flex_flow": null,
427
+ "grid_area": null,
428
+ "grid_auto_columns": null,
429
+ "grid_auto_flow": null,
430
+ "grid_auto_rows": null,
431
+ "grid_column": null,
432
+ "grid_gap": null,
433
+ "grid_row": null,
434
+ "grid_template_areas": null,
435
+ "grid_template_columns": null,
436
+ "grid_template_rows": null,
437
+ "height": null,
438
+ "justify_content": null,
439
+ "justify_items": null,
440
+ "left": null,
441
+ "margin": null,
442
+ "max_height": null,
443
+ "max_width": null,
444
+ "min_height": null,
445
+ "min_width": null,
446
+ "object_fit": null,
447
+ "object_position": null,
448
+ "order": null,
449
+ "overflow": null,
450
+ "overflow_x": null,
451
+ "overflow_y": null,
452
+ "padding": null,
453
+ "right": null,
454
+ "top": null,
455
+ "visibility": null,
456
+ "width": null
457
+ }
458
+ },
459
+ "ec9c1e6ab3304072bbe3131060d4b83f": {
460
+ "model_module": "@jupyter-widgets/controls",
461
+ "model_name": "ButtonStyleModel",
462
+ "model_module_version": "1.5.0",
463
+ "state": {
464
+ "_model_module": "@jupyter-widgets/controls",
465
+ "_model_module_version": "1.5.0",
466
+ "_model_name": "ButtonStyleModel",
467
+ "_view_count": null,
468
+ "_view_module": "@jupyter-widgets/base",
469
+ "_view_module_version": "1.2.0",
470
+ "_view_name": "StyleView",
471
+ "button_color": null,
472
+ "font_weight": ""
473
+ }
474
+ },
475
+ "a62ccedf287c4c09a1e40e0f5db20534": {
476
+ "model_module": "@jupyter-widgets/base",
477
+ "model_name": "LayoutModel",
478
+ "model_module_version": "1.2.0",
479
+ "state": {
480
+ "_model_module": "@jupyter-widgets/base",
481
+ "_model_module_version": "1.2.0",
482
+ "_model_name": "LayoutModel",
483
+ "_view_count": null,
484
+ "_view_module": "@jupyter-widgets/base",
485
+ "_view_module_version": "1.2.0",
486
+ "_view_name": "LayoutView",
487
+ "align_content": null,
488
+ "align_items": null,
489
+ "align_self": null,
490
+ "border": null,
491
+ "bottom": null,
492
+ "display": null,
493
+ "flex": null,
494
+ "flex_flow": null,
495
+ "grid_area": null,
496
+ "grid_auto_columns": null,
497
+ "grid_auto_flow": null,
498
+ "grid_auto_rows": null,
499
+ "grid_column": null,
500
+ "grid_gap": null,
501
+ "grid_row": null,
502
+ "grid_template_areas": null,
503
+ "grid_template_columns": null,
504
+ "grid_template_rows": null,
505
+ "height": null,
506
+ "justify_content": null,
507
+ "justify_items": null,
508
+ "left": null,
509
+ "margin": null,
510
+ "max_height": null,
511
+ "max_width": null,
512
+ "min_height": null,
513
+ "min_width": null,
514
+ "object_fit": null,
515
+ "object_position": null,
516
+ "order": null,
517
+ "overflow": null,
518
+ "overflow_x": null,
519
+ "overflow_y": null,
520
+ "padding": null,
521
+ "right": null,
522
+ "top": null,
523
+ "visibility": null,
524
+ "width": null
525
+ }
526
+ },
527
+ "556278604a654fc4a7d652135896475f": {
528
+ "model_module": "@jupyter-widgets/controls",
529
+ "model_name": "DescriptionStyleModel",
530
+ "model_module_version": "1.5.0",
531
+ "state": {
532
+ "_model_module": "@jupyter-widgets/controls",
533
+ "_model_module_version": "1.5.0",
534
+ "_model_name": "DescriptionStyleModel",
535
+ "_view_count": null,
536
+ "_view_module": "@jupyter-widgets/base",
537
+ "_view_module_version": "1.2.0",
538
+ "_view_name": "StyleView",
539
+ "description_width": ""
540
+ }
541
+ },
542
+ "b425610dd2db4408bc8a7963fbc5005c": {
543
+ "model_module": "@jupyter-widgets/controls",
544
+ "model_name": "LabelModel",
545
+ "model_module_version": "1.5.0",
546
+ "state": {
547
+ "_dom_classes": [],
548
+ "_model_module": "@jupyter-widgets/controls",
549
+ "_model_module_version": "1.5.0",
550
+ "_model_name": "LabelModel",
551
+ "_view_count": null,
552
+ "_view_module": "@jupyter-widgets/controls",
553
+ "_view_module_version": "1.5.0",
554
+ "_view_name": "LabelView",
555
+ "description": "",
556
+ "description_tooltip": null,
557
+ "layout": "IPY_MODEL_01f7db2bec21412d823b9e896bed9944",
558
+ "placeholder": "​",
559
+ "style": "IPY_MODEL_51c8ad594d534240bc1fce04b0e62262",
560
+ "value": "Connecting..."
561
+ }
562
+ },
563
+ "01f7db2bec21412d823b9e896bed9944": {
564
+ "model_module": "@jupyter-widgets/base",
565
+ "model_name": "LayoutModel",
566
+ "model_module_version": "1.2.0",
567
+ "state": {
568
+ "_model_module": "@jupyter-widgets/base",
569
+ "_model_module_version": "1.2.0",
570
+ "_model_name": "LayoutModel",
571
+ "_view_count": null,
572
+ "_view_module": "@jupyter-widgets/base",
573
+ "_view_module_version": "1.2.0",
574
+ "_view_name": "LayoutView",
575
+ "align_content": null,
576
+ "align_items": null,
577
+ "align_self": null,
578
+ "border": null,
579
+ "bottom": null,
580
+ "display": null,
581
+ "flex": null,
582
+ "flex_flow": null,
583
+ "grid_area": null,
584
+ "grid_auto_columns": null,
585
+ "grid_auto_flow": null,
586
+ "grid_auto_rows": null,
587
+ "grid_column": null,
588
+ "grid_gap": null,
589
+ "grid_row": null,
590
+ "grid_template_areas": null,
591
+ "grid_template_columns": null,
592
+ "grid_template_rows": null,
593
+ "height": null,
594
+ "justify_content": null,
595
+ "justify_items": null,
596
+ "left": null,
597
+ "margin": null,
598
+ "max_height": null,
599
+ "max_width": null,
600
+ "min_height": null,
601
+ "min_width": null,
602
+ "object_fit": null,
603
+ "object_position": null,
604
+ "order": null,
605
+ "overflow": null,
606
+ "overflow_x": null,
607
+ "overflow_y": null,
608
+ "padding": null,
609
+ "right": null,
610
+ "top": null,
611
+ "visibility": null,
612
+ "width": null
613
+ }
614
+ },
615
+ "51c8ad594d534240bc1fce04b0e62262": {
616
+ "model_module": "@jupyter-widgets/controls",
617
+ "model_name": "DescriptionStyleModel",
618
+ "model_module_version": "1.5.0",
619
+ "state": {
620
+ "_model_module": "@jupyter-widgets/controls",
621
+ "_model_module_version": "1.5.0",
622
+ "_model_name": "DescriptionStyleModel",
623
+ "_view_count": null,
624
+ "_view_module": "@jupyter-widgets/base",
625
+ "_view_module_version": "1.2.0",
626
+ "_view_name": "StyleView",
627
+ "description_width": ""
628
+ }
629
+ },
630
+ "31bf4a8499914a1aa3985f072e9f2af1": {
631
+ "model_module": "@jupyter-widgets/controls",
632
+ "model_name": "LabelModel",
633
+ "model_module_version": "1.5.0",
634
+ "state": {
635
+ "_dom_classes": [],
636
+ "_model_module": "@jupyter-widgets/controls",
637
+ "_model_module_version": "1.5.0",
638
+ "_model_name": "LabelModel",
639
+ "_view_count": null,
640
+ "_view_module": "@jupyter-widgets/controls",
641
+ "_view_module_version": "1.5.0",
642
+ "_view_name": "LabelView",
643
+ "description": "",
644
+ "description_tooltip": null,
645
+ "layout": "IPY_MODEL_2a20d64ac0e3416db5fa0695b13fd0ad",
646
+ "placeholder": "​",
647
+ "style": "IPY_MODEL_d6c45537552b4e77a288d179b5d6bfa9",
648
+ "value": "Token is valid (permission: write)."
649
+ }
650
+ },
651
+ "eec17987f1b04c8d91b09b71d60dab1c": {
652
+ "model_module": "@jupyter-widgets/controls",
653
+ "model_name": "LabelModel",
654
+ "model_module_version": "1.5.0",
655
+ "state": {
656
+ "_dom_classes": [],
657
+ "_model_module": "@jupyter-widgets/controls",
658
+ "_model_module_version": "1.5.0",
659
+ "_model_name": "LabelModel",
660
+ "_view_count": null,
661
+ "_view_module": "@jupyter-widgets/controls",
662
+ "_view_module_version": "1.5.0",
663
+ "_view_name": "LabelView",
664
+ "description": "",
665
+ "description_tooltip": null,
666
+ "layout": "IPY_MODEL_c9df87575f3547d9870405a4e9355261",
667
+ "placeholder": "​",
668
+ "style": "IPY_MODEL_c9a23bb850c04118809e818caf651f8d",
669
+ "value": "\u001b[1m\u001b[31mCannot authenticate through git-credential as no helper is defined on your machine."
670
+ }
671
+ },
672
+ "0be65f47466a464a87a43526f1ce6347": {
673
+ "model_module": "@jupyter-widgets/controls",
674
+ "model_name": "LabelModel",
675
+ "model_module_version": "1.5.0",
676
+ "state": {
677
+ "_dom_classes": [],
678
+ "_model_module": "@jupyter-widgets/controls",
679
+ "_model_module_version": "1.5.0",
680
+ "_model_name": "LabelModel",
681
+ "_view_count": null,
682
+ "_view_module": "@jupyter-widgets/controls",
683
+ "_view_module_version": "1.5.0",
684
+ "_view_name": "LabelView",
685
+ "description": "",
686
+ "description_tooltip": null,
687
+ "layout": "IPY_MODEL_0e53f9cedd604b1491880c557c3ea861",
688
+ "placeholder": "​",
689
+ "style": "IPY_MODEL_69abaed1be64468387462da601d24255",
690
+ "value": "You might have to re-authenticate when pushing to the Hugging Face Hub."
691
+ }
692
+ },
693
+ "d44922f68e624371842d4ccf35297d41": {
694
+ "model_module": "@jupyter-widgets/controls",
695
+ "model_name": "LabelModel",
696
+ "model_module_version": "1.5.0",
697
+ "state": {
698
+ "_dom_classes": [],
699
+ "_model_module": "@jupyter-widgets/controls",
700
+ "_model_module_version": "1.5.0",
701
+ "_model_name": "LabelModel",
702
+ "_view_count": null,
703
+ "_view_module": "@jupyter-widgets/controls",
704
+ "_view_module_version": "1.5.0",
705
+ "_view_name": "LabelView",
706
+ "description": "",
707
+ "description_tooltip": null,
708
+ "layout": "IPY_MODEL_90b430ae06a34d0da071fec10eb1dab6",
709
+ "placeholder": "​",
710
+ "style": "IPY_MODEL_69ea0700b3ae465a878c3c8495d66fdc",
711
+ "value": "Run the following command in your terminal in case you want to set the 'store' credential helper as default."
712
+ }
713
+ },
714
+ "cfe6385fe2224966b8efbfeb72d8fc0a": {
715
+ "model_module": "@jupyter-widgets/controls",
716
+ "model_name": "LabelModel",
717
+ "model_module_version": "1.5.0",
718
+ "state": {
719
+ "_dom_classes": [],
720
+ "_model_module": "@jupyter-widgets/controls",
721
+ "_model_module_version": "1.5.0",
722
+ "_model_name": "LabelModel",
723
+ "_view_count": null,
724
+ "_view_module": "@jupyter-widgets/controls",
725
+ "_view_module_version": "1.5.0",
726
+ "_view_name": "LabelView",
727
+ "description": "",
728
+ "description_tooltip": null,
729
+ "layout": "IPY_MODEL_2f582cc2a30e408a9c9080f6327ccea1",
730
+ "placeholder": "​",
731
+ "style": "IPY_MODEL_6cc0e9ef290a485196c60431e42fe79a",
732
+ "value": "git config --global credential.helper store"
733
+ }
734
+ },
735
+ "691a25c712b84df7aab8f92f9f4e039f": {
736
+ "model_module": "@jupyter-widgets/controls",
737
+ "model_name": "LabelModel",
738
+ "model_module_version": "1.5.0",
739
+ "state": {
740
+ "_dom_classes": [],
741
+ "_model_module": "@jupyter-widgets/controls",
742
+ "_model_module_version": "1.5.0",
743
+ "_model_name": "LabelModel",
744
+ "_view_count": null,
745
+ "_view_module": "@jupyter-widgets/controls",
746
+ "_view_module_version": "1.5.0",
747
+ "_view_name": "LabelView",
748
+ "description": "",
749
+ "description_tooltip": null,
750
+ "layout": "IPY_MODEL_e294cb0cbe3441f6a451f4042bbb04ff",
751
+ "placeholder": "​",
752
+ "style": "IPY_MODEL_590829e276b54e38af5e99e5592bf070",
753
+ "value": "Read https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage for more details.\u001b[0m"
754
+ }
755
+ },
756
+ "0bc51f02dc13497e9dceff330367ac5a": {
757
+ "model_module": "@jupyter-widgets/controls",
758
+ "model_name": "LabelModel",
759
+ "model_module_version": "1.5.0",
760
+ "state": {
761
+ "_dom_classes": [],
762
+ "_model_module": "@jupyter-widgets/controls",
763
+ "_model_module_version": "1.5.0",
764
+ "_model_name": "LabelModel",
765
+ "_view_count": null,
766
+ "_view_module": "@jupyter-widgets/controls",
767
+ "_view_module_version": "1.5.0",
768
+ "_view_name": "LabelView",
769
+ "description": "",
770
+ "description_tooltip": null,
771
+ "layout": "IPY_MODEL_e9f690cf7111479caf89a1fc44db44a2",
772
+ "placeholder": "​",
773
+ "style": "IPY_MODEL_5c06eee9fc1a41aa8d55b15fb2f82cb1",
774
+ "value": "Token has not been saved to git credential helper."
775
+ }
776
+ },
777
+ "d108192d82f041de8bc81277432b7587": {
778
+ "model_module": "@jupyter-widgets/controls",
779
+ "model_name": "LabelModel",
780
+ "model_module_version": "1.5.0",
781
+ "state": {
782
+ "_dom_classes": [],
783
+ "_model_module": "@jupyter-widgets/controls",
784
+ "_model_module_version": "1.5.0",
785
+ "_model_name": "LabelModel",
786
+ "_view_count": null,
787
+ "_view_module": "@jupyter-widgets/controls",
788
+ "_view_module_version": "1.5.0",
789
+ "_view_name": "LabelView",
790
+ "description": "",
791
+ "description_tooltip": null,
792
+ "layout": "IPY_MODEL_ec0204098d19498390d72728d0b4e5c0",
793
+ "placeholder": "​",
794
+ "style": "IPY_MODEL_c5f935a728504120aaffb6e3be35c847",
795
+ "value": "Your token has been saved to /root/.cache/huggingface/token"
796
+ }
797
+ },
798
+ "fe15ed88ba404223b01bea25e7acdba7": {
799
+ "model_module": "@jupyter-widgets/controls",
800
+ "model_name": "LabelModel",
801
+ "model_module_version": "1.5.0",
802
+ "state": {
803
+ "_dom_classes": [],
804
+ "_model_module": "@jupyter-widgets/controls",
805
+ "_model_module_version": "1.5.0",
806
+ "_model_name": "LabelModel",
807
+ "_view_count": null,
808
+ "_view_module": "@jupyter-widgets/controls",
809
+ "_view_module_version": "1.5.0",
810
+ "_view_name": "LabelView",
811
+ "description": "",
812
+ "description_tooltip": null,
813
+ "layout": "IPY_MODEL_05892a9250e44033a5b9d0c970e3b0fd",
814
+ "placeholder": "​",
815
+ "style": "IPY_MODEL_2dddff96378441e19e1ce980a983b462",
816
+ "value": "Login successful"
817
+ }
818
+ },
819
+ "2a20d64ac0e3416db5fa0695b13fd0ad": {
820
+ "model_module": "@jupyter-widgets/base",
821
+ "model_name": "LayoutModel",
822
+ "model_module_version": "1.2.0",
823
+ "state": {
824
+ "_model_module": "@jupyter-widgets/base",
825
+ "_model_module_version": "1.2.0",
826
+ "_model_name": "LayoutModel",
827
+ "_view_count": null,
828
+ "_view_module": "@jupyter-widgets/base",
829
+ "_view_module_version": "1.2.0",
830
+ "_view_name": "LayoutView",
831
+ "align_content": null,
832
+ "align_items": null,
833
+ "align_self": null,
834
+ "border": null,
835
+ "bottom": null,
836
+ "display": null,
837
+ "flex": null,
838
+ "flex_flow": null,
839
+ "grid_area": null,
840
+ "grid_auto_columns": null,
841
+ "grid_auto_flow": null,
842
+ "grid_auto_rows": null,
843
+ "grid_column": null,
844
+ "grid_gap": null,
845
+ "grid_row": null,
846
+ "grid_template_areas": null,
847
+ "grid_template_columns": null,
848
+ "grid_template_rows": null,
849
+ "height": null,
850
+ "justify_content": null,
851
+ "justify_items": null,
852
+ "left": null,
853
+ "margin": null,
854
+ "max_height": null,
855
+ "max_width": null,
856
+ "min_height": null,
857
+ "min_width": null,
858
+ "object_fit": null,
859
+ "object_position": null,
860
+ "order": null,
861
+ "overflow": null,
862
+ "overflow_x": null,
863
+ "overflow_y": null,
864
+ "padding": null,
865
+ "right": null,
866
+ "top": null,
867
+ "visibility": null,
868
+ "width": null
869
+ }
870
+ },
871
+ "d6c45537552b4e77a288d179b5d6bfa9": {
872
+ "model_module": "@jupyter-widgets/controls",
873
+ "model_name": "DescriptionStyleModel",
874
+ "model_module_version": "1.5.0",
875
+ "state": {
876
+ "_model_module": "@jupyter-widgets/controls",
877
+ "_model_module_version": "1.5.0",
878
+ "_model_name": "DescriptionStyleModel",
879
+ "_view_count": null,
880
+ "_view_module": "@jupyter-widgets/base",
881
+ "_view_module_version": "1.2.0",
882
+ "_view_name": "StyleView",
883
+ "description_width": ""
884
+ }
885
+ },
886
+ "c9df87575f3547d9870405a4e9355261": {
887
+ "model_module": "@jupyter-widgets/base",
888
+ "model_name": "LayoutModel",
889
+ "model_module_version": "1.2.0",
890
+ "state": {
891
+ "_model_module": "@jupyter-widgets/base",
892
+ "_model_module_version": "1.2.0",
893
+ "_model_name": "LayoutModel",
894
+ "_view_count": null,
895
+ "_view_module": "@jupyter-widgets/base",
896
+ "_view_module_version": "1.2.0",
897
+ "_view_name": "LayoutView",
898
+ "align_content": null,
899
+ "align_items": null,
900
+ "align_self": null,
901
+ "border": null,
902
+ "bottom": null,
903
+ "display": null,
904
+ "flex": null,
905
+ "flex_flow": null,
906
+ "grid_area": null,
907
+ "grid_auto_columns": null,
908
+ "grid_auto_flow": null,
909
+ "grid_auto_rows": null,
910
+ "grid_column": null,
911
+ "grid_gap": null,
912
+ "grid_row": null,
913
+ "grid_template_areas": null,
914
+ "grid_template_columns": null,
915
+ "grid_template_rows": null,
916
+ "height": null,
917
+ "justify_content": null,
918
+ "justify_items": null,
919
+ "left": null,
920
+ "margin": null,
921
+ "max_height": null,
922
+ "max_width": null,
923
+ "min_height": null,
924
+ "min_width": null,
925
+ "object_fit": null,
926
+ "object_position": null,
927
+ "order": null,
928
+ "overflow": null,
929
+ "overflow_x": null,
930
+ "overflow_y": null,
931
+ "padding": null,
932
+ "right": null,
933
+ "top": null,
934
+ "visibility": null,
935
+ "width": null
936
+ }
937
+ },
938
+ "c9a23bb850c04118809e818caf651f8d": {
939
+ "model_module": "@jupyter-widgets/controls",
940
+ "model_name": "DescriptionStyleModel",
941
+ "model_module_version": "1.5.0",
942
+ "state": {
943
+ "_model_module": "@jupyter-widgets/controls",
944
+ "_model_module_version": "1.5.0",
945
+ "_model_name": "DescriptionStyleModel",
946
+ "_view_count": null,
947
+ "_view_module": "@jupyter-widgets/base",
948
+ "_view_module_version": "1.2.0",
949
+ "_view_name": "StyleView",
950
+ "description_width": ""
951
+ }
952
+ },
953
+ "0e53f9cedd604b1491880c557c3ea861": {
954
+ "model_module": "@jupyter-widgets/base",
955
+ "model_name": "LayoutModel",
956
+ "model_module_version": "1.2.0",
957
+ "state": {
958
+ "_model_module": "@jupyter-widgets/base",
959
+ "_model_module_version": "1.2.0",
960
+ "_model_name": "LayoutModel",
961
+ "_view_count": null,
962
+ "_view_module": "@jupyter-widgets/base",
963
+ "_view_module_version": "1.2.0",
964
+ "_view_name": "LayoutView",
965
+ "align_content": null,
966
+ "align_items": null,
967
+ "align_self": null,
968
+ "border": null,
969
+ "bottom": null,
970
+ "display": null,
971
+ "flex": null,
972
+ "flex_flow": null,
973
+ "grid_area": null,
974
+ "grid_auto_columns": null,
975
+ "grid_auto_flow": null,
976
+ "grid_auto_rows": null,
977
+ "grid_column": null,
978
+ "grid_gap": null,
979
+ "grid_row": null,
980
+ "grid_template_areas": null,
981
+ "grid_template_columns": null,
982
+ "grid_template_rows": null,
983
+ "height": null,
984
+ "justify_content": null,
985
+ "justify_items": null,
986
+ "left": null,
987
+ "margin": null,
988
+ "max_height": null,
989
+ "max_width": null,
990
+ "min_height": null,
991
+ "min_width": null,
992
+ "object_fit": null,
993
+ "object_position": null,
994
+ "order": null,
995
+ "overflow": null,
996
+ "overflow_x": null,
997
+ "overflow_y": null,
998
+ "padding": null,
999
+ "right": null,
1000
+ "top": null,
1001
+ "visibility": null,
1002
+ "width": null
1003
+ }
1004
+ },
1005
+ "69abaed1be64468387462da601d24255": {
1006
+ "model_module": "@jupyter-widgets/controls",
1007
+ "model_name": "DescriptionStyleModel",
1008
+ "model_module_version": "1.5.0",
1009
+ "state": {
1010
+ "_model_module": "@jupyter-widgets/controls",
1011
+ "_model_module_version": "1.5.0",
1012
+ "_model_name": "DescriptionStyleModel",
1013
+ "_view_count": null,
1014
+ "_view_module": "@jupyter-widgets/base",
1015
+ "_view_module_version": "1.2.0",
1016
+ "_view_name": "StyleView",
1017
+ "description_width": ""
1018
+ }
1019
+ },
1020
+ "90b430ae06a34d0da071fec10eb1dab6": {
1021
+ "model_module": "@jupyter-widgets/base",
1022
+ "model_name": "LayoutModel",
1023
+ "model_module_version": "1.2.0",
1024
+ "state": {
1025
+ "_model_module": "@jupyter-widgets/base",
1026
+ "_model_module_version": "1.2.0",
1027
+ "_model_name": "LayoutModel",
1028
+ "_view_count": null,
1029
+ "_view_module": "@jupyter-widgets/base",
1030
+ "_view_module_version": "1.2.0",
1031
+ "_view_name": "LayoutView",
1032
+ "align_content": null,
1033
+ "align_items": null,
1034
+ "align_self": null,
1035
+ "border": null,
1036
+ "bottom": null,
1037
+ "display": null,
1038
+ "flex": null,
1039
+ "flex_flow": null,
1040
+ "grid_area": null,
1041
+ "grid_auto_columns": null,
1042
+ "grid_auto_flow": null,
1043
+ "grid_auto_rows": null,
1044
+ "grid_column": null,
1045
+ "grid_gap": null,
1046
+ "grid_row": null,
1047
+ "grid_template_areas": null,
1048
+ "grid_template_columns": null,
1049
+ "grid_template_rows": null,
1050
+ "height": null,
1051
+ "justify_content": null,
1052
+ "justify_items": null,
1053
+ "left": null,
1054
+ "margin": null,
1055
+ "max_height": null,
1056
+ "max_width": null,
1057
+ "min_height": null,
1058
+ "min_width": null,
1059
+ "object_fit": null,
1060
+ "object_position": null,
1061
+ "order": null,
1062
+ "overflow": null,
1063
+ "overflow_x": null,
1064
+ "overflow_y": null,
1065
+ "padding": null,
1066
+ "right": null,
1067
+ "top": null,
1068
+ "visibility": null,
1069
+ "width": null
1070
+ }
1071
+ },
1072
+ "69ea0700b3ae465a878c3c8495d66fdc": {
1073
+ "model_module": "@jupyter-widgets/controls",
1074
+ "model_name": "DescriptionStyleModel",
1075
+ "model_module_version": "1.5.0",
1076
+ "state": {
1077
+ "_model_module": "@jupyter-widgets/controls",
1078
+ "_model_module_version": "1.5.0",
1079
+ "_model_name": "DescriptionStyleModel",
1080
+ "_view_count": null,
1081
+ "_view_module": "@jupyter-widgets/base",
1082
+ "_view_module_version": "1.2.0",
1083
+ "_view_name": "StyleView",
1084
+ "description_width": ""
1085
+ }
1086
+ },
1087
+ "2f582cc2a30e408a9c9080f6327ccea1": {
1088
+ "model_module": "@jupyter-widgets/base",
1089
+ "model_name": "LayoutModel",
1090
+ "model_module_version": "1.2.0",
1091
+ "state": {
1092
+ "_model_module": "@jupyter-widgets/base",
1093
+ "_model_module_version": "1.2.0",
1094
+ "_model_name": "LayoutModel",
1095
+ "_view_count": null,
1096
+ "_view_module": "@jupyter-widgets/base",
1097
+ "_view_module_version": "1.2.0",
1098
+ "_view_name": "LayoutView",
1099
+ "align_content": null,
1100
+ "align_items": null,
1101
+ "align_self": null,
1102
+ "border": null,
1103
+ "bottom": null,
1104
+ "display": null,
1105
+ "flex": null,
1106
+ "flex_flow": null,
1107
+ "grid_area": null,
1108
+ "grid_auto_columns": null,
1109
+ "grid_auto_flow": null,
1110
+ "grid_auto_rows": null,
1111
+ "grid_column": null,
1112
+ "grid_gap": null,
1113
+ "grid_row": null,
1114
+ "grid_template_areas": null,
1115
+ "grid_template_columns": null,
1116
+ "grid_template_rows": null,
1117
+ "height": null,
1118
+ "justify_content": null,
1119
+ "justify_items": null,
1120
+ "left": null,
1121
+ "margin": null,
1122
+ "max_height": null,
1123
+ "max_width": null,
1124
+ "min_height": null,
1125
+ "min_width": null,
1126
+ "object_fit": null,
1127
+ "object_position": null,
1128
+ "order": null,
1129
+ "overflow": null,
1130
+ "overflow_x": null,
1131
+ "overflow_y": null,
1132
+ "padding": null,
1133
+ "right": null,
1134
+ "top": null,
1135
+ "visibility": null,
1136
+ "width": null
1137
+ }
1138
+ },
1139
+ "6cc0e9ef290a485196c60431e42fe79a": {
1140
+ "model_module": "@jupyter-widgets/controls",
1141
+ "model_name": "DescriptionStyleModel",
1142
+ "model_module_version": "1.5.0",
1143
+ "state": {
1144
+ "_model_module": "@jupyter-widgets/controls",
1145
+ "_model_module_version": "1.5.0",
1146
+ "_model_name": "DescriptionStyleModel",
1147
+ "_view_count": null,
1148
+ "_view_module": "@jupyter-widgets/base",
1149
+ "_view_module_version": "1.2.0",
1150
+ "_view_name": "StyleView",
1151
+ "description_width": ""
1152
+ }
1153
+ },
1154
+ "e294cb0cbe3441f6a451f4042bbb04ff": {
1155
+ "model_module": "@jupyter-widgets/base",
1156
+ "model_name": "LayoutModel",
1157
+ "model_module_version": "1.2.0",
1158
+ "state": {
1159
+ "_model_module": "@jupyter-widgets/base",
1160
+ "_model_module_version": "1.2.0",
1161
+ "_model_name": "LayoutModel",
1162
+ "_view_count": null,
1163
+ "_view_module": "@jupyter-widgets/base",
1164
+ "_view_module_version": "1.2.0",
1165
+ "_view_name": "LayoutView",
1166
+ "align_content": null,
1167
+ "align_items": null,
1168
+ "align_self": null,
1169
+ "border": null,
1170
+ "bottom": null,
1171
+ "display": null,
1172
+ "flex": null,
1173
+ "flex_flow": null,
1174
+ "grid_area": null,
1175
+ "grid_auto_columns": null,
1176
+ "grid_auto_flow": null,
1177
+ "grid_auto_rows": null,
1178
+ "grid_column": null,
1179
+ "grid_gap": null,
1180
+ "grid_row": null,
1181
+ "grid_template_areas": null,
1182
+ "grid_template_columns": null,
1183
+ "grid_template_rows": null,
1184
+ "height": null,
1185
+ "justify_content": null,
1186
+ "justify_items": null,
1187
+ "left": null,
1188
+ "margin": null,
1189
+ "max_height": null,
1190
+ "max_width": null,
1191
+ "min_height": null,
1192
+ "min_width": null,
1193
+ "object_fit": null,
1194
+ "object_position": null,
1195
+ "order": null,
1196
+ "overflow": null,
1197
+ "overflow_x": null,
1198
+ "overflow_y": null,
1199
+ "padding": null,
1200
+ "right": null,
1201
+ "top": null,
1202
+ "visibility": null,
1203
+ "width": null
1204
+ }
1205
+ },
1206
+ "590829e276b54e38af5e99e5592bf070": {
1207
+ "model_module": "@jupyter-widgets/controls",
1208
+ "model_name": "DescriptionStyleModel",
1209
+ "model_module_version": "1.5.0",
1210
+ "state": {
1211
+ "_model_module": "@jupyter-widgets/controls",
1212
+ "_model_module_version": "1.5.0",
1213
+ "_model_name": "DescriptionStyleModel",
1214
+ "_view_count": null,
1215
+ "_view_module": "@jupyter-widgets/base",
1216
+ "_view_module_version": "1.2.0",
1217
+ "_view_name": "StyleView",
1218
+ "description_width": ""
1219
+ }
1220
+ },
1221
+ "e9f690cf7111479caf89a1fc44db44a2": {
1222
+ "model_module": "@jupyter-widgets/base",
1223
+ "model_name": "LayoutModel",
1224
+ "model_module_version": "1.2.0",
1225
+ "state": {
1226
+ "_model_module": "@jupyter-widgets/base",
1227
+ "_model_module_version": "1.2.0",
1228
+ "_model_name": "LayoutModel",
1229
+ "_view_count": null,
1230
+ "_view_module": "@jupyter-widgets/base",
1231
+ "_view_module_version": "1.2.0",
1232
+ "_view_name": "LayoutView",
1233
+ "align_content": null,
1234
+ "align_items": null,
1235
+ "align_self": null,
1236
+ "border": null,
1237
+ "bottom": null,
1238
+ "display": null,
1239
+ "flex": null,
1240
+ "flex_flow": null,
1241
+ "grid_area": null,
1242
+ "grid_auto_columns": null,
1243
+ "grid_auto_flow": null,
1244
+ "grid_auto_rows": null,
1245
+ "grid_column": null,
1246
+ "grid_gap": null,
1247
+ "grid_row": null,
1248
+ "grid_template_areas": null,
1249
+ "grid_template_columns": null,
1250
+ "grid_template_rows": null,
1251
+ "height": null,
1252
+ "justify_content": null,
1253
+ "justify_items": null,
1254
+ "left": null,
1255
+ "margin": null,
1256
+ "max_height": null,
1257
+ "max_width": null,
1258
+ "min_height": null,
1259
+ "min_width": null,
1260
+ "object_fit": null,
1261
+ "object_position": null,
1262
+ "order": null,
1263
+ "overflow": null,
1264
+ "overflow_x": null,
1265
+ "overflow_y": null,
1266
+ "padding": null,
1267
+ "right": null,
1268
+ "top": null,
1269
+ "visibility": null,
1270
+ "width": null
1271
+ }
1272
+ },
1273
+ "5c06eee9fc1a41aa8d55b15fb2f82cb1": {
1274
+ "model_module": "@jupyter-widgets/controls",
1275
+ "model_name": "DescriptionStyleModel",
1276
+ "model_module_version": "1.5.0",
1277
+ "state": {
1278
+ "_model_module": "@jupyter-widgets/controls",
1279
+ "_model_module_version": "1.5.0",
1280
+ "_model_name": "DescriptionStyleModel",
1281
+ "_view_count": null,
1282
+ "_view_module": "@jupyter-widgets/base",
1283
+ "_view_module_version": "1.2.0",
1284
+ "_view_name": "StyleView",
1285
+ "description_width": ""
1286
+ }
1287
+ },
1288
+ "ec0204098d19498390d72728d0b4e5c0": {
1289
+ "model_module": "@jupyter-widgets/base",
1290
+ "model_name": "LayoutModel",
1291
+ "model_module_version": "1.2.0",
1292
+ "state": {
1293
+ "_model_module": "@jupyter-widgets/base",
1294
+ "_model_module_version": "1.2.0",
1295
+ "_model_name": "LayoutModel",
1296
+ "_view_count": null,
1297
+ "_view_module": "@jupyter-widgets/base",
1298
+ "_view_module_version": "1.2.0",
1299
+ "_view_name": "LayoutView",
1300
+ "align_content": null,
1301
+ "align_items": null,
1302
+ "align_self": null,
1303
+ "border": null,
1304
+ "bottom": null,
1305
+ "display": null,
1306
+ "flex": null,
1307
+ "flex_flow": null,
1308
+ "grid_area": null,
1309
+ "grid_auto_columns": null,
1310
+ "grid_auto_flow": null,
1311
+ "grid_auto_rows": null,
1312
+ "grid_column": null,
1313
+ "grid_gap": null,
1314
+ "grid_row": null,
1315
+ "grid_template_areas": null,
1316
+ "grid_template_columns": null,
1317
+ "grid_template_rows": null,
1318
+ "height": null,
1319
+ "justify_content": null,
1320
+ "justify_items": null,
1321
+ "left": null,
1322
+ "margin": null,
1323
+ "max_height": null,
1324
+ "max_width": null,
1325
+ "min_height": null,
1326
+ "min_width": null,
1327
+ "object_fit": null,
1328
+ "object_position": null,
1329
+ "order": null,
1330
+ "overflow": null,
1331
+ "overflow_x": null,
1332
+ "overflow_y": null,
1333
+ "padding": null,
1334
+ "right": null,
1335
+ "top": null,
1336
+ "visibility": null,
1337
+ "width": null
1338
+ }
1339
+ },
1340
+ "c5f935a728504120aaffb6e3be35c847": {
1341
+ "model_module": "@jupyter-widgets/controls",
1342
+ "model_name": "DescriptionStyleModel",
1343
+ "model_module_version": "1.5.0",
1344
+ "state": {
1345
+ "_model_module": "@jupyter-widgets/controls",
1346
+ "_model_module_version": "1.5.0",
1347
+ "_model_name": "DescriptionStyleModel",
1348
+ "_view_count": null,
1349
+ "_view_module": "@jupyter-widgets/base",
1350
+ "_view_module_version": "1.2.0",
1351
+ "_view_name": "StyleView",
1352
+ "description_width": ""
1353
+ }
1354
+ },
1355
+ "05892a9250e44033a5b9d0c970e3b0fd": {
1356
+ "model_module": "@jupyter-widgets/base",
1357
+ "model_name": "LayoutModel",
1358
+ "model_module_version": "1.2.0",
1359
+ "state": {
1360
+ "_model_module": "@jupyter-widgets/base",
1361
+ "_model_module_version": "1.2.0",
1362
+ "_model_name": "LayoutModel",
1363
+ "_view_count": null,
1364
+ "_view_module": "@jupyter-widgets/base",
1365
+ "_view_module_version": "1.2.0",
1366
+ "_view_name": "LayoutView",
1367
+ "align_content": null,
1368
+ "align_items": null,
1369
+ "align_self": null,
1370
+ "border": null,
1371
+ "bottom": null,
1372
+ "display": null,
1373
+ "flex": null,
1374
+ "flex_flow": null,
1375
+ "grid_area": null,
1376
+ "grid_auto_columns": null,
1377
+ "grid_auto_flow": null,
1378
+ "grid_auto_rows": null,
1379
+ "grid_column": null,
1380
+ "grid_gap": null,
1381
+ "grid_row": null,
1382
+ "grid_template_areas": null,
1383
+ "grid_template_columns": null,
1384
+ "grid_template_rows": null,
1385
+ "height": null,
1386
+ "justify_content": null,
1387
+ "justify_items": null,
1388
+ "left": null,
1389
+ "margin": null,
1390
+ "max_height": null,
1391
+ "max_width": null,
1392
+ "min_height": null,
1393
+ "min_width": null,
1394
+ "object_fit": null,
1395
+ "object_position": null,
1396
+ "order": null,
1397
+ "overflow": null,
1398
+ "overflow_x": null,
1399
+ "overflow_y": null,
1400
+ "padding": null,
1401
+ "right": null,
1402
+ "top": null,
1403
+ "visibility": null,
1404
+ "width": null
1405
+ }
1406
+ },
1407
+ "2dddff96378441e19e1ce980a983b462": {
1408
+ "model_module": "@jupyter-widgets/controls",
1409
+ "model_name": "DescriptionStyleModel",
1410
+ "model_module_version": "1.5.0",
1411
+ "state": {
1412
+ "_model_module": "@jupyter-widgets/controls",
1413
+ "_model_module_version": "1.5.0",
1414
+ "_model_name": "DescriptionStyleModel",
1415
+ "_view_count": null,
1416
+ "_view_module": "@jupyter-widgets/base",
1417
+ "_view_module_version": "1.2.0",
1418
+ "_view_name": "StyleView",
1419
+ "description_width": ""
1420
+ }
1421
+ },
1422
+ "8480bc46e76f40dd8a2291205374dee1": {
1423
+ "model_module": "@jupyter-widgets/controls",
1424
+ "model_name": "HBoxModel",
1425
+ "model_module_version": "1.5.0",
1426
+ "state": {
1427
+ "_dom_classes": [],
1428
+ "_model_module": "@jupyter-widgets/controls",
1429
+ "_model_module_version": "1.5.0",
1430
+ "_model_name": "HBoxModel",
1431
+ "_view_count": null,
1432
+ "_view_module": "@jupyter-widgets/controls",
1433
+ "_view_module_version": "1.5.0",
1434
+ "_view_name": "HBoxView",
1435
+ "box_style": "",
1436
+ "children": [
1437
+ "IPY_MODEL_0cd758ea7ec74be18d77338013752c21",
1438
+ "IPY_MODEL_d087858a025e4f8498168cee68a32170",
1439
+ "IPY_MODEL_926eaafdf8b644e9acc9dbd25aa37b28"
1440
+ ],
1441
+ "layout": "IPY_MODEL_47baa951e3a34a83afb2c0e565383fd5"
1442
+ }
1443
+ },
1444
+ "0cd758ea7ec74be18d77338013752c21": {
1445
+ "model_module": "@jupyter-widgets/controls",
1446
+ "model_name": "HTMLModel",
1447
+ "model_module_version": "1.5.0",
1448
+ "state": {
1449
+ "_dom_classes": [],
1450
+ "_model_module": "@jupyter-widgets/controls",
1451
+ "_model_module_version": "1.5.0",
1452
+ "_model_name": "HTMLModel",
1453
+ "_view_count": null,
1454
+ "_view_module": "@jupyter-widgets/controls",
1455
+ "_view_module_version": "1.5.0",
1456
+ "_view_name": "HTMLView",
1457
+ "description": "",
1458
+ "description_tooltip": null,
1459
+ "layout": "IPY_MODEL_620d9af3f3af4590b8ff8a2d41aeffeb",
1460
+ "placeholder": "​",
1461
+ "style": "IPY_MODEL_a3d34389279b4f50ae14bead756a0acc",
1462
+ "value": "model.safetensors: 100%"
1463
+ }
1464
+ },
1465
+ "d087858a025e4f8498168cee68a32170": {
1466
+ "model_module": "@jupyter-widgets/controls",
1467
+ "model_name": "FloatProgressModel",
1468
+ "model_module_version": "1.5.0",
1469
+ "state": {
1470
+ "_dom_classes": [],
1471
+ "_model_module": "@jupyter-widgets/controls",
1472
+ "_model_module_version": "1.5.0",
1473
+ "_model_name": "FloatProgressModel",
1474
+ "_view_count": null,
1475
+ "_view_module": "@jupyter-widgets/controls",
1476
+ "_view_module_version": "1.5.0",
1477
+ "_view_name": "ProgressView",
1478
+ "bar_style": "success",
1479
+ "description": "",
1480
+ "description_tooltip": null,
1481
+ "layout": "IPY_MODEL_72207984e5724a78b78e0b998ac78daa",
1482
+ "max": 267841796,
1483
+ "min": 0,
1484
+ "orientation": "horizontal",
1485
+ "style": "IPY_MODEL_93126d1766d44469bfbc2d43dbda4d2d",
1486
+ "value": 267841796
1487
+ }
1488
+ },
1489
+ "926eaafdf8b644e9acc9dbd25aa37b28": {
1490
+ "model_module": "@jupyter-widgets/controls",
1491
+ "model_name": "HTMLModel",
1492
+ "model_module_version": "1.5.0",
1493
+ "state": {
1494
+ "_dom_classes": [],
1495
+ "_model_module": "@jupyter-widgets/controls",
1496
+ "_model_module_version": "1.5.0",
1497
+ "_model_name": "HTMLModel",
1498
+ "_view_count": null,
1499
+ "_view_module": "@jupyter-widgets/controls",
1500
+ "_view_module_version": "1.5.0",
1501
+ "_view_name": "HTMLView",
1502
+ "description": "",
1503
+ "description_tooltip": null,
1504
+ "layout": "IPY_MODEL_29f76315a11a442d8278c4f83a1691a2",
1505
+ "placeholder": "​",
1506
+ "style": "IPY_MODEL_cb9a33a8667548f7b266e32fee83acbb",
1507
+ "value": " 268M/268M [00:08&lt;00:00, 43.8MB/s]"
1508
+ }
1509
+ },
1510
+ "47baa951e3a34a83afb2c0e565383fd5": {
1511
+ "model_module": "@jupyter-widgets/base",
1512
+ "model_name": "LayoutModel",
1513
+ "model_module_version": "1.2.0",
1514
+ "state": {
1515
+ "_model_module": "@jupyter-widgets/base",
1516
+ "_model_module_version": "1.2.0",
1517
+ "_model_name": "LayoutModel",
1518
+ "_view_count": null,
1519
+ "_view_module": "@jupyter-widgets/base",
1520
+ "_view_module_version": "1.2.0",
1521
+ "_view_name": "LayoutView",
1522
+ "align_content": null,
1523
+ "align_items": null,
1524
+ "align_self": null,
1525
+ "border": null,
1526
+ "bottom": null,
1527
+ "display": null,
1528
+ "flex": null,
1529
+ "flex_flow": null,
1530
+ "grid_area": null,
1531
+ "grid_auto_columns": null,
1532
+ "grid_auto_flow": null,
1533
+ "grid_auto_rows": null,
1534
+ "grid_column": null,
1535
+ "grid_gap": null,
1536
+ "grid_row": null,
1537
+ "grid_template_areas": null,
1538
+ "grid_template_columns": null,
1539
+ "grid_template_rows": null,
1540
+ "height": null,
1541
+ "justify_content": null,
1542
+ "justify_items": null,
1543
+ "left": null,
1544
+ "margin": null,
1545
+ "max_height": null,
1546
+ "max_width": null,
1547
+ "min_height": null,
1548
+ "min_width": null,
1549
+ "object_fit": null,
1550
+ "object_position": null,
1551
+ "order": null,
1552
+ "overflow": null,
1553
+ "overflow_x": null,
1554
+ "overflow_y": null,
1555
+ "padding": null,
1556
+ "right": null,
1557
+ "top": null,
1558
+ "visibility": null,
1559
+ "width": null
1560
+ }
1561
+ },
1562
+ "620d9af3f3af4590b8ff8a2d41aeffeb": {
1563
+ "model_module": "@jupyter-widgets/base",
1564
+ "model_name": "LayoutModel",
1565
+ "model_module_version": "1.2.0",
1566
+ "state": {
1567
+ "_model_module": "@jupyter-widgets/base",
1568
+ "_model_module_version": "1.2.0",
1569
+ "_model_name": "LayoutModel",
1570
+ "_view_count": null,
1571
+ "_view_module": "@jupyter-widgets/base",
1572
+ "_view_module_version": "1.2.0",
1573
+ "_view_name": "LayoutView",
1574
+ "align_content": null,
1575
+ "align_items": null,
1576
+ "align_self": null,
1577
+ "border": null,
1578
+ "bottom": null,
1579
+ "display": null,
1580
+ "flex": null,
1581
+ "flex_flow": null,
1582
+ "grid_area": null,
1583
+ "grid_auto_columns": null,
1584
+ "grid_auto_flow": null,
1585
+ "grid_auto_rows": null,
1586
+ "grid_column": null,
1587
+ "grid_gap": null,
1588
+ "grid_row": null,
1589
+ "grid_template_areas": null,
1590
+ "grid_template_columns": null,
1591
+ "grid_template_rows": null,
1592
+ "height": null,
1593
+ "justify_content": null,
1594
+ "justify_items": null,
1595
+ "left": null,
1596
+ "margin": null,
1597
+ "max_height": null,
1598
+ "max_width": null,
1599
+ "min_height": null,
1600
+ "min_width": null,
1601
+ "object_fit": null,
1602
+ "object_position": null,
1603
+ "order": null,
1604
+ "overflow": null,
1605
+ "overflow_x": null,
1606
+ "overflow_y": null,
1607
+ "padding": null,
1608
+ "right": null,
1609
+ "top": null,
1610
+ "visibility": null,
1611
+ "width": null
1612
+ }
1613
+ },
1614
+ "a3d34389279b4f50ae14bead756a0acc": {
1615
+ "model_module": "@jupyter-widgets/controls",
1616
+ "model_name": "DescriptionStyleModel",
1617
+ "model_module_version": "1.5.0",
1618
+ "state": {
1619
+ "_model_module": "@jupyter-widgets/controls",
1620
+ "_model_module_version": "1.5.0",
1621
+ "_model_name": "DescriptionStyleModel",
1622
+ "_view_count": null,
1623
+ "_view_module": "@jupyter-widgets/base",
1624
+ "_view_module_version": "1.2.0",
1625
+ "_view_name": "StyleView",
1626
+ "description_width": ""
1627
+ }
1628
+ },
1629
+ "72207984e5724a78b78e0b998ac78daa": {
1630
+ "model_module": "@jupyter-widgets/base",
1631
+ "model_name": "LayoutModel",
1632
+ "model_module_version": "1.2.0",
1633
+ "state": {
1634
+ "_model_module": "@jupyter-widgets/base",
1635
+ "_model_module_version": "1.2.0",
1636
+ "_model_name": "LayoutModel",
1637
+ "_view_count": null,
1638
+ "_view_module": "@jupyter-widgets/base",
1639
+ "_view_module_version": "1.2.0",
1640
+ "_view_name": "LayoutView",
1641
+ "align_content": null,
1642
+ "align_items": null,
1643
+ "align_self": null,
1644
+ "border": null,
1645
+ "bottom": null,
1646
+ "display": null,
1647
+ "flex": null,
1648
+ "flex_flow": null,
1649
+ "grid_area": null,
1650
+ "grid_auto_columns": null,
1651
+ "grid_auto_flow": null,
1652
+ "grid_auto_rows": null,
1653
+ "grid_column": null,
1654
+ "grid_gap": null,
1655
+ "grid_row": null,
1656
+ "grid_template_areas": null,
1657
+ "grid_template_columns": null,
1658
+ "grid_template_rows": null,
1659
+ "height": null,
1660
+ "justify_content": null,
1661
+ "justify_items": null,
1662
+ "left": null,
1663
+ "margin": null,
1664
+ "max_height": null,
1665
+ "max_width": null,
1666
+ "min_height": null,
1667
+ "min_width": null,
1668
+ "object_fit": null,
1669
+ "object_position": null,
1670
+ "order": null,
1671
+ "overflow": null,
1672
+ "overflow_x": null,
1673
+ "overflow_y": null,
1674
+ "padding": null,
1675
+ "right": null,
1676
+ "top": null,
1677
+ "visibility": null,
1678
+ "width": null
1679
+ }
1680
+ },
1681
+ "93126d1766d44469bfbc2d43dbda4d2d": {
1682
+ "model_module": "@jupyter-widgets/controls",
1683
+ "model_name": "ProgressStyleModel",
1684
+ "model_module_version": "1.5.0",
1685
+ "state": {
1686
+ "_model_module": "@jupyter-widgets/controls",
1687
+ "_model_module_version": "1.5.0",
1688
+ "_model_name": "ProgressStyleModel",
1689
+ "_view_count": null,
1690
+ "_view_module": "@jupyter-widgets/base",
1691
+ "_view_module_version": "1.2.0",
1692
+ "_view_name": "StyleView",
1693
+ "bar_color": null,
1694
+ "description_width": ""
1695
+ }
1696
+ },
1697
+ "29f76315a11a442d8278c4f83a1691a2": {
1698
+ "model_module": "@jupyter-widgets/base",
1699
+ "model_name": "LayoutModel",
1700
+ "model_module_version": "1.2.0",
1701
+ "state": {
1702
+ "_model_module": "@jupyter-widgets/base",
1703
+ "_model_module_version": "1.2.0",
1704
+ "_model_name": "LayoutModel",
1705
+ "_view_count": null,
1706
+ "_view_module": "@jupyter-widgets/base",
1707
+ "_view_module_version": "1.2.0",
1708
+ "_view_name": "LayoutView",
1709
+ "align_content": null,
1710
+ "align_items": null,
1711
+ "align_self": null,
1712
+ "border": null,
1713
+ "bottom": null,
1714
+ "display": null,
1715
+ "flex": null,
1716
+ "flex_flow": null,
1717
+ "grid_area": null,
1718
+ "grid_auto_columns": null,
1719
+ "grid_auto_flow": null,
1720
+ "grid_auto_rows": null,
1721
+ "grid_column": null,
1722
+ "grid_gap": null,
1723
+ "grid_row": null,
1724
+ "grid_template_areas": null,
1725
+ "grid_template_columns": null,
1726
+ "grid_template_rows": null,
1727
+ "height": null,
1728
+ "justify_content": null,
1729
+ "justify_items": null,
1730
+ "left": null,
1731
+ "margin": null,
1732
+ "max_height": null,
1733
+ "max_width": null,
1734
+ "min_height": null,
1735
+ "min_width": null,
1736
+ "object_fit": null,
1737
+ "object_position": null,
1738
+ "order": null,
1739
+ "overflow": null,
1740
+ "overflow_x": null,
1741
+ "overflow_y": null,
1742
+ "padding": null,
1743
+ "right": null,
1744
+ "top": null,
1745
+ "visibility": null,
1746
+ "width": null
1747
+ }
1748
+ },
1749
+ "cb9a33a8667548f7b266e32fee83acbb": {
1750
+ "model_module": "@jupyter-widgets/controls",
1751
+ "model_name": "DescriptionStyleModel",
1752
+ "model_module_version": "1.5.0",
1753
+ "state": {
1754
+ "_model_module": "@jupyter-widgets/controls",
1755
+ "_model_module_version": "1.5.0",
1756
+ "_model_name": "DescriptionStyleModel",
1757
+ "_view_count": null,
1758
+ "_view_module": "@jupyter-widgets/base",
1759
+ "_view_module_version": "1.2.0",
1760
+ "_view_name": "StyleView",
1761
+ "description_width": ""
1762
+ }
1763
+ },
1764
+ "c3a89a5acaef4f819007a29fdc321a5c": {
1765
+ "model_module": "@jupyter-widgets/controls",
1766
+ "model_name": "HBoxModel",
1767
+ "model_module_version": "1.5.0",
1768
+ "state": {
1769
+ "_dom_classes": [],
1770
+ "_model_module": "@jupyter-widgets/controls",
1771
+ "_model_module_version": "1.5.0",
1772
+ "_model_name": "HBoxModel",
1773
+ "_view_count": null,
1774
+ "_view_module": "@jupyter-widgets/controls",
1775
+ "_view_module_version": "1.5.0",
1776
+ "_view_name": "HBoxView",
1777
+ "box_style": "",
1778
+ "children": [
1779
+ "IPY_MODEL_eb481435226f45dc89be1fc7bae3b556",
1780
+ "IPY_MODEL_1c20d7c954c6438fa4d2626654662922",
1781
+ "IPY_MODEL_3577afd4062847c6978f713f3030ce00"
1782
+ ],
1783
+ "layout": "IPY_MODEL_d6572f7e1e43479c826492bf5750d29f"
1784
+ }
1785
+ },
1786
+ "eb481435226f45dc89be1fc7bae3b556": {
1787
+ "model_module": "@jupyter-widgets/controls",
1788
+ "model_name": "HTMLModel",
1789
+ "model_module_version": "1.5.0",
1790
+ "state": {
1791
+ "_dom_classes": [],
1792
+ "_model_module": "@jupyter-widgets/controls",
1793
+ "_model_module_version": "1.5.0",
1794
+ "_model_name": "HTMLModel",
1795
+ "_view_count": null,
1796
+ "_view_module": "@jupyter-widgets/controls",
1797
+ "_view_module_version": "1.5.0",
1798
+ "_view_name": "HTMLView",
1799
+ "description": "",
1800
+ "description_tooltip": null,
1801
+ "layout": "IPY_MODEL_aff9eca9038e45c2be90efdf451e9094",
1802
+ "placeholder": "​",
1803
+ "style": "IPY_MODEL_4a9c74e5ecab409d95a4da99ab690a86",
1804
+ "value": "README.md: 100%"
1805
+ }
1806
+ },
1807
+ "1c20d7c954c6438fa4d2626654662922": {
1808
+ "model_module": "@jupyter-widgets/controls",
1809
+ "model_name": "FloatProgressModel",
1810
+ "model_module_version": "1.5.0",
1811
+ "state": {
1812
+ "_dom_classes": [],
1813
+ "_model_module": "@jupyter-widgets/controls",
1814
+ "_model_module_version": "1.5.0",
1815
+ "_model_name": "FloatProgressModel",
1816
+ "_view_count": null,
1817
+ "_view_module": "@jupyter-widgets/controls",
1818
+ "_view_module_version": "1.5.0",
1819
+ "_view_name": "ProgressView",
1820
+ "bar_style": "success",
1821
+ "description": "",
1822
+ "description_tooltip": null,
1823
+ "layout": "IPY_MODEL_bee01155c8be4a248cee7009125c82f4",
1824
+ "max": 5174,
1825
+ "min": 0,
1826
+ "orientation": "horizontal",
1827
+ "style": "IPY_MODEL_374e231bd8dc467396b018b42696c053",
1828
+ "value": 5174
1829
+ }
1830
+ },
1831
+ "3577afd4062847c6978f713f3030ce00": {
1832
+ "model_module": "@jupyter-widgets/controls",
1833
+ "model_name": "HTMLModel",
1834
+ "model_module_version": "1.5.0",
1835
+ "state": {
1836
+ "_dom_classes": [],
1837
+ "_model_module": "@jupyter-widgets/controls",
1838
+ "_model_module_version": "1.5.0",
1839
+ "_model_name": "HTMLModel",
1840
+ "_view_count": null,
1841
+ "_view_module": "@jupyter-widgets/controls",
1842
+ "_view_module_version": "1.5.0",
1843
+ "_view_name": "HTMLView",
1844
+ "description": "",
1845
+ "description_tooltip": null,
1846
+ "layout": "IPY_MODEL_c2f6987ceceb4cfbaf770407839f92a5",
1847
+ "placeholder": "​",
1848
+ "style": "IPY_MODEL_af312ae01c1d4ce5b4893c3cdd8e03f2",
1849
+ "value": " 5.17k/5.17k [00:00&lt;00:00, 182kB/s]"
1850
+ }
1851
+ },
1852
+ "d6572f7e1e43479c826492bf5750d29f": {
1853
+ "model_module": "@jupyter-widgets/base",
1854
+ "model_name": "LayoutModel",
1855
+ "model_module_version": "1.2.0",
1856
+ "state": {
1857
+ "_model_module": "@jupyter-widgets/base",
1858
+ "_model_module_version": "1.2.0",
1859
+ "_model_name": "LayoutModel",
1860
+ "_view_count": null,
1861
+ "_view_module": "@jupyter-widgets/base",
1862
+ "_view_module_version": "1.2.0",
1863
+ "_view_name": "LayoutView",
1864
+ "align_content": null,
1865
+ "align_items": null,
1866
+ "align_self": null,
1867
+ "border": null,
1868
+ "bottom": null,
1869
+ "display": null,
1870
+ "flex": null,
1871
+ "flex_flow": null,
1872
+ "grid_area": null,
1873
+ "grid_auto_columns": null,
1874
+ "grid_auto_flow": null,
1875
+ "grid_auto_rows": null,
1876
+ "grid_column": null,
1877
+ "grid_gap": null,
1878
+ "grid_row": null,
1879
+ "grid_template_areas": null,
1880
+ "grid_template_columns": null,
1881
+ "grid_template_rows": null,
1882
+ "height": null,
1883
+ "justify_content": null,
1884
+ "justify_items": null,
1885
+ "left": null,
1886
+ "margin": null,
1887
+ "max_height": null,
1888
+ "max_width": null,
1889
+ "min_height": null,
1890
+ "min_width": null,
1891
+ "object_fit": null,
1892
+ "object_position": null,
1893
+ "order": null,
1894
+ "overflow": null,
1895
+ "overflow_x": null,
1896
+ "overflow_y": null,
1897
+ "padding": null,
1898
+ "right": null,
1899
+ "top": null,
1900
+ "visibility": null,
1901
+ "width": null
1902
+ }
1903
+ },
1904
+ "aff9eca9038e45c2be90efdf451e9094": {
1905
+ "model_module": "@jupyter-widgets/base",
1906
+ "model_name": "LayoutModel",
1907
+ "model_module_version": "1.2.0",
1908
+ "state": {
1909
+ "_model_module": "@jupyter-widgets/base",
1910
+ "_model_module_version": "1.2.0",
1911
+ "_model_name": "LayoutModel",
1912
+ "_view_count": null,
1913
+ "_view_module": "@jupyter-widgets/base",
1914
+ "_view_module_version": "1.2.0",
1915
+ "_view_name": "LayoutView",
1916
+ "align_content": null,
1917
+ "align_items": null,
1918
+ "align_self": null,
1919
+ "border": null,
1920
+ "bottom": null,
1921
+ "display": null,
1922
+ "flex": null,
1923
+ "flex_flow": null,
1924
+ "grid_area": null,
1925
+ "grid_auto_columns": null,
1926
+ "grid_auto_flow": null,
1927
+ "grid_auto_rows": null,
1928
+ "grid_column": null,
1929
+ "grid_gap": null,
1930
+ "grid_row": null,
1931
+ "grid_template_areas": null,
1932
+ "grid_template_columns": null,
1933
+ "grid_template_rows": null,
1934
+ "height": null,
1935
+ "justify_content": null,
1936
+ "justify_items": null,
1937
+ "left": null,
1938
+ "margin": null,
1939
+ "max_height": null,
1940
+ "max_width": null,
1941
+ "min_height": null,
1942
+ "min_width": null,
1943
+ "object_fit": null,
1944
+ "object_position": null,
1945
+ "order": null,
1946
+ "overflow": null,
1947
+ "overflow_x": null,
1948
+ "overflow_y": null,
1949
+ "padding": null,
1950
+ "right": null,
1951
+ "top": null,
1952
+ "visibility": null,
1953
+ "width": null
1954
+ }
1955
+ },
1956
+ "4a9c74e5ecab409d95a4da99ab690a86": {
1957
+ "model_module": "@jupyter-widgets/controls",
1958
+ "model_name": "DescriptionStyleModel",
1959
+ "model_module_version": "1.5.0",
1960
+ "state": {
1961
+ "_model_module": "@jupyter-widgets/controls",
1962
+ "_model_module_version": "1.5.0",
1963
+ "_model_name": "DescriptionStyleModel",
1964
+ "_view_count": null,
1965
+ "_view_module": "@jupyter-widgets/base",
1966
+ "_view_module_version": "1.2.0",
1967
+ "_view_name": "StyleView",
1968
+ "description_width": ""
1969
+ }
1970
+ },
1971
+ "bee01155c8be4a248cee7009125c82f4": {
1972
+ "model_module": "@jupyter-widgets/base",
1973
+ "model_name": "LayoutModel",
1974
+ "model_module_version": "1.2.0",
1975
+ "state": {
1976
+ "_model_module": "@jupyter-widgets/base",
1977
+ "_model_module_version": "1.2.0",
1978
+ "_model_name": "LayoutModel",
1979
+ "_view_count": null,
1980
+ "_view_module": "@jupyter-widgets/base",
1981
+ "_view_module_version": "1.2.0",
1982
+ "_view_name": "LayoutView",
1983
+ "align_content": null,
1984
+ "align_items": null,
1985
+ "align_self": null,
1986
+ "border": null,
1987
+ "bottom": null,
1988
+ "display": null,
1989
+ "flex": null,
1990
+ "flex_flow": null,
1991
+ "grid_area": null,
1992
+ "grid_auto_columns": null,
1993
+ "grid_auto_flow": null,
1994
+ "grid_auto_rows": null,
1995
+ "grid_column": null,
1996
+ "grid_gap": null,
1997
+ "grid_row": null,
1998
+ "grid_template_areas": null,
1999
+ "grid_template_columns": null,
2000
+ "grid_template_rows": null,
2001
+ "height": null,
2002
+ "justify_content": null,
2003
+ "justify_items": null,
2004
+ "left": null,
2005
+ "margin": null,
2006
+ "max_height": null,
2007
+ "max_width": null,
2008
+ "min_height": null,
2009
+ "min_width": null,
2010
+ "object_fit": null,
2011
+ "object_position": null,
2012
+ "order": null,
2013
+ "overflow": null,
2014
+ "overflow_x": null,
2015
+ "overflow_y": null,
2016
+ "padding": null,
2017
+ "right": null,
2018
+ "top": null,
2019
+ "visibility": null,
2020
+ "width": null
2021
+ }
2022
+ },
2023
+ "374e231bd8dc467396b018b42696c053": {
2024
+ "model_module": "@jupyter-widgets/controls",
2025
+ "model_name": "ProgressStyleModel",
2026
+ "model_module_version": "1.5.0",
2027
+ "state": {
2028
+ "_model_module": "@jupyter-widgets/controls",
2029
+ "_model_module_version": "1.5.0",
2030
+ "_model_name": "ProgressStyleModel",
2031
+ "_view_count": null,
2032
+ "_view_module": "@jupyter-widgets/base",
2033
+ "_view_module_version": "1.2.0",
2034
+ "_view_name": "StyleView",
2035
+ "bar_color": null,
2036
+ "description_width": ""
2037
+ }
2038
+ },
2039
+ "c2f6987ceceb4cfbaf770407839f92a5": {
2040
+ "model_module": "@jupyter-widgets/base",
2041
+ "model_name": "LayoutModel",
2042
+ "model_module_version": "1.2.0",
2043
+ "state": {
2044
+ "_model_module": "@jupyter-widgets/base",
2045
+ "_model_module_version": "1.2.0",
2046
+ "_model_name": "LayoutModel",
2047
+ "_view_count": null,
2048
+ "_view_module": "@jupyter-widgets/base",
2049
+ "_view_module_version": "1.2.0",
2050
+ "_view_name": "LayoutView",
2051
+ "align_content": null,
2052
+ "align_items": null,
2053
+ "align_self": null,
2054
+ "border": null,
2055
+ "bottom": null,
2056
+ "display": null,
2057
+ "flex": null,
2058
+ "flex_flow": null,
2059
+ "grid_area": null,
2060
+ "grid_auto_columns": null,
2061
+ "grid_auto_flow": null,
2062
+ "grid_auto_rows": null,
2063
+ "grid_column": null,
2064
+ "grid_gap": null,
2065
+ "grid_row": null,
2066
+ "grid_template_areas": null,
2067
+ "grid_template_columns": null,
2068
+ "grid_template_rows": null,
2069
+ "height": null,
2070
+ "justify_content": null,
2071
+ "justify_items": null,
2072
+ "left": null,
2073
+ "margin": null,
2074
+ "max_height": null,
2075
+ "max_width": null,
2076
+ "min_height": null,
2077
+ "min_width": null,
2078
+ "object_fit": null,
2079
+ "object_position": null,
2080
+ "order": null,
2081
+ "overflow": null,
2082
+ "overflow_x": null,
2083
+ "overflow_y": null,
2084
+ "padding": null,
2085
+ "right": null,
2086
+ "top": null,
2087
+ "visibility": null,
2088
+ "width": null
2089
+ }
2090
+ },
2091
+ "af312ae01c1d4ce5b4893c3cdd8e03f2": {
2092
+ "model_module": "@jupyter-widgets/controls",
2093
+ "model_name": "DescriptionStyleModel",
2094
+ "model_module_version": "1.5.0",
2095
+ "state": {
2096
+ "_model_module": "@jupyter-widgets/controls",
2097
+ "_model_module_version": "1.5.0",
2098
+ "_model_name": "DescriptionStyleModel",
2099
+ "_view_count": null,
2100
+ "_view_module": "@jupyter-widgets/base",
2101
+ "_view_module_version": "1.2.0",
2102
+ "_view_name": "StyleView",
2103
+ "description_width": ""
2104
+ }
2105
+ }
2106
+ }
2107
+ }
2108
+ },
2109
+ "cells": [
2110
+ {
2111
+ "cell_type": "code",
2112
+ "execution_count": 1,
2113
+ "metadata": {
2114
+ "colab": {
2115
+ "base_uri": "https://localhost:8080/"
2116
+ },
2117
+ "id": "_SSP3ywrOzS_",
2118
+ "outputId": "7a4d32fe-a610-494a-876c-651f0e7a32d4"
2119
+ },
2120
+ "outputs": [
2121
+ {
2122
+ "output_type": "stream",
2123
+ "name": "stdout",
2124
+ "text": [
2125
+ "Requirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (4.41.0)\n",
2126
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers) (3.14.0)\n",
2127
+ "Requirement already satisfied: huggingface-hub<1.0,>=0.23.0 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.23.0)\n",
2128
+ "Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers) (1.25.2)\n",
2129
+ "Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers) (24.0)\n",
2130
+ "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers) (6.0.1)\n",
2131
+ "Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers) (2023.12.25)\n",
2132
+ "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers) (2.31.0)\n",
2133
+ "Requirement already satisfied: tokenizers<0.20,>=0.19 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.19.1)\n",
2134
+ "Requirement already satisfied: safetensors>=0.4.1 in /usr/local/lib/python3.10/dist-packages (from transformers) (0.4.3)\n",
2135
+ "Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers) (4.66.4)\n",
2136
+ "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.23.0->transformers) (2023.6.0)\n",
2137
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.23.0->transformers) (4.11.0)\n",
2138
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (3.3.2)\n",
2139
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (3.7)\n",
2140
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (2.0.7)\n",
2141
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers) (2024.2.2)\n"
2142
+ ]
2143
+ }
2144
+ ],
2145
+ "source": [
2146
+ "!pip install transformers"
2147
+ ]
2148
+ },
2149
+ {
2150
+ "cell_type": "code",
2151
+ "source": [
2152
+ "!pip install huggingface_hub"
2153
+ ],
2154
+ "metadata": {
2155
+ "colab": {
2156
+ "base_uri": "https://localhost:8080/"
2157
+ },
2158
+ "id": "DpLfJf6tXm5i",
2159
+ "outputId": "7ffc4532-b889-46ea-f4d7-a87e863d3eb5"
2160
+ },
2161
+ "execution_count": 2,
2162
+ "outputs": [
2163
+ {
2164
+ "output_type": "stream",
2165
+ "name": "stdout",
2166
+ "text": [
2167
+ "Requirement already satisfied: huggingface_hub in /usr/local/lib/python3.10/dist-packages (0.23.0)\n",
2168
+ "Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (3.14.0)\n",
2169
+ "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (2023.6.0)\n",
2170
+ "Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (24.0)\n",
2171
+ "Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (6.0.1)\n",
2172
+ "Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (2.31.0)\n",
2173
+ "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (4.66.4)\n",
2174
+ "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (4.11.0)\n",
2175
+ "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (3.3.2)\n",
2176
+ "Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (3.7)\n",
2177
+ "Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2.0.7)\n",
2178
+ "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2024.2.2)\n"
2179
+ ]
2180
+ }
2181
+ ]
2182
+ },
2183
+ {
2184
+ "cell_type": "code",
2185
+ "source": [
2186
+ "import torch\n",
2187
+ "from transformers import BertTokenizer, BertForSequenceClassification"
2188
+ ],
2189
+ "metadata": {
2190
+ "id": "kItBjAixXvud"
2191
+ },
2192
+ "execution_count": 4,
2193
+ "outputs": []
2194
+ },
2195
+ {
2196
+ "cell_type": "code",
2197
+ "source": [
2198
+ "import os\n",
2199
+ "\n",
2200
+ "# List files in the content directory\n",
2201
+ "uploaded_files = os.listdir('/content')\n",
2202
+ "print(uploaded_files)"
2203
+ ],
2204
+ "metadata": {
2205
+ "colab": {
2206
+ "base_uri": "https://localhost:8080/"
2207
+ },
2208
+ "id": "p4vXOSygcimL",
2209
+ "outputId": "bb971dc5-5ca3-4621-edde-104153479e5a"
2210
+ },
2211
+ "execution_count": 5,
2212
+ "outputs": [
2213
+ {
2214
+ "output_type": "stream",
2215
+ "name": "stdout",
2216
+ "text": [
2217
+ "['.config', 'distilbert_model.zip', 'sample_data']\n"
2218
+ ]
2219
+ }
2220
+ ]
2221
+ },
2222
+ {
2223
+ "cell_type": "code",
2224
+ "source": [
2225
+ "import zipfile\n",
2226
+ "\n",
2227
+ "# Assuming the uploaded file is a zip file named 'model_files.zip'\n",
2228
+ "zip_file_path = '/content/distilbert_model.zip'\n",
2229
+ "extract_dir = '/content/distilbert_model'\n",
2230
+ "\n",
2231
+ "# Extract the zip file\n",
2232
+ "with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:\n",
2233
+ " zip_ref.extractall(extract_dir)\n",
2234
+ "\n",
2235
+ "# List the extracted files\n",
2236
+ "extracted_files = os.listdir(extract_dir)\n",
2237
+ "print(extracted_files)"
2238
+ ],
2239
+ "metadata": {
2240
+ "colab": {
2241
+ "base_uri": "https://localhost:8080/"
2242
+ },
2243
+ "id": "VFQ6BTfEYHU2",
2244
+ "outputId": "324659ed-6d54-4d30-cf3c-c20b9d5508de"
2245
+ },
2246
+ "execution_count": 6,
2247
+ "outputs": [
2248
+ {
2249
+ "output_type": "stream",
2250
+ "name": "stdout",
2251
+ "text": [
2252
+ "['distilbert_model']\n"
2253
+ ]
2254
+ }
2255
+ ]
2256
+ },
2257
+ {
2258
+ "cell_type": "code",
2259
+ "source": [
2260
+ "from transformers import DistilBertForSequenceClassification, DistilBertTokenizerFast\n",
2261
+ "\n",
2262
+ "# Update paths based on extracted files\n",
2263
+ "model_path = os.path.join(extract_dir, '/content/distilbert_model/distilbert_model') # Adjust as necessary\n",
2264
+ "tokenizer_path = model_path\n",
2265
+ "\n",
2266
+ "# Load the fine-tuned model and tokenizer\n",
2267
+ "tokenizer = DistilBertTokenizerFast.from_pretrained('distilbert-base-uncased',num_labels=5)\n",
2268
+ "model = DistilBertForSequenceClassification.from_pretrained(model_path)\n",
2269
+ "\n",
2270
+ "# Save the model and tokenizer locally\n",
2271
+ "save_directory = \"/content/saved_model\"\n",
2272
+ "model.save_pretrained(save_directory)\n",
2273
+ "tokenizer.save_pretrained(save_directory)"
2274
+ ],
2275
+ "metadata": {
2276
+ "colab": {
2277
+ "base_uri": "https://localhost:8080/"
2278
+ },
2279
+ "id": "URnEBGuTcSJF",
2280
+ "outputId": "b35987e9-dd22-4402-d64c-2f72b1da723b"
2281
+ },
2282
+ "execution_count": 21,
2283
+ "outputs": [
2284
+ {
2285
+ "output_type": "execute_result",
2286
+ "data": {
2287
+ "text/plain": [
2288
+ "('/content/saved_model/tokenizer_config.json',\n",
2289
+ " '/content/saved_model/special_tokens_map.json',\n",
2290
+ " '/content/saved_model/vocab.txt',\n",
2291
+ " '/content/saved_model/added_tokens.json',\n",
2292
+ " '/content/saved_model/tokenizer.json')"
2293
+ ]
2294
+ },
2295
+ "metadata": {},
2296
+ "execution_count": 21
2297
+ }
2298
+ ]
2299
+ },
2300
+ {
2301
+ "cell_type": "code",
2302
+ "source": [
2303
+ "from huggingface_hub import notebook_login\n",
2304
+ "\n",
2305
+ "notebook_login()"
2306
+ ],
2307
+ "metadata": {
2308
+ "colab": {
2309
+ "base_uri": "https://localhost:8080/",
2310
+ "height": 322,
2311
+ "referenced_widgets": [
2312
+ "bf150c82fae144b5ae8e68ef60cb1362",
2313
+ "74457afd9030429c88920f30c4e98f88",
2314
+ "e45e390909774350b0ac3b4737adb213",
2315
+ "f6eed9fd5ef84247b86608d3bd9f1631",
2316
+ "e3571aa86ea54556a9d68b4e969c607d",
2317
+ "20db7dd5cb464d68b84f159762564e0a",
2318
+ "96ef97e633234c8eac7299049b82c62e",
2319
+ "53ec29ff8a2c424abe71afc8f8f6f277",
2320
+ "e718d48174e84d5dbb6799061dc9967e",
2321
+ "7f556d826c1c4778857774ff4f3945a6",
2322
+ "7f1a19dedb504a7e9d284967387cf3e8",
2323
+ "eac2a8381ced4cac8396075e8ed044d2",
2324
+ "08c9bf6f12ef4a0a9ea5c783d545e351",
2325
+ "209153f3e15e4fd1b5f22a82f9e35c86",
2326
+ "ec9c1e6ab3304072bbe3131060d4b83f",
2327
+ "a62ccedf287c4c09a1e40e0f5db20534",
2328
+ "556278604a654fc4a7d652135896475f",
2329
+ "b425610dd2db4408bc8a7963fbc5005c",
2330
+ "01f7db2bec21412d823b9e896bed9944",
2331
+ "51c8ad594d534240bc1fce04b0e62262",
2332
+ "31bf4a8499914a1aa3985f072e9f2af1",
2333
+ "eec17987f1b04c8d91b09b71d60dab1c",
2334
+ "0be65f47466a464a87a43526f1ce6347",
2335
+ "d44922f68e624371842d4ccf35297d41",
2336
+ "cfe6385fe2224966b8efbfeb72d8fc0a",
2337
+ "691a25c712b84df7aab8f92f9f4e039f",
2338
+ "0bc51f02dc13497e9dceff330367ac5a",
2339
+ "d108192d82f041de8bc81277432b7587",
2340
+ "fe15ed88ba404223b01bea25e7acdba7",
2341
+ "2a20d64ac0e3416db5fa0695b13fd0ad",
2342
+ "d6c45537552b4e77a288d179b5d6bfa9",
2343
+ "c9df87575f3547d9870405a4e9355261",
2344
+ "c9a23bb850c04118809e818caf651f8d",
2345
+ "0e53f9cedd604b1491880c557c3ea861",
2346
+ "69abaed1be64468387462da601d24255",
2347
+ "90b430ae06a34d0da071fec10eb1dab6",
2348
+ "69ea0700b3ae465a878c3c8495d66fdc",
2349
+ "2f582cc2a30e408a9c9080f6327ccea1",
2350
+ "6cc0e9ef290a485196c60431e42fe79a",
2351
+ "e294cb0cbe3441f6a451f4042bbb04ff",
2352
+ "590829e276b54e38af5e99e5592bf070",
2353
+ "e9f690cf7111479caf89a1fc44db44a2",
2354
+ "5c06eee9fc1a41aa8d55b15fb2f82cb1",
2355
+ "ec0204098d19498390d72728d0b4e5c0",
2356
+ "c5f935a728504120aaffb6e3be35c847",
2357
+ "05892a9250e44033a5b9d0c970e3b0fd",
2358
+ "2dddff96378441e19e1ce980a983b462"
2359
+ ]
2360
+ },
2361
+ "id": "cKKNWITHeKvw",
2362
+ "outputId": "0f730216-73f5-4e77-84fd-f6c85d2437de"
2363
+ },
2364
+ "execution_count": 11,
2365
+ "outputs": [
2366
+ {
2367
+ "output_type": "display_data",
2368
+ "data": {
2369
+ "text/plain": [
2370
+ "VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
2371
+ ],
2372
+ "application/vnd.jupyter.widget-view+json": {
2373
+ "version_major": 2,
2374
+ "version_minor": 0,
2375
+ "model_id": "bf150c82fae144b5ae8e68ef60cb1362"
2376
+ }
2377
+ },
2378
+ "metadata": {}
2379
+ }
2380
+ ]
2381
+ },
2382
+ {
2383
+ "cell_type": "code",
2384
+ "source": [
2385
+ "model.push_to_hub(\"MSarah/ComplainClassificationFineTunedBert\")"
2386
+ ],
2387
+ "metadata": {
2388
+ "colab": {
2389
+ "base_uri": "https://localhost:8080/",
2390
+ "height": 121,
2391
+ "referenced_widgets": [
2392
+ "8480bc46e76f40dd8a2291205374dee1",
2393
+ "0cd758ea7ec74be18d77338013752c21",
2394
+ "d087858a025e4f8498168cee68a32170",
2395
+ "926eaafdf8b644e9acc9dbd25aa37b28",
2396
+ "47baa951e3a34a83afb2c0e565383fd5",
2397
+ "620d9af3f3af4590b8ff8a2d41aeffeb",
2398
+ "a3d34389279b4f50ae14bead756a0acc",
2399
+ "72207984e5724a78b78e0b998ac78daa",
2400
+ "93126d1766d44469bfbc2d43dbda4d2d",
2401
+ "29f76315a11a442d8278c4f83a1691a2",
2402
+ "cb9a33a8667548f7b266e32fee83acbb"
2403
+ ]
2404
+ },
2405
+ "id": "6KYsKodme3XG",
2406
+ "outputId": "2749f8fb-4e36-491a-fe29-4abb60a4a75f"
2407
+ },
2408
+ "execution_count": 22,
2409
+ "outputs": [
2410
+ {
2411
+ "output_type": "display_data",
2412
+ "data": {
2413
+ "text/plain": [
2414
+ "model.safetensors: 0%| | 0.00/268M [00:00<?, ?B/s]"
2415
+ ],
2416
+ "application/vnd.jupyter.widget-view+json": {
2417
+ "version_major": 2,
2418
+ "version_minor": 0,
2419
+ "model_id": "8480bc46e76f40dd8a2291205374dee1"
2420
+ }
2421
+ },
2422
+ "metadata": {}
2423
+ },
2424
+ {
2425
+ "output_type": "execute_result",
2426
+ "data": {
2427
+ "text/plain": [
2428
+ "CommitInfo(commit_url='https://huggingface.co/MSarah/ComplainClassificationFineTunedBert/commit/9b8eeb9f3110a502b1c3220e0097f95eb9127b96', commit_message='Upload DistilBertForSequenceClassification', commit_description='', oid='9b8eeb9f3110a502b1c3220e0097f95eb9127b96', pr_url=None, pr_revision=None, pr_num=None)"
2429
+ ],
2430
+ "application/vnd.google.colaboratory.intrinsic+json": {
2431
+ "type": "string"
2432
+ }
2433
+ },
2434
+ "metadata": {},
2435
+ "execution_count": 22
2436
+ }
2437
+ ]
2438
+ },
2439
+ {
2440
+ "cell_type": "code",
2441
+ "source": [
2442
+ "tokenizer.push_to_hub(\"MSarah/ComplainClassificationFineTunedBert\")"
2443
+ ],
2444
+ "metadata": {
2445
+ "colab": {
2446
+ "base_uri": "https://localhost:8080/",
2447
+ "height": 121,
2448
+ "referenced_widgets": [
2449
+ "c3a89a5acaef4f819007a29fdc321a5c",
2450
+ "eb481435226f45dc89be1fc7bae3b556",
2451
+ "1c20d7c954c6438fa4d2626654662922",
2452
+ "3577afd4062847c6978f713f3030ce00",
2453
+ "d6572f7e1e43479c826492bf5750d29f",
2454
+ "aff9eca9038e45c2be90efdf451e9094",
2455
+ "4a9c74e5ecab409d95a4da99ab690a86",
2456
+ "bee01155c8be4a248cee7009125c82f4",
2457
+ "374e231bd8dc467396b018b42696c053",
2458
+ "c2f6987ceceb4cfbaf770407839f92a5",
2459
+ "af312ae01c1d4ce5b4893c3cdd8e03f2"
2460
+ ]
2461
+ },
2462
+ "id": "Q514dHEQhJJv",
2463
+ "outputId": "8f7a2d1a-00b8-4baf-a632-c71815edd09c"
2464
+ },
2465
+ "execution_count": 23,
2466
+ "outputs": [
2467
+ {
2468
+ "output_type": "display_data",
2469
+ "data": {
2470
+ "text/plain": [
2471
+ "README.md: 0%| | 0.00/5.17k [00:00<?, ?B/s]"
2472
+ ],
2473
+ "application/vnd.jupyter.widget-view+json": {
2474
+ "version_major": 2,
2475
+ "version_minor": 0,
2476
+ "model_id": "c3a89a5acaef4f819007a29fdc321a5c"
2477
+ }
2478
+ },
2479
+ "metadata": {}
2480
+ },
2481
+ {
2482
+ "output_type": "execute_result",
2483
+ "data": {
2484
+ "text/plain": [
2485
+ "CommitInfo(commit_url='https://huggingface.co/MSarah/ComplainClassificationFineTunedBert/commit/790b7976b93839b18e675990f7cc6ea042decc5e', commit_message='Upload tokenizer', commit_description='', oid='790b7976b93839b18e675990f7cc6ea042decc5e', pr_url=None, pr_revision=None, pr_num=None)"
2486
+ ],
2487
+ "application/vnd.google.colaboratory.intrinsic+json": {
2488
+ "type": "string"
2489
+ }
2490
+ },
2491
+ "metadata": {},
2492
+ "execution_count": 23
2493
+ }
2494
+ ]
2495
+ },
2496
+ {
2497
+ "cell_type": "code",
2498
+ "source": [
2499
+ "# Install required libraries\n",
2500
+ "!pip install transformers\n",
2501
+ "\n",
2502
+ "# Import necessary libraries\n",
2503
+ "from transformers import AutoModelForSequenceClassification, AutoTokenizer\n",
2504
+ "import torch"
2505
+ ],
2506
+ "metadata": {
2507
+ "id": "6J0sPZrdoxhO"
2508
+ },
2509
+ "execution_count": null,
2510
+ "outputs": []
2511
+ },
2512
+ {
2513
+ "cell_type": "code",
2514
+ "source": [
2515
+ "# Define the model name\n",
2516
+ "model_name = \"MSarah/ComplainClassificationFineTunedBert\"\n",
2517
+ "\n",
2518
+ "# Load the model and tokenizer from the Hugging Face Hub\n",
2519
+ "model = AutoModelForSequenceClassification.from_pretrained(model_name)\n",
2520
+ "tokenizer = AutoTokenizer.from_pretrained(model_name)\n",
2521
+ "\n",
2522
+ "# Define a function to make predictions\n",
2523
+ "def predict(text, model, tokenizer):\n",
2524
+ " # Tokenize the input text\n",
2525
+ " inputs = tokenizer(text, return_tensors=\"pt\", truncation=True, padding=True)\n",
2526
+ "\n",
2527
+ " # Forward pass, get logits\n",
2528
+ " with torch.no_grad():\n",
2529
+ " outputs = model(**inputs)\n",
2530
+ " logits = outputs.logits\n",
2531
+ "\n",
2532
+ " # Get the predicted class\n",
2533
+ " predicted_class = torch.argmax(logits, dim=1).item()\n",
2534
+ "\n",
2535
+ " if predicted_class == 0:\n",
2536
+ " result = 'Account Services'\n",
2537
+ " elif predicted_class == 1:\n",
2538
+ " result ='Others'\n",
2539
+ " elif predicted_class == 2:\n",
2540
+ " result ='Mortgage/Loan'\n",
2541
+ " elif predicted_class == 3:\n",
2542
+ " result ='Credit card or prepaid card'\n",
2543
+ " else:\n",
2544
+ " result = 'Theft/Dispute Reporting'\n",
2545
+ "\n",
2546
+ " return result\n",
2547
+ "\n",
2548
+ "# Sample data to test the model\n",
2549
+ "sample_texts = [\n",
2550
+ " \"My loan is not processed yet\",\n",
2551
+ " \"I want to open an account\",\n",
2552
+ " \"I want to extend the limit of my credit card\",\n",
2553
+ " \"Please share timings of the your branches.\"\n",
2554
+ "]\n",
2555
+ "\n",
2556
+ "# Make predictions on sample data\n",
2557
+ "for text in sample_texts:\n",
2558
+ " predicted_class = predict(text, model, tokenizer)\n",
2559
+ " print(f\"Text: {text}\\nPredicted class: {predicted_class}\\n\")\n"
2560
+ ],
2561
+ "metadata": {
2562
+ "colab": {
2563
+ "base_uri": "https://localhost:8080/"
2564
+ },
2565
+ "id": "3gST8rUOmCjm",
2566
+ "outputId": "3ba74048-cead-4ef2-812f-8eee6b7eaa23"
2567
+ },
2568
+ "execution_count": 27,
2569
+ "outputs": [
2570
+ {
2571
+ "output_type": "stream",
2572
+ "name": "stdout",
2573
+ "text": [
2574
+ "Text: My loan is not processed yet\n",
2575
+ "Predicted class: Mortgage/Loan\n",
2576
+ "\n",
2577
+ "Text: I want to open an account\n",
2578
+ "Predicted class: Account Services\n",
2579
+ "\n",
2580
+ "Text: I want to extend the limit of my credit card\n",
2581
+ "Predicted class: Others\n",
2582
+ "\n",
2583
+ "Text: Please share timings of the your branches.\n",
2584
+ "Predicted class: Account Services\n",
2585
+ "\n"
2586
+ ]
2587
+ }
2588
+ ]
2589
+ }
2590
+ ]
2591
+ }
app.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
2
+
3
+ # Replace with your actual model name from Hugging Face Hub
4
+ model_name = "MSarah/ComplainClassificationFineTunedBert"
5
+
6
+ # Load the model and tokenizer
7
+ model = AutoModelForSequenceClassification.from_pretrained(model_name)
8
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
9
+
10
+ def predict(text):
11
+ """
12
+ Classifies text using the loaded model.
13
+
14
+ Args:
15
+ text (str): The text to be classified.
16
+
17
+ Returns:
18
+ str: The predicted complaint category.
19
+ """
20
+ inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True)
21
+ with torch.no_grad():
22
+ outputs = model(**inputs)
23
+ logits = outputs.logits
24
+ predicted_class = torch.argmax(logits, dim=-1).item()
25
+
26
+ # Map predicted class to category label
27
+ if predicted_class == 0:
28
+ return "Account Services"
29
+ elif predicted_class == 1:
30
+ return "Others"
31
+ elif predicted_class == 2:
32
+ return "Mortgage/Loan"
33
+ elif predicted_class == 3:
34
+ return "Credit card or prepaid card"
35
+ else:
36
+ return "Theft/Dispute Reporting"
37
+
38
+ # Import libraries for Gradio interface (optional)
39
+ import gradio as gr
40
+
41
+ # Define Gradio interface (optional)
42
+ iface = gr.Interface(
43
+ fn=predict,
44
+ inputs="text",
45
+ outputs="text",
46
+ title="Complaint Classification",
47
+ description="Enter text to classify the complaint category"
48
+ )
49
+
50
+ # Launch the interface locally (optional for testing)
51
+ # iface.launch()
complaint_data.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d3c67f134d429683a8f47824805e17fa9cbaddf20d584fb8ff52c50d544f91d
3
+ size 29388273
finetuning_Another_method.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ transformers
2
+ gradio
3
+ torch