Spaces:
Runtime error
Runtime error
aj2614@nyu.edu
commited on
Commit
•
ea16d8c
1
Parent(s):
5cf785f
classify now
Browse files- Pipfile +1 -0
- Pipfile.lock +248 -31
- language_models_project/app.py +1 -1
- language_models_project/main.py +2 -2
Pipfile
CHANGED
@@ -12,6 +12,7 @@ numpy = "*"
|
|
12 |
jupyterlab = "*"
|
13 |
sentencepiece = "*"
|
14 |
protobuf = "==3.20.*"
|
|
|
15 |
|
16 |
[dev-packages]
|
17 |
|
|
|
12 |
jupyterlab = "*"
|
13 |
sentencepiece = "*"
|
14 |
protobuf = "==3.20.*"
|
15 |
+
streamlit = "*"
|
16 |
|
17 |
[dev-packages]
|
18 |
|
Pipfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_meta": {
|
3 |
"hash": {
|
4 |
-
"sha256": "
|
5 |
},
|
6 |
"pipfile-spec": 6,
|
7 |
"requires": {
|
@@ -32,6 +32,14 @@
|
|
32 |
"markers": "python_version >= '3.7'",
|
33 |
"version": "==0.18.0"
|
34 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
"antlr4-python3-runtime": {
|
36 |
"hashes": [
|
37 |
"sha256:f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b"
|
@@ -149,6 +157,14 @@
|
|
149 |
"markers": "python_version >= '3.7'",
|
150 |
"version": "==6.0.0"
|
151 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
"build": {
|
153 |
"hashes": [
|
154 |
"sha256:af266720050a66c893a6096a2f410989eeac74ff9a68ba194b3f6473e8e26171",
|
@@ -425,6 +441,14 @@
|
|
425 |
"markers": "python_version >= '3.8'",
|
426 |
"version": "==3.1.12"
|
427 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
"executing": {
|
429 |
"hashes": [
|
430 |
"sha256:0314a69e37426e3608aada02473b4161d4caf5a4b244d1d0c48072b8fee7bacc",
|
@@ -568,7 +592,7 @@
|
|
568 |
"sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9",
|
569 |
"sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"
|
570 |
],
|
571 |
-
"markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'",
|
572 |
"version": "==0.10.0"
|
573 |
},
|
574 |
"json5": {
|
@@ -1002,34 +1026,36 @@
|
|
1002 |
},
|
1003 |
"pandas": {
|
1004 |
"hashes": [
|
1005 |
-
"sha256:
|
1006 |
-
"sha256:
|
1007 |
-
"sha256:
|
1008 |
-
"sha256:
|
1009 |
-
"sha256:
|
1010 |
-
"sha256:
|
1011 |
-
"sha256:
|
1012 |
-
"sha256:
|
1013 |
-
"sha256:
|
1014 |
-
"sha256:
|
1015 |
-
"sha256:
|
1016 |
-
"sha256:
|
1017 |
-
"sha256:
|
1018 |
-
"sha256:
|
1019 |
-
"sha256:
|
1020 |
-
"sha256:
|
1021 |
-
"sha256:
|
1022 |
-
"sha256:
|
1023 |
-
"sha256:
|
1024 |
-
"sha256:
|
1025 |
-
"sha256:
|
1026 |
-
"sha256:
|
1027 |
-
"sha256:
|
1028 |
-
"sha256:
|
1029 |
-
"sha256:
|
|
|
|
|
1030 |
],
|
1031 |
"index": "pypi",
|
1032 |
-
"version": "==
|
1033 |
},
|
1034 |
"pandocfilters": {
|
1035 |
"hashes": [
|
@@ -1062,6 +1088,78 @@
|
|
1062 |
],
|
1063 |
"version": "==0.7.5"
|
1064 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
"pip": {
|
1066 |
"hashes": [
|
1067 |
"sha256:236bcb61156d76c4b8a05821b988c7b8c35bf0da28a4b614e8d6ab5212c25c6f",
|
@@ -1172,6 +1270,37 @@
|
|
1172 |
],
|
1173 |
"version": "==0.2.2"
|
1174 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1175 |
"pycparser": {
|
1176 |
"hashes": [
|
1177 |
"sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9",
|
@@ -1179,6 +1308,14 @@
|
|
1179 |
],
|
1180 |
"version": "==2.21"
|
1181 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1182 |
"pygments": {
|
1183 |
"hashes": [
|
1184 |
"sha256:b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297",
|
@@ -1187,6 +1324,14 @@
|
|
1187 |
"markers": "python_version >= '3.6'",
|
1188 |
"version": "==2.14.0"
|
1189 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 |
"pyproject-hooks": {
|
1191 |
"hashes": [
|
1192 |
"sha256:283c11acd6b928d2f6a7c73fa0d01cb2bdc5f07c57a2eeb6e83d5e56b97976f8",
|
@@ -1233,7 +1378,7 @@
|
|
1233 |
"sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
|
1234 |
"sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
|
1235 |
],
|
1236 |
-
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
|
1237 |
"version": "==2.8.2"
|
1238 |
},
|
1239 |
"python-json-logger": {
|
@@ -1270,6 +1415,14 @@
|
|
1270 |
],
|
1271 |
"version": "==2023.3"
|
1272 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1273 |
"pyyaml": {
|
1274 |
"hashes": [
|
1275 |
"sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf",
|
@@ -1568,7 +1721,7 @@
|
|
1568 |
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
|
1569 |
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
|
1570 |
],
|
1571 |
-
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
|
1572 |
"version": "==1.16.0"
|
1573 |
},
|
1574 |
"smmap": {
|
@@ -1602,6 +1755,14 @@
|
|
1602 |
],
|
1603 |
"version": "==0.6.2"
|
1604 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1605 |
"sympy": {
|
1606 |
"hashes": [
|
1607 |
"sha256:938f984ee2b1e8eae8a07b884c8b7a1146010040fccddc6539c54f401c8f6fcf",
|
@@ -1683,7 +1844,7 @@
|
|
1683 |
"sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b",
|
1684 |
"sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
|
1685 |
],
|
1686 |
-
"markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'",
|
1687 |
"version": "==0.10.2"
|
1688 |
},
|
1689 |
"tomli": {
|
@@ -1694,6 +1855,14 @@
|
|
1694 |
"markers": "python_version < '3.11'",
|
1695 |
"version": "==2.0.1"
|
1696 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1697 |
"toposort": {
|
1698 |
"hashes": [
|
1699 |
"sha256:bfbb479c53d0a696ea7402601f4e693c97b0367837c8898bc6471adfca37a6bd",
|
@@ -1815,6 +1984,14 @@
|
|
1815 |
"markers": "python_version >= '2'",
|
1816 |
"version": "==2023.3"
|
1817 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1818 |
"uri-template": {
|
1819 |
"hashes": [
|
1820 |
"sha256:934e4d09d108b70eb8a24410af8615294d09d279ce0e7cbcdaef1bd21f932b06",
|
@@ -1830,6 +2007,46 @@
|
|
1830 |
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'",
|
1831 |
"version": "==1.26.15"
|
1832 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1833 |
"wcwidth": {
|
1834 |
"hashes": [
|
1835 |
"sha256:795b138f6875577cd91bba52baf9e445cd5118fd32723b460e30a0af30ea230e",
|
|
|
1 |
{
|
2 |
"_meta": {
|
3 |
"hash": {
|
4 |
+
"sha256": "2d91c9b0600e942c9d16b0ec212948eeead73a24c29630d9221c7f03376b5d8c"
|
5 |
},
|
6 |
"pipfile-spec": 6,
|
7 |
"requires": {
|
|
|
32 |
"markers": "python_version >= '3.7'",
|
33 |
"version": "==0.18.0"
|
34 |
},
|
35 |
+
"altair": {
|
36 |
+
"hashes": [
|
37 |
+
"sha256:39399a267c49b30d102c10411e67ab26374156a84b1aeb9fcd15140429ba49c5",
|
38 |
+
"sha256:8b45ebeaf8557f2d760c5c77b79f02ae12aee7c46c27c06014febab6f849bc87"
|
39 |
+
],
|
40 |
+
"markers": "python_version >= '3.7'",
|
41 |
+
"version": "==4.2.2"
|
42 |
+
},
|
43 |
"antlr4-python3-runtime": {
|
44 |
"hashes": [
|
45 |
"sha256:f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b"
|
|
|
157 |
"markers": "python_version >= '3.7'",
|
158 |
"version": "==6.0.0"
|
159 |
},
|
160 |
+
"blinker": {
|
161 |
+
"hashes": [
|
162 |
+
"sha256:2ddfa223483ce8f24ecd2723e0e27cd4388ef19bef1d76b09a3dae93033db231",
|
163 |
+
"sha256:8fa2dc7c28c15c8ddfd8b3a21834790984c7e4a89b336dc3f45eeb70e0c5a407"
|
164 |
+
],
|
165 |
+
"markers": "python_version >= '3.7'",
|
166 |
+
"version": "==1.6.1"
|
167 |
+
},
|
168 |
"build": {
|
169 |
"hashes": [
|
170 |
"sha256:af266720050a66c893a6096a2f410989eeac74ff9a68ba194b3f6473e8e26171",
|
|
|
441 |
"markers": "python_version >= '3.8'",
|
442 |
"version": "==3.1.12"
|
443 |
},
|
444 |
+
"entrypoints": {
|
445 |
+
"hashes": [
|
446 |
+
"sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4",
|
447 |
+
"sha256:f174b5ff827504fd3cd97cc3f8649f3693f51538c7e4bdf3ef002c8429d42f9f"
|
448 |
+
],
|
449 |
+
"markers": "python_version >= '3.6'",
|
450 |
+
"version": "==0.4"
|
451 |
+
},
|
452 |
"executing": {
|
453 |
"hashes": [
|
454 |
"sha256:0314a69e37426e3608aada02473b4161d4caf5a4b244d1d0c48072b8fee7bacc",
|
|
|
592 |
"sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9",
|
593 |
"sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"
|
594 |
],
|
595 |
+
"markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
596 |
"version": "==0.10.0"
|
597 |
},
|
598 |
"json5": {
|
|
|
1026 |
},
|
1027 |
"pandas": {
|
1028 |
"hashes": [
|
1029 |
+
"sha256:14e45300521902689a81f3f41386dc86f19b8ba8dd5ac5a3c7010ef8d2932813",
|
1030 |
+
"sha256:26d9c71772c7afb9d5046e6e9cf42d83dd147b5cf5bcb9d97252077118543792",
|
1031 |
+
"sha256:3749077d86e3a2f0ed51367f30bf5b82e131cc0f14260c4d3e499186fccc4406",
|
1032 |
+
"sha256:41179ce559943d83a9b4bbacb736b04c928b095b5f25dd2b7389eda08f46f373",
|
1033 |
+
"sha256:478ff646ca42b20376e4ed3fa2e8d7341e8a63105586efe54fa2508ee087f328",
|
1034 |
+
"sha256:50869a35cbb0f2e0cd5ec04b191e7b12ed688874bd05dd777c19b28cbea90996",
|
1035 |
+
"sha256:565fa34a5434d38e9d250af3c12ff931abaf88050551d9fbcdfafca50d62babf",
|
1036 |
+
"sha256:5f2b952406a1588ad4cad5b3f55f520e82e902388a6d5a4a91baa8d38d23c7f6",
|
1037 |
+
"sha256:5fbcb19d6fceb9e946b3e23258757c7b225ba450990d9ed63ccceeb8cae609f7",
|
1038 |
+
"sha256:6973549c01ca91ec96199e940495219c887ea815b2083722821f1d7abfa2b4dc",
|
1039 |
+
"sha256:74a3fd7e5a7ec052f183273dc7b0acd3a863edf7520f5d3a1765c04ffdb3b0b1",
|
1040 |
+
"sha256:7a0a56cef15fd1586726dace5616db75ebcfec9179a3a55e78f72c5639fa2a23",
|
1041 |
+
"sha256:7cec0bee9f294e5de5bbfc14d0573f65526071029d036b753ee6507d2a21480a",
|
1042 |
+
"sha256:87bd9c03da1ac870a6d2c8902a0e1fd4267ca00f13bc494c9e5a9020920e1d51",
|
1043 |
+
"sha256:972d8a45395f2a2d26733eb8d0f629b2f90bebe8e8eddbb8829b180c09639572",
|
1044 |
+
"sha256:9842b6f4b8479e41968eced654487258ed81df7d1c9b7b870ceea24ed9459b31",
|
1045 |
+
"sha256:9f69c4029613de47816b1bb30ff5ac778686688751a5e9c99ad8c7031f6508e5",
|
1046 |
+
"sha256:a50d9a4336a9621cab7b8eb3fb11adb82de58f9b91d84c2cd526576b881a0c5a",
|
1047 |
+
"sha256:bc4c368f42b551bf72fac35c5128963a171b40dce866fb066540eeaf46faa003",
|
1048 |
+
"sha256:c39a8da13cede5adcd3be1182883aea1c925476f4e84b2807a46e2775306305d",
|
1049 |
+
"sha256:c3ac844a0fe00bfaeb2c9b51ab1424e5c8744f89860b138434a363b1f620f354",
|
1050 |
+
"sha256:c4c00e0b0597c8e4f59e8d461f797e5d70b4d025880516a8261b2817c47759ee",
|
1051 |
+
"sha256:c74a62747864ed568f5a82a49a23a8d7fe171d0c69038b38cedf0976831296fa",
|
1052 |
+
"sha256:dd05f7783b3274aa206a1af06f0ceed3f9b412cf665b7247eacd83be41cf7bf0",
|
1053 |
+
"sha256:dfd681c5dc216037e0b0a2c821f5ed99ba9f03ebcf119c7dac0e9a7b960b9ec9",
|
1054 |
+
"sha256:e474390e60ed609cec869b0da796ad94f420bb057d86784191eefc62b65819ae",
|
1055 |
+
"sha256:f76d097d12c82a535fda9dfe5e8dd4127952b45fea9b0276cb30cca5ea313fbc"
|
1056 |
],
|
1057 |
"index": "pypi",
|
1058 |
+
"version": "==1.5.3"
|
1059 |
},
|
1060 |
"pandocfilters": {
|
1061 |
"hashes": [
|
|
|
1088 |
],
|
1089 |
"version": "==0.7.5"
|
1090 |
},
|
1091 |
+
"pillow": {
|
1092 |
+
"hashes": [
|
1093 |
+
"sha256:07999f5834bdc404c442146942a2ecadd1cb6292f5229f4ed3b31e0a108746b1",
|
1094 |
+
"sha256:0852ddb76d85f127c135b6dd1f0bb88dbb9ee990d2cd9aa9e28526c93e794fba",
|
1095 |
+
"sha256:1781a624c229cb35a2ac31cc4a77e28cafc8900733a864870c49bfeedacd106a",
|
1096 |
+
"sha256:1e7723bd90ef94eda669a3c2c19d549874dd5badaeefabefd26053304abe5799",
|
1097 |
+
"sha256:229e2c79c00e85989a34b5981a2b67aa079fd08c903f0aaead522a1d68d79e51",
|
1098 |
+
"sha256:22baf0c3cf0c7f26e82d6e1adf118027afb325e703922c8dfc1d5d0156bb2eeb",
|
1099 |
+
"sha256:252a03f1bdddce077eff2354c3861bf437c892fb1832f75ce813ee94347aa9b5",
|
1100 |
+
"sha256:2dfaaf10b6172697b9bceb9a3bd7b951819d1ca339a5ef294d1f1ac6d7f63270",
|
1101 |
+
"sha256:322724c0032af6692456cd6ed554bb85f8149214d97398bb80613b04e33769f6",
|
1102 |
+
"sha256:35f6e77122a0c0762268216315bf239cf52b88865bba522999dc38f1c52b9b47",
|
1103 |
+
"sha256:375f6e5ee9620a271acb6820b3d1e94ffa8e741c0601db4c0c4d3cb0a9c224bf",
|
1104 |
+
"sha256:3ded42b9ad70e5f1754fb7c2e2d6465a9c842e41d178f262e08b8c85ed8a1d8e",
|
1105 |
+
"sha256:432b975c009cf649420615388561c0ce7cc31ce9b2e374db659ee4f7d57a1f8b",
|
1106 |
+
"sha256:482877592e927fd263028c105b36272398e3e1be3269efda09f6ba21fd83ec66",
|
1107 |
+
"sha256:489f8389261e5ed43ac8ff7b453162af39c3e8abd730af8363587ba64bb2e865",
|
1108 |
+
"sha256:54f7102ad31a3de5666827526e248c3530b3a33539dbda27c6843d19d72644ec",
|
1109 |
+
"sha256:560737e70cb9c6255d6dcba3de6578a9e2ec4b573659943a5e7e4af13f298f5c",
|
1110 |
+
"sha256:5671583eab84af046a397d6d0ba25343c00cd50bce03787948e0fff01d4fd9b1",
|
1111 |
+
"sha256:5ba1b81ee69573fe7124881762bb4cd2e4b6ed9dd28c9c60a632902fe8db8b38",
|
1112 |
+
"sha256:5d4ebf8e1db4441a55c509c4baa7a0587a0210f7cd25fcfe74dbbce7a4bd1906",
|
1113 |
+
"sha256:60037a8db8750e474af7ffc9faa9b5859e6c6d0a50e55c45576bf28be7419705",
|
1114 |
+
"sha256:608488bdcbdb4ba7837461442b90ea6f3079397ddc968c31265c1e056964f1ef",
|
1115 |
+
"sha256:6608ff3bf781eee0cd14d0901a2b9cc3d3834516532e3bd673a0a204dc8615fc",
|
1116 |
+
"sha256:662da1f3f89a302cc22faa9f14a262c2e3951f9dbc9617609a47521c69dd9f8f",
|
1117 |
+
"sha256:7002d0797a3e4193c7cdee3198d7c14f92c0836d6b4a3f3046a64bd1ce8df2bf",
|
1118 |
+
"sha256:763782b2e03e45e2c77d7779875f4432e25121ef002a41829d8868700d119392",
|
1119 |
+
"sha256:77165c4a5e7d5a284f10a6efaa39a0ae8ba839da344f20b111d62cc932fa4e5d",
|
1120 |
+
"sha256:7c9af5a3b406a50e313467e3565fc99929717f780164fe6fbb7704edba0cebbe",
|
1121 |
+
"sha256:7ec6f6ce99dab90b52da21cf0dc519e21095e332ff3b399a357c187b1a5eee32",
|
1122 |
+
"sha256:833b86a98e0ede388fa29363159c9b1a294b0905b5128baf01db683672f230f5",
|
1123 |
+
"sha256:84a6f19ce086c1bf894644b43cd129702f781ba5751ca8572f08aa40ef0ab7b7",
|
1124 |
+
"sha256:8507eda3cd0608a1f94f58c64817e83ec12fa93a9436938b191b80d9e4c0fc44",
|
1125 |
+
"sha256:85ec677246533e27770b0de5cf0f9d6e4ec0c212a1f89dfc941b64b21226009d",
|
1126 |
+
"sha256:8aca1152d93dcc27dc55395604dcfc55bed5f25ef4c98716a928bacba90d33a3",
|
1127 |
+
"sha256:8d935f924bbab8f0a9a28404422da8af4904e36d5c33fc6f677e4c4485515625",
|
1128 |
+
"sha256:8f36397bf3f7d7c6a3abdea815ecf6fd14e7fcd4418ab24bae01008d8d8ca15e",
|
1129 |
+
"sha256:91ec6fe47b5eb5a9968c79ad9ed78c342b1f97a091677ba0e012701add857829",
|
1130 |
+
"sha256:965e4a05ef364e7b973dd17fc765f42233415974d773e82144c9bbaaaea5d089",
|
1131 |
+
"sha256:96e88745a55b88a7c64fa49bceff363a1a27d9a64e04019c2281049444a571e3",
|
1132 |
+
"sha256:99eb6cafb6ba90e436684e08dad8be1637efb71c4f2180ee6b8f940739406e78",
|
1133 |
+
"sha256:9adf58f5d64e474bed00d69bcd86ec4bcaa4123bfa70a65ce72e424bfb88ed96",
|
1134 |
+
"sha256:9b1af95c3a967bf1da94f253e56b6286b50af23392a886720f563c547e48e964",
|
1135 |
+
"sha256:a0aa9417994d91301056f3d0038af1199eb7adc86e646a36b9e050b06f526597",
|
1136 |
+
"sha256:a0f9bb6c80e6efcde93ffc51256d5cfb2155ff8f78292f074f60f9e70b942d99",
|
1137 |
+
"sha256:a127ae76092974abfbfa38ca2d12cbeddcdeac0fb71f9627cc1135bedaf9d51a",
|
1138 |
+
"sha256:aaf305d6d40bd9632198c766fb64f0c1a83ca5b667f16c1e79e1661ab5060140",
|
1139 |
+
"sha256:aca1c196f407ec7cf04dcbb15d19a43c507a81f7ffc45b690899d6a76ac9fda7",
|
1140 |
+
"sha256:ace6ca218308447b9077c14ea4ef381ba0b67ee78d64046b3f19cf4e1139ad16",
|
1141 |
+
"sha256:b416f03d37d27290cb93597335a2f85ed446731200705b22bb927405320de903",
|
1142 |
+
"sha256:bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1",
|
1143 |
+
"sha256:c1170d6b195555644f0616fd6ed929dfcf6333b8675fcca044ae5ab110ded296",
|
1144 |
+
"sha256:c380b27d041209b849ed246b111b7c166ba36d7933ec6e41175fd15ab9eb1572",
|
1145 |
+
"sha256:c446d2245ba29820d405315083d55299a796695d747efceb5717a8b450324115",
|
1146 |
+
"sha256:c830a02caeb789633863b466b9de10c015bded434deb3ec87c768e53752ad22a",
|
1147 |
+
"sha256:cb841572862f629b99725ebaec3287fc6d275be9b14443ea746c1dd325053cbd",
|
1148 |
+
"sha256:cfa4561277f677ecf651e2b22dc43e8f5368b74a25a8f7d1d4a3a243e573f2d4",
|
1149 |
+
"sha256:cfcc2c53c06f2ccb8976fb5c71d448bdd0a07d26d8e07e321c103416444c7ad1",
|
1150 |
+
"sha256:d3c6b54e304c60c4181da1c9dadf83e4a54fd266a99c70ba646a9baa626819eb",
|
1151 |
+
"sha256:d3d403753c9d5adc04d4694d35cf0391f0f3d57c8e0030aac09d7678fa8030aa",
|
1152 |
+
"sha256:d9c206c29b46cfd343ea7cdfe1232443072bbb270d6a46f59c259460db76779a",
|
1153 |
+
"sha256:e49eb4e95ff6fd7c0c402508894b1ef0e01b99a44320ba7d8ecbabefddcc5569",
|
1154 |
+
"sha256:f8286396b351785801a976b1e85ea88e937712ee2c3ac653710a4a57a8da5d9c",
|
1155 |
+
"sha256:f8fc330c3370a81bbf3f88557097d1ea26cd8b019d6433aa59f71195f5ddebbf",
|
1156 |
+
"sha256:fbd359831c1657d69bb81f0db962905ee05e5e9451913b18b831febfe0519082",
|
1157 |
+
"sha256:fe7e1c262d3392afcf5071df9afa574544f28eac825284596ac6db56e6d11062",
|
1158 |
+
"sha256:fed1e1cf6a42577953abbe8e6cf2fe2f566daebde7c34724ec8803c4c0cda579"
|
1159 |
+
],
|
1160 |
+
"markers": "python_version >= '3.7'",
|
1161 |
+
"version": "==9.5.0"
|
1162 |
+
},
|
1163 |
"pip": {
|
1164 |
"hashes": [
|
1165 |
"sha256:236bcb61156d76c4b8a05821b988c7b8c35bf0da28a4b614e8d6ab5212c25c6f",
|
|
|
1270 |
],
|
1271 |
"version": "==0.2.2"
|
1272 |
},
|
1273 |
+
"pyarrow": {
|
1274 |
+
"hashes": [
|
1275 |
+
"sha256:1cbcfcbb0e74b4d94f0b7dde447b835a01bc1d16510edb8bb7d6224b9bf5bafc",
|
1276 |
+
"sha256:25aa11c443b934078bfd60ed63e4e2d42461682b5ac10f67275ea21e60e6042c",
|
1277 |
+
"sha256:2d53ba72917fdb71e3584ffc23ee4fcc487218f8ff29dd6df3a34c5c48fe8c06",
|
1278 |
+
"sha256:2d942c690ff24a08b07cb3df818f542a90e4d359381fbff71b8f2aea5bf58841",
|
1279 |
+
"sha256:2f51dc7ca940fdf17893227edb46b6784d37522ce08d21afc56466898cb213b2",
|
1280 |
+
"sha256:362a7c881b32dc6b0eccf83411a97acba2774c10edcec715ccaab5ebf3bb0835",
|
1281 |
+
"sha256:3e99be85973592051e46412accea31828da324531a060bd4585046a74ba45854",
|
1282 |
+
"sha256:40bb42afa1053c35c749befbe72f6429b7b5f45710e85059cdd534553ebcf4f2",
|
1283 |
+
"sha256:410624da0708c37e6a27eba321a72f29d277091c8f8d23f72c92bada4092eb5e",
|
1284 |
+
"sha256:41a1451dd895c0b2964b83d91019e46f15b5564c7ecd5dcb812dadd3f05acc97",
|
1285 |
+
"sha256:5461c57dbdb211a632a48facb9b39bbeb8a7905ec95d768078525283caef5f6d",
|
1286 |
+
"sha256:69309be84dcc36422574d19c7d3a30a7ea43804f12552356d1ab2a82a713c418",
|
1287 |
+
"sha256:7c28b5f248e08dea3b3e0c828b91945f431f4202f1a9fe84d1012a761324e1ba",
|
1288 |
+
"sha256:8f40be0d7381112a398b93c45a7e69f60261e7b0269cc324e9f739ce272f4f70",
|
1289 |
+
"sha256:a37bc81f6c9435da3c9c1e767324ac3064ffbe110c4e460660c43e144be4ed85",
|
1290 |
+
"sha256:aaee8f79d2a120bf3e032d6d64ad20b3af6f56241b0ffc38d201aebfee879d00",
|
1291 |
+
"sha256:ad42bb24fc44c48f74f0d8c72a9af16ba9a01a2ccda5739a517aa860fa7e3d56",
|
1292 |
+
"sha256:ad7c53def8dbbc810282ad308cc46a523ec81e653e60a91c609c2233ae407689",
|
1293 |
+
"sha256:becc2344be80e5dce4e1b80b7c650d2fc2061b9eb339045035a1baa34d5b8f1c",
|
1294 |
+
"sha256:caad867121f182d0d3e1a0d36f197df604655d0b466f1bc9bafa903aa95083e4",
|
1295 |
+
"sha256:ccbf29a0dadfcdd97632b4f7cca20a966bb552853ba254e874c66934931b9841",
|
1296 |
+
"sha256:da93340fbf6f4e2a62815064383605b7ffa3e9eeb320ec839995b1660d69f89b",
|
1297 |
+
"sha256:e217d001e6389b20a6759392a5ec49d670757af80101ee6b5f2c8ff0172e02ca",
|
1298 |
+
"sha256:f010ce497ca1b0f17a8243df3048055c0d18dcadbcc70895d5baf8921f753de5",
|
1299 |
+
"sha256:f12932e5a6feb5c58192209af1d2607d488cb1d404fbc038ac12ada60327fa34"
|
1300 |
+
],
|
1301 |
+
"markers": "python_version >= '3.7'",
|
1302 |
+
"version": "==11.0.0"
|
1303 |
+
},
|
1304 |
"pycparser": {
|
1305 |
"hashes": [
|
1306 |
"sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9",
|
|
|
1308 |
],
|
1309 |
"version": "==2.21"
|
1310 |
},
|
1311 |
+
"pydeck": {
|
1312 |
+
"hashes": [
|
1313 |
+
"sha256:07edde833f7cfcef6749124351195aa7dcd24663d4909fd7898dbd0b6fbc01ec",
|
1314 |
+
"sha256:a8fa7757c6f24bba033af39db3147cb020eef44012ba7e60d954de187f9ed4d5"
|
1315 |
+
],
|
1316 |
+
"markers": "python_version >= '3.7'",
|
1317 |
+
"version": "==0.8.0"
|
1318 |
+
},
|
1319 |
"pygments": {
|
1320 |
"hashes": [
|
1321 |
"sha256:b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297",
|
|
|
1324 |
"markers": "python_version >= '3.6'",
|
1325 |
"version": "==2.14.0"
|
1326 |
},
|
1327 |
+
"pympler": {
|
1328 |
+
"hashes": [
|
1329 |
+
"sha256:993f1a3599ca3f4fcd7160c7545ad06310c9e12f70174ae7ae8d4e25f6c5d3fa",
|
1330 |
+
"sha256:d260dda9ae781e1eab6ea15bacb84015849833ba5555f141d2d9b7b7473b307d"
|
1331 |
+
],
|
1332 |
+
"markers": "python_version >= '3.6'",
|
1333 |
+
"version": "==1.0.1"
|
1334 |
+
},
|
1335 |
"pyproject-hooks": {
|
1336 |
"hashes": [
|
1337 |
"sha256:283c11acd6b928d2f6a7c73fa0d01cb2bdc5f07c57a2eeb6e83d5e56b97976f8",
|
|
|
1378 |
"sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
|
1379 |
"sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
|
1380 |
],
|
1381 |
+
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
1382 |
"version": "==2.8.2"
|
1383 |
},
|
1384 |
"python-json-logger": {
|
|
|
1415 |
],
|
1416 |
"version": "==2023.3"
|
1417 |
},
|
1418 |
+
"pytz-deprecation-shim": {
|
1419 |
+
"hashes": [
|
1420 |
+
"sha256:8314c9692a636c8eb3bda879b9f119e350e93223ae83e70e80c31675a0fdc1a6",
|
1421 |
+
"sha256:af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"
|
1422 |
+
],
|
1423 |
+
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'",
|
1424 |
+
"version": "==0.1.0.post0"
|
1425 |
+
},
|
1426 |
"pyyaml": {
|
1427 |
"hashes": [
|
1428 |
"sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf",
|
|
|
1721 |
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
|
1722 |
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
|
1723 |
],
|
1724 |
+
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
1725 |
"version": "==1.16.0"
|
1726 |
},
|
1727 |
"smmap": {
|
|
|
1755 |
],
|
1756 |
"version": "==0.6.2"
|
1757 |
},
|
1758 |
+
"streamlit": {
|
1759 |
+
"hashes": [
|
1760 |
+
"sha256:05862598952a9126e16652caa5bc88eeeea7b2773af252e2daccf1c84ceaaef4",
|
1761 |
+
"sha256:c72d9639508679c5e411d1f886d213777759501d01975285c049dc30db463c1a"
|
1762 |
+
],
|
1763 |
+
"index": "pypi",
|
1764 |
+
"version": "==1.21.0"
|
1765 |
+
},
|
1766 |
"sympy": {
|
1767 |
"hashes": [
|
1768 |
"sha256:938f984ee2b1e8eae8a07b884c8b7a1146010040fccddc6539c54f401c8f6fcf",
|
|
|
1844 |
"sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b",
|
1845 |
"sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
|
1846 |
],
|
1847 |
+
"markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'",
|
1848 |
"version": "==0.10.2"
|
1849 |
},
|
1850 |
"tomli": {
|
|
|
1855 |
"markers": "python_version < '3.11'",
|
1856 |
"version": "==2.0.1"
|
1857 |
},
|
1858 |
+
"toolz": {
|
1859 |
+
"hashes": [
|
1860 |
+
"sha256:2059bd4148deb1884bb0eb770a3cde70e7f954cfbbdc2285f1f2de01fd21eb6f",
|
1861 |
+
"sha256:88c570861c440ee3f2f6037c4654613228ff40c93a6c25e0eba70d17282c6194"
|
1862 |
+
],
|
1863 |
+
"markers": "python_version >= '3.5'",
|
1864 |
+
"version": "==0.12.0"
|
1865 |
+
},
|
1866 |
"toposort": {
|
1867 |
"hashes": [
|
1868 |
"sha256:bfbb479c53d0a696ea7402601f4e693c97b0367837c8898bc6471adfca37a6bd",
|
|
|
1984 |
"markers": "python_version >= '2'",
|
1985 |
"version": "==2023.3"
|
1986 |
},
|
1987 |
+
"tzlocal": {
|
1988 |
+
"hashes": [
|
1989 |
+
"sha256:3f21d09e1b2aa9f2dacca12da240ca37de3ba5237a93addfd6d593afe9073355",
|
1990 |
+
"sha256:b44c4388f3d34f25862cfbb387578a4d70fec417649da694a132f628a23367e2"
|
1991 |
+
],
|
1992 |
+
"markers": "python_version >= '3.7'",
|
1993 |
+
"version": "==4.3"
|
1994 |
+
},
|
1995 |
"uri-template": {
|
1996 |
"hashes": [
|
1997 |
"sha256:934e4d09d108b70eb8a24410af8615294d09d279ce0e7cbcdaef1bd21f932b06",
|
|
|
2007 |
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'",
|
2008 |
"version": "==1.26.15"
|
2009 |
},
|
2010 |
+
"validators": {
|
2011 |
+
"hashes": [
|
2012 |
+
"sha256:24148ce4e64100a2d5e267233e23e7afeb55316b47d30faae7eb6e7292bc226a"
|
2013 |
+
],
|
2014 |
+
"markers": "python_version >= '3.4'",
|
2015 |
+
"version": "==0.20.0"
|
2016 |
+
},
|
2017 |
+
"watchdog": {
|
2018 |
+
"hashes": [
|
2019 |
+
"sha256:0e06ab8858a76e1219e68c7573dfeba9dd1c0219476c5a44d5333b01d7e1743a",
|
2020 |
+
"sha256:13bbbb462ee42ec3c5723e1205be8ced776f05b100e4737518c67c8325cf6100",
|
2021 |
+
"sha256:233b5817932685d39a7896b1090353fc8efc1ef99c9c054e46c8002561252fb8",
|
2022 |
+
"sha256:25f70b4aa53bd743729c7475d7ec41093a580528b100e9a8c5b5efe8899592fc",
|
2023 |
+
"sha256:2b57a1e730af3156d13b7fdddfc23dea6487fceca29fc75c5a868beed29177ae",
|
2024 |
+
"sha256:336adfc6f5cc4e037d52db31194f7581ff744b67382eb6021c868322e32eef41",
|
2025 |
+
"sha256:3aa7f6a12e831ddfe78cdd4f8996af9cf334fd6346531b16cec61c3b3c0d8da0",
|
2026 |
+
"sha256:3ed7c71a9dccfe838c2f0b6314ed0d9b22e77d268c67e015450a29036a81f60f",
|
2027 |
+
"sha256:4c9956d27be0bb08fc5f30d9d0179a855436e655f046d288e2bcc11adfae893c",
|
2028 |
+
"sha256:4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9",
|
2029 |
+
"sha256:4f94069eb16657d2c6faada4624c39464f65c05606af50bb7902e036e3219be3",
|
2030 |
+
"sha256:5113334cf8cf0ac8cd45e1f8309a603291b614191c9add34d33075727a967709",
|
2031 |
+
"sha256:51f90f73b4697bac9c9a78394c3acbbd331ccd3655c11be1a15ae6fe289a8c83",
|
2032 |
+
"sha256:5d9f3a10e02d7371cd929b5d8f11e87d4bad890212ed3901f9b4d68767bee759",
|
2033 |
+
"sha256:7ade88d0d778b1b222adebcc0927428f883db07017618a5e684fd03b83342bd9",
|
2034 |
+
"sha256:7c5f84b5194c24dd573fa6472685b2a27cc5a17fe5f7b6fd40345378ca6812e3",
|
2035 |
+
"sha256:7e447d172af52ad204d19982739aa2346245cc5ba6f579d16dac4bfec226d2e7",
|
2036 |
+
"sha256:8ae9cda41fa114e28faf86cb137d751a17ffd0316d1c34ccf2235e8a84365c7f",
|
2037 |
+
"sha256:8f3ceecd20d71067c7fd4c9e832d4e22584318983cabc013dbf3f70ea95de346",
|
2038 |
+
"sha256:9fac43a7466eb73e64a9940ac9ed6369baa39b3bf221ae23493a9ec4d0022674",
|
2039 |
+
"sha256:a70a8dcde91be523c35b2bf96196edc5730edb347e374c7de7cd20c43ed95397",
|
2040 |
+
"sha256:adfdeab2da79ea2f76f87eb42a3ab1966a5313e5a69a0213a3cc06ef692b0e96",
|
2041 |
+
"sha256:ba07e92756c97e3aca0912b5cbc4e5ad802f4557212788e72a72a47ff376950d",
|
2042 |
+
"sha256:c07253088265c363d1ddf4b3cdb808d59a0468ecd017770ed716991620b8f77a",
|
2043 |
+
"sha256:c9d8c8ec7efb887333cf71e328e39cffbf771d8f8f95d308ea4125bf5f90ba64",
|
2044 |
+
"sha256:d00e6be486affb5781468457b21a6cbe848c33ef43f9ea4a73b4882e5f188a44",
|
2045 |
+
"sha256:d429c2430c93b7903914e4db9a966c7f2b068dd2ebdd2fa9b9ce094c7d459f33"
|
2046 |
+
],
|
2047 |
+
"markers": "platform_system != 'Darwin'",
|
2048 |
+
"version": "==3.0.0"
|
2049 |
+
},
|
2050 |
"wcwidth": {
|
2051 |
"hashes": [
|
2052 |
"sha256:795b138f6875577cd91bba52baf9e445cd5118fd32723b460e30a0af30ea230e",
|
language_models_project/app.py
CHANGED
@@ -17,7 +17,7 @@ input_sentences = st.text_area("Sentences", value="", height=200)
|
|
17 |
data = input_sentences.split('\n')
|
18 |
|
19 |
for i in data:
|
20 |
-
st.write(f"{i} :: Classification -
|
21 |
|
22 |
|
23 |
st.markdown("Link to the app - [image-to-text-app on 🤗 Spaces](https://huggingface.co/spaces/Amrrs/image-to-text-app)")
|
|
|
17 |
data = input_sentences.split('\n')
|
18 |
|
19 |
for i in data:
|
20 |
+
st.write(f"{i} :: Classification - {classify(i)}")
|
21 |
|
22 |
|
23 |
st.markdown("Link to the app - [image-to-text-app on 🤗 Spaces](https://huggingface.co/spaces/Amrrs/image-to-text-app)")
|
language_models_project/main.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from transformers import pipeline
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
|
4 |
-
def classify():
|
5 |
tokenizer = AutoTokenizer.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
|
6 |
model = AutoModelForSequenceClassification.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
|
7 |
sentiment_pipeline = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
|
8 |
-
return sentiment_pipeline
|
|
|
1 |
from transformers import pipeline
|
2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
3 |
|
4 |
+
def classify(*args, **kwargs):
|
5 |
tokenizer = AutoTokenizer.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
|
6 |
model = AutoModelForSequenceClassification.from_pretrained("finiteautomata/bertweet-base-sentiment-analysis")
|
7 |
sentiment_pipeline = pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
|
8 |
+
return sentiment_pipeline(*args, **kwargs)
|