aya1202 commited on
Commit
e9a538f
1 Parent(s): 0c0a3e6
Files changed (3) hide show
  1. app.py +1 -1
  2. requirments.txt +2 -438
  3. saved_model/config.json +3 -0
app.py CHANGED
@@ -29,7 +29,7 @@ dict_category_answer = {
29
 
30
  def QA(text):
31
  MODEL_NAME = 'cl-tohoku/bert-base-japanese-whole-word-masking'
32
- bert_sc = BertForSequenceClassification.from_pretrained("/saved_model")
33
 
34
  tokenizer = BertJapaneseTokenizer.from_pretrained(
35
  MODEL_NAME,
 
29
 
30
  def QA(text):
31
  MODEL_NAME = 'cl-tohoku/bert-base-japanese-whole-word-masking'
32
+ bert_sc = BertForSequenceClassification.from_pretrained("./saved_model")
33
 
34
  tokenizer = BertJapaneseTokenizer.from_pretrained(
35
  MODEL_NAME,
requirments.txt CHANGED
@@ -1,441 +1,5 @@
1
- absl-py==1.2.0
2
- aeppl==0.0.33
3
- aesara==2.7.9
4
- aiohttp==3.8.1
5
- aiosignal==1.2.0
6
- alabaster==0.7.12
7
- albumentations==1.2.1
8
- altair==4.2.0
9
- analytics-python==1.4.0
10
- anyio==3.6.1
11
- appdirs==1.4.4
12
- arviz==0.12.1
13
- astor==0.8.1
14
- astropy==4.3.1
15
- astunparse==1.6.3
16
- async-timeout==4.0.2
17
- asynctest==0.13.0
18
- atari-py==0.2.9
19
- atomicwrites==1.4.1
20
- attrs==22.1.0
21
- audioread==3.0.0
22
- autograd==1.4
23
- Babel==2.10.3
24
- backcall==0.2.0
25
- backoff==1.10.0
26
- bcrypt==4.0.0
27
- beautifulsoup4==4.6.3
28
- bleach==5.0.1
29
- blis==0.7.8
30
- bokeh==2.3.3
31
- branca==0.5.0
32
- bs4==0.0.1
33
- CacheControl==0.12.11
34
- cached-property==1.5.2
35
- cachetools==4.2.4
36
- catalogue==2.0.8
37
- certifi==2022.6.15
38
- cffi==1.15.1
39
- cftime==1.6.1
40
- chardet==3.0.4
41
- charset-normalizer==2.1.1
42
- click==7.1.2
43
- clikit==0.6.2
44
- cloudpickle==1.5.0
45
- cmake==3.22.6
46
- cmdstanpy==1.0.7
47
- colorcet==3.0.0
48
- colorlover==0.3.0
49
- community==1.0.0b1
50
- cons==0.4.5
51
- contextlib2==0.5.5
52
- convertdate==2.4.0
53
- crashtest==0.3.1
54
- crcmod==1.7
55
- cryptography==38.0.1
56
- cufflinks==0.17.3
57
- cupy-cuda111==9.4.0
58
- cvxopt==1.3.0
59
- cvxpy==1.2.1
60
- cycler==0.11.0
61
- cymem==2.0.6
62
- Cython==0.29.32
63
- daft==0.0.4
64
- dask==2022.2.0
65
- datascience==0.17.5
66
- debugpy==1.0.0
67
- decorator==4.4.2
68
- defusedxml==0.7.1
69
- descartes==1.1.0
70
- dill==0.3.5.1
71
- distributed==2022.2.0
72
- dlib==19.24.0
73
- dm-tree==0.1.7
74
- docutils==0.17.1
75
- dopamine-rl==1.0.5
76
- earthengine-api==0.1.323
77
- easydict==1.9
78
- ecos==2.0.10
79
- editdistance==0.5.3
80
- en-core-web-sm==3.4.0
81
- entrypoints==0.4
82
- ephem==4.1.3
83
- et-xmlfile==1.1.0
84
- etils==0.7.1
85
- etuples==0.3.8
86
- fa2==0.3.5
87
- fastai==2.7.9
88
- fastapi==0.85.0
89
- fastcore==1.5.25
90
- fastdownload==0.0.7
91
- fastdtw==0.3.4
92
- fastjsonschema==2.16.1
93
- fastprogress==1.0.3
94
- fastrlock==0.8
95
- feather-format==0.4.1
96
- ffmpy==0.3.0
97
- filelock==3.8.0
98
- firebase-admin==4.4.0
99
- fix-yahoo-finance==0.0.22
100
- Flask==1.1.4
101
- flatbuffers==2.0.7
102
- folium==0.12.1.post1
103
- frozenlist==1.3.1
104
- fsspec==2022.8.2
105
- fugashi==1.2.0
106
- future==0.16.0
107
- gast==0.5.3
108
- GDAL==2.2.2
109
- gdown==4.4.0
110
- gensim==3.6.0
111
- geographiclib==1.52
112
- geopy==1.17.0
113
- gin-config==0.5.0
114
- glob2==0.7
115
- google==2.0.3
116
- google-api-core==1.31.6
117
- google-api-python-client==1.12.11
118
- google-auth==1.35.0
119
- google-auth-httplib2==0.0.4
120
- google-auth-oauthlib==0.4.6
121
- google-cloud-bigquery==1.21.0
122
- google-cloud-bigquery-storage==1.1.2
123
- google-cloud-core==1.0.3
124
- google-cloud-datastore==1.8.0
125
- google-cloud-firestore==1.7.0
126
- google-cloud-language==1.2.0
127
- google-cloud-storage==1.18.1
128
- google-cloud-translate==1.5.0
129
- google-colab==1.0.0
130
- google-pasta==0.2.0
131
- google-resumable-media==0.4.1
132
- googleapis-common-protos==1.56.4
133
- googledrivedownloader==0.4
134
- gradio==3.3.1
135
- graphviz==0.10.1
136
- greenlet==1.1.3
137
- grpcio==1.48.1
138
- gspread==3.4.2
139
- gspread-dataframe==3.0.8
140
- gym==0.25.2
141
- gym-notices==0.0.8
142
- h11==0.12.0
143
- h5py==3.1.0
144
- HeapDict==1.0.1
145
- hijri-converter==2.2.4
146
- holidays==0.15
147
- holoviews==1.14.9
148
- html5lib==1.0.1
149
- httpcore==0.15.0
150
- httpimport==0.5.18
151
- httplib2==0.17.4
152
- httplib2shim==0.0.3
153
- httpstan==4.6.1
154
- httpx==0.23.0
155
- huggingface-hub==0.9.1
156
- humanize==0.5.1
157
- hyperopt==0.1.2
158
- idna==2.10
159
- imageio==2.9.0
160
- imagesize==1.4.1
161
- imbalanced-learn==0.8.1
162
- imblearn==0.0
163
- imgaug==0.4.0
164
- importlib-metadata==4.12.0
165
- importlib-resources==5.9.0
166
- imutils==0.5.4
167
- inflect==2.1.0
168
- intel-openmp==2022.1.0
169
- intervaltree==2.1.0
170
  ipadic==1.0.0
171
- ipykernel==5.3.4
172
- ipython==7.9.0
173
- ipython-genutils==0.2.0
174
- ipython-sql==0.3.9
175
- ipywidgets==7.7.1
176
- itsdangerous==1.1.0
177
- jax==0.3.17
178
- jaxlib==0.3.15+cuda11.cudnn805
179
- jieba==0.42.1
180
- Jinja2==2.11.3
181
- joblib==1.1.0
182
- jpeg4py==0.1.4
183
- jsonschema==4.3.3
184
- jupyter-client==6.1.12
185
- jupyter-console==6.1.0
186
- jupyter-core==4.11.1
187
- jupyterlab-widgets==3.0.3
188
- kaggle==1.5.12
189
- kapre==0.3.7
190
- keras==2.8.0
191
- Keras-Preprocessing==1.1.2
192
- keras-vis==0.4.1
193
- kiwisolver==1.4.4
194
- korean-lunar-calendar==0.2.1
195
- langcodes==3.3.0
196
- libclang==14.0.6
197
- librosa==0.8.1
198
- lightgbm==2.2.3
199
- linkify-it-py==1.0.3
200
- llvmlite==0.39.1
201
- lmdb==0.99
202
- locket==1.0.0
203
- logical-unification==0.4.5
204
- LunarCalendar==0.0.9
205
- lxml==4.9.1
206
- Markdown==3.4.1
207
- markdown-it-py==2.1.0
208
- MarkupSafe==2.0.1
209
- marshmallow==3.17.1
210
- matplotlib==3.2.2
211
- matplotlib-venn==0.11.7
212
- mdit-py-plugins==0.3.0
213
- mdurl==0.1.2
214
- miniKanren==1.0.3
215
- missingno==0.5.1
216
- mistune==0.8.4
217
- mizani==0.7.3
218
- mkl==2019.0
219
- mlxtend==0.14.0
220
- monotonic==1.6
221
- more-itertools==8.14.0
222
- moviepy==0.2.3.5
223
- mpmath==1.2.1
224
- msgpack==1.0.4
225
- multidict==6.0.2
226
- multipledispatch==0.6.0
227
- multitasking==0.0.11
228
- murmurhash==1.0.8
229
- music21==5.5.0
230
- natsort==5.5.0
231
- nbconvert==5.6.1
232
- nbformat==5.4.0
233
- netCDF4==1.6.0
234
- networkx==2.6.3
235
- nibabel==3.0.2
236
- nltk==3.7
237
- notebook==5.3.1
238
- numba==0.56.2
239
- numexpr==2.8.3
240
- numpy==1.21.6
241
- oauth2client==4.1.3
242
- oauthlib==3.2.0
243
- okgrade==0.4.3
244
- opencv-contrib-python==4.6.0.66
245
- opencv-python==4.6.0.66
246
- opencv-python-headless==4.6.0.66
247
- openpyxl==3.0.10
248
- opt-einsum==3.3.0
249
- orjson==3.8.0
250
- osqp==0.6.2.post0
251
- packaging==21.3
252
- palettable==3.3.0
253
- pandas==1.3.5
254
- pandas-datareader==0.9.0
255
- pandas-gbq==0.13.3
256
- pandas-profiling==1.4.1
257
- pandocfilters==1.5.0
258
- panel==0.12.1
259
- param==1.12.2
260
- paramiko==2.11.0
261
- parso==0.8.3
262
- partd==1.3.0
263
- pastel==0.2.1
264
- pathlib==1.0.1
265
- pathy==0.6.2
266
- patsy==0.5.2
267
- pep517==0.13.0
268
- pexpect==4.8.0
269
- pickleshare==0.7.5
270
- Pillow==7.1.2
271
- pip==22.2.2
272
- pip-tools==6.2.0
273
- plotly==5.5.0
274
- plotnine==0.8.0
275
- pluggy==0.7.1
276
- pooch==1.6.0
277
- portpicker==1.3.9
278
- prefetch-generator==1.0.1
279
- preshed==3.0.7
280
- prettytable==3.4.1
281
- progressbar2==3.38.0
282
- promise==2.3
283
- prompt-toolkit==2.0.10
284
- prophet==1.1
285
- protobuf==3.17.3
286
- psutil==5.4.8
287
- psycopg2==2.9.3
288
- ptyprocess==0.7.0
289
- py==1.11.0
290
- pyarrow==6.0.1
291
- pyasn1==0.4.8
292
- pyasn1-modules==0.2.8
293
- pycocotools==2.0.4
294
- pycparser==2.21
295
- pycryptodome==3.15.0
296
- pyct==0.4.8
297
- pydantic==1.9.2
298
- pydata-google-auth==1.4.0
299
- pyDeprecate==0.3.2
300
- pydot==1.3.0
301
- pydot-ng==2.0.0
302
- pydotplus==2.0.2
303
- PyDrive==1.3.1
304
- pydub==0.25.1
305
- pyemd==0.5.1
306
- pyerfa==2.0.0.1
307
- Pygments==2.6.1
308
- PyGObject==3.26.1
309
- pylev==1.4.0
310
- pymc==4.1.4
311
- PyMeeus==0.5.11
312
- pymongo==4.2.0
313
- pymystem3==0.2.0
314
- PyNaCl==1.5.0
315
- PyOpenGL==3.1.6
316
- pyparsing==3.0.9
317
- pyrsistent==0.18.1
318
- pysimdjson==3.2.0
319
- pysndfile==1.3.8
320
- PySocks==1.7.1
321
- pystan==3.3.0
322
- pytest==3.6.4
323
- python-apt==0.0.0
324
- python-chess==0.23.11
325
- python-dateutil==2.8.2
326
- python-louvain==0.16
327
- python-multipart==0.0.5
328
- python-slugify==6.1.2
329
- python-utils==3.3.3
330
  pytorch-lightning==1.7.6
331
- pytz==2022.2.1
332
- pyviz-comms==2.2.1
333
- PyWavelets==1.3.0
334
- PyYAML==6.0
335
- pyzmq==23.2.1
336
- qdldl==0.1.5.post2
337
- qudida==0.0.4
338
- regex==2022.6.2
339
- requests==2.23.0
340
- requests-oauthlib==1.3.1
341
- resampy==0.4.0
342
- rfc3986==1.5.0
343
- rpy2==3.4.5
344
- rsa==4.9
345
- scikit-image==0.18.3
346
- scikit-learn==1.0.2
347
- scipy==1.7.3
348
- screen-resolution-extra==0.0.0
349
- scs==3.2.0
350
- seaborn==0.11.2
351
- Send2Trash==1.8.0
352
- setuptools==57.4.0
353
- setuptools-git==1.2
354
- Shapely==1.8.4
355
- six==1.15.0
356
- sklearn-pandas==1.8.0
357
- smart-open==5.2.1
358
- sniffio==1.3.0
359
- snowballstemmer==2.2.0
360
- sortedcontainers==2.4.0
361
- SoundFile==0.10.3.post1
362
- spacy==3.4.1
363
- spacy-legacy==3.0.10
364
- spacy-loggers==1.0.3
365
- Sphinx==1.8.6
366
- sphinxcontrib-serializinghtml==1.1.5
367
- sphinxcontrib-websupport==1.2.4
368
- SQLAlchemy==1.4.41
369
- sqlparse==0.4.2
370
- srsly==2.4.4
371
- starlette==0.20.4
372
- statsmodels==0.12.2
373
- sympy==1.7.1
374
- tables==3.7.0
375
- tabulate==0.8.10
376
- tblib==1.7.0
377
- tenacity==8.0.1
378
- tensorboard==2.10.0
379
- tensorboard-data-server==0.6.1
380
- tensorboard-plugin-wit==1.8.1
381
- tensorflow==2.8.2+zzzcolab20220719082949
382
- tensorflow-datasets==4.6.0
383
- tensorflow-estimator==2.8.0
384
- tensorflow-gcs-config==2.8.0
385
- tensorflow-hub==0.12.0
386
- tensorflow-io-gcs-filesystem==0.26.0
387
- tensorflow-metadata==1.10.0
388
- tensorflow-probability==0.16.0
389
- termcolor==1.1.0
390
- terminado==0.13.3
391
- testpath==0.6.0
392
- text-unidecode==1.3
393
- textblob==0.15.3
394
- thinc==8.1.0
395
- threadpoolctl==3.1.0
396
- tifffile==2021.11.2
397
- tokenizers==0.12.1
398
- toml==0.10.2
399
- tomli==2.0.1
400
- toolz==0.12.0
401
- torch==1.12.1+cu113
402
- torchaudio==0.12.1+cu113
403
- torchmetrics==0.9.3
404
- torchsummary==1.5.1
405
- torchtext==0.13.1
406
- torchvision==0.13.1+cu113
407
- tornado==5.1.1
408
- tqdm==4.64.1
409
- traitlets==5.1.1
410
  transformers==4.22.0
411
- tweepy==3.10.0
412
- typeguard==2.7.1
413
- typer==0.4.2
414
- typing_extensions==4.1.1
415
- tzlocal==1.5.1
416
- uc-micro-py==1.0.1
417
- ujson==5.4.0
418
- uritemplate==3.0.1
419
- urllib3==1.24.3
420
- uvicorn==0.18.3
421
- vega-datasets==0.9.0
422
- wasabi==0.10.1
423
- wcwidth==0.2.5
424
- webargs==8.2.0
425
- webencodings==0.5.1
426
- websockets==10.3
427
- Werkzeug==1.0.1
428
- wheel==0.37.1
429
- widgetsnbextension==3.6.1
430
- wordcloud==1.8.2.2
431
- wrapt==1.14.1
432
- xarray==0.20.2
433
- xarray-einstats==0.2.2
434
- xgboost==0.90
435
- xkit==0.0.0
436
- xlrd==1.1.0
437
- xlwt==1.3.0
438
- yarl==1.8.1
439
- yellowbrick==1.5
440
- zict==2.2.0
441
- zipp==3.8.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ipadic==1.0.0
2
+ fugashi==1.2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  pytorch-lightning==1.7.6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  transformers==4.22.0
5
+ gradio==3.3.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
saved_model/config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60ce9bcbbe702e11c444cfcbc2fa005ad3b082671a7284a12974803297a3568e
3
+ size 1440