marcolorenzi98 commited on
Commit
23c9e46
·
1 Parent(s): 8156b10

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -100
requirements.txt CHANGED
@@ -3,166 +3,74 @@
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
153
 
154
- #for working on hugging face transformers and gradio
155
  gradio
156
- torch
157
  transformers
158
 
159
- #for PDF
160
  PyPDF2
161
  pdfminer.six
162
  pdfplumber
163
  pdf2image
164
  Pillow
165
  pytesseract
166
- poppler-utils
167
- tesseract-ocr
168
- libtesseract-dev
 
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
  torch>=0.4.1,<0.5.0
 
 
8
  jsonnet==0.10.0 ; sys.platform != 'win32'
 
 
9
  overrides
 
 
 
10
  nltk
 
 
11
  spacy>=2.0,<2.1
 
 
12
  numpy
 
 
13
  numpydoc==0.8.0
 
 
14
  scipy
15
  scikit-learn
 
 
 
16
  tensorboardX==1.2
 
 
17
  cffi==1.11.2
 
 
 
18
  awscli>=1.11.91
 
 
19
  boto3
 
 
20
  flask==0.12.4
21
  flask-cors==3.0.3
22
  gevent==1.3.6
 
 
23
  unidecode
 
 
24
  parsimonious==0.8.0
 
 
25
  sqlparse==0.2.4
 
 
26
  ftfy
27
 
28
+ # ESSENTIAL LIBRARIES USED IN SCRIPTS
 
 
29
  matplotlib==2.2.3
 
 
30
  requests>=2.18
 
 
31
  tqdm>=4.19
 
 
32
  editdistance
 
 
33
  h5py
 
 
34
  pytz==2017.3
 
 
35
  conllu==0.11
36
 
37
+ # ESSENTIAL TESTING-RELATED PACKAGES
 
 
 
38
  pytest
 
 
39
  flaky
 
 
40
  responses>=0.7
 
 
41
  moto==1.3.4
42
 
43
+ # TESTING-RELATED PACKAGES
 
 
44
  pylint==1.8.1
 
 
 
45
  ipykernel<5.0.0
46
  jupyter
 
 
47
  mypy==0.521
 
 
48
  pytest-cov
 
 
49
  coverage
50
  codecov
 
 
51
  aiohttp
52
 
53
+ # DOC-RELATED PACKAGES
 
 
54
  sphinx==1.5.3
 
 
55
  sphinx-autobuild
 
 
56
  sphinx_rtd_theme
 
 
57
  pypandoc
 
 
58
  twine==1.11.0
59
 
60
+ # GENERATOR-RELATED PACKAGES
 
 
61
  psutil
62
  pattern
 
 
63
  allennlp
64
  num2words
65
 
66
+ # FOR WORKING ON HUGGING FACE TRANSFORMERS AND GRADIO
67
  gradio
 
68
  transformers
69
 
70
+ # FOR PDF
71
  PyPDF2
72
  pdfminer.six
73
  pdfplumber
74
  pdf2image
75
  Pillow
76
  pytesseract