Spaces:
Runtime error
Runtime error
Commit
·
ead12b6
1
Parent(s):
04d8bce
Upload requirements.txt
Browse files- requirements.txt +152 -0
requirements.txt
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Library dependencies for the python code. You need to install these with
|
2 |
+
# `pip install -r requirements.txt` before you can run this.
|
3 |
+
# NOTE: all essential packages must be placed under a section named 'ESSENTIAL ...'
|
4 |
+
# so that the script `./scripts/check_requirements_and_setup.py` can find them.
|
5 |
+
|
6 |
+
#### ESSENTIAL LIBRARIES FOR MAIN FUNCTIONALITY ####
|
7 |
+
|
8 |
+
# This installs Pytorch for CUDA 8 only. If you are using a newer version,
|
9 |
+
# please visit http://pytorch.org/ and install the relevant version.
|
10 |
+
torch>=0.4.1,<0.5.0
|
11 |
+
|
12 |
+
# Parameter parsing (but not on Windows).
|
13 |
+
jsonnet==0.10.0 ; sys.platform != 'win32'
|
14 |
+
|
15 |
+
# Adds an @overrides decorator for better documentation and error checking when using subclasses.
|
16 |
+
overrides
|
17 |
+
|
18 |
+
# Used by some old code. We moved away from it because it's too slow, but some old code still
|
19 |
+
# imports this.
|
20 |
+
nltk
|
21 |
+
|
22 |
+
# Mainly used for the faster tokenizer.
|
23 |
+
spacy>=2.0,<2.1
|
24 |
+
|
25 |
+
# Used by span prediction models.
|
26 |
+
numpy
|
27 |
+
|
28 |
+
# Used for reading configuration info out of numpy-style docstrings.
|
29 |
+
numpydoc==0.8.0
|
30 |
+
|
31 |
+
# Used in coreference resolution evaluation metrics.
|
32 |
+
scipy
|
33 |
+
scikit-learn
|
34 |
+
|
35 |
+
# Write logs for training visualisation with the Tensorboard application
|
36 |
+
# Install the Tensorboard application separately (part of tensorflow) to view them.
|
37 |
+
tensorboardX==1.2
|
38 |
+
|
39 |
+
# Required by torch.utils.ffi
|
40 |
+
cffi==1.11.2
|
41 |
+
|
42 |
+
# aws commandline tools for running on Docker remotely.
|
43 |
+
# second requirement is to get botocore < 1.11, to avoid the below bug
|
44 |
+
awscli>=1.11.91
|
45 |
+
|
46 |
+
# Accessing files from S3 directly.
|
47 |
+
boto3
|
48 |
+
|
49 |
+
# REST interface for models
|
50 |
+
flask==0.12.4
|
51 |
+
flask-cors==3.0.3
|
52 |
+
gevent==1.3.6
|
53 |
+
|
54 |
+
# Used by semantic parsing code to strip diacritics from unicode strings.
|
55 |
+
unidecode
|
56 |
+
|
57 |
+
# Used by semantic parsing code to parse SQL
|
58 |
+
parsimonious==0.8.0
|
59 |
+
|
60 |
+
# Used by semantic parsing code to format and postprocess SQL
|
61 |
+
sqlparse==0.2.4
|
62 |
+
|
63 |
+
# For text normalization
|
64 |
+
ftfy
|
65 |
+
|
66 |
+
#### ESSENTIAL LIBRARIES USED IN SCRIPTS ####
|
67 |
+
|
68 |
+
# Plot graphs for learning rate finder
|
69 |
+
matplotlib==2.2.3
|
70 |
+
|
71 |
+
# Used for downloading datasets over HTTP
|
72 |
+
requests>=2.18
|
73 |
+
|
74 |
+
# progress bars in data cleaning scripts
|
75 |
+
tqdm>=4.19
|
76 |
+
|
77 |
+
# In SQuAD eval script, we use this to see if we likely have some tokenization problem.
|
78 |
+
editdistance
|
79 |
+
|
80 |
+
# For pretrained model weights
|
81 |
+
h5py
|
82 |
+
|
83 |
+
# For timezone utilities
|
84 |
+
pytz==2017.3
|
85 |
+
|
86 |
+
# Reads Universal Dependencies files.
|
87 |
+
conllu==0.11
|
88 |
+
|
89 |
+
#### ESSENTIAL TESTING-RELATED PACKAGES ####
|
90 |
+
|
91 |
+
# We'll use pytest to run our tests; this isn't really necessary to run the code, but it is to run
|
92 |
+
# the tests. With this here, you can run the tests with `py.test` from the base directory.
|
93 |
+
pytest
|
94 |
+
|
95 |
+
# Allows marking tests as flaky, to be rerun if they fail
|
96 |
+
flaky
|
97 |
+
|
98 |
+
# Required to mock out `requests` calls
|
99 |
+
responses>=0.7
|
100 |
+
|
101 |
+
# For mocking s3.
|
102 |
+
moto==1.3.4
|
103 |
+
|
104 |
+
#### TESTING-RELATED PACKAGES ####
|
105 |
+
|
106 |
+
# Checks style, syntax, and other useful errors.
|
107 |
+
pylint==1.8.1
|
108 |
+
|
109 |
+
# Tutorial notebooks
|
110 |
+
# see: https://github.com/jupyter/jupyter/issues/370 for ipykernel
|
111 |
+
ipykernel<5.0.0
|
112 |
+
jupyter
|
113 |
+
|
114 |
+
# Static type checking
|
115 |
+
mypy==0.521
|
116 |
+
|
117 |
+
# Allows generation of coverage reports with pytest.
|
118 |
+
pytest-cov
|
119 |
+
|
120 |
+
# Allows codecov to generate coverage reports
|
121 |
+
coverage
|
122 |
+
codecov
|
123 |
+
|
124 |
+
# Required to run sanic tests
|
125 |
+
aiohttp
|
126 |
+
|
127 |
+
#### DOC-RELATED PACKAGES ####
|
128 |
+
|
129 |
+
# Builds our documentation.
|
130 |
+
sphinx==1.5.3
|
131 |
+
|
132 |
+
# Watches the documentation directory and rebuilds on changes.
|
133 |
+
sphinx-autobuild
|
134 |
+
|
135 |
+
# doc theme
|
136 |
+
sphinx_rtd_theme
|
137 |
+
|
138 |
+
# Only used to convert our readme to reStructuredText on Pypi.
|
139 |
+
pypandoc
|
140 |
+
|
141 |
+
# Pypi uploads
|
142 |
+
twine==1.11.0
|
143 |
+
|
144 |
+
#### GENERATOR-RELATED PACKAGES ####
|
145 |
+
|
146 |
+
# Used by AddSent.
|
147 |
+
psutil
|
148 |
+
pattern
|
149 |
+
|
150 |
+
# Used by SWAG.
|
151 |
+
allennlp
|
152 |
+
num2words
|