Rami commited on
Commit
fd76f3a
1 Parent(s): e18e756

have zeno cache

Browse files
Files changed (3) hide show
  1. Dockerfile +4 -5
  2. requirements.txt +4 -269
  3. zeno_ml.py +0 -4
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
- FROM python:3.8
2
 
 
 
 
3
  RUN useradd -m -u 1000 user
4
  USER user
5
  # Set home to the user's home directory
@@ -13,7 +15,4 @@ RUN chown user:user -R $HOME/app
13
 
14
  COPY ./requirements.txt /code/requirements.txt
15
 
16
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
17
-
18
-
19
- CMD ["zeno", "config.toml"]
 
 
1
 
2
+ # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
3
+ # you will also find guides on how best to write your Dockerfile
4
+ FROM python:3.9
5
  RUN useradd -m -u 1000 user
6
  USER user
7
  # Set home to the user's home directory
 
15
 
16
  COPY ./requirements.txt /code/requirements.txt
17
 
18
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
 
requirements.txt CHANGED
@@ -1,269 +1,4 @@
1
- aiofiles==23.1.0
2
- aiohttp==3.8.4
3
- aiosignal==1.3.1
4
- alembic==1.10.2
5
- altair==4.2.2
6
- anyio==3.6.2
7
- argon2-cffi==21.3.0
8
- argon2-cffi-bindings==21.2.0
9
- arrow==1.2.3
10
- asttokens==2.2.1
11
- async-generator==1.10
12
- async-timeout==4.0.2
13
- attrs==22.2.0
14
- azure-ai-formrecognizer==3.2.1
15
- azure-common==1.1.28
16
- azure-core==1.26.3
17
- backcall==0.2.0
18
- backoff==2.2.1
19
- beautifulsoup4==4.11.2
20
- bleach==6.0.0
21
- blessed==1.20.0
22
- blis==0.7.9
23
- cachetools==5.3.0
24
- catalogue==2.0.8
25
- certifi @ file:///croot/certifi_1671487769961/work/certifi
26
- cffi==1.15.1
27
- charset-normalizer==3.1.0
28
- click==8.1.3
29
- cloudpickle==2.2.1
30
- comm==0.1.2
31
- confection==0.0.4
32
- contourpy==1.0.7
33
- cycler==0.11.0
34
- cymem==2.0.7
35
- databricks-cli==0.17.5
36
- dataclasses-json==0.5.7
37
- datasets==2.10.1
38
- debugpy==1.6.6
39
- decorator==5.1.1
40
- defusedxml==0.7.1
41
- dill==0.3.6
42
- dnspython==2.3.0
43
- docker==6.0.1
44
- docopt==0.6.2
45
- elasticsearch==7.17.9
46
- en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0-py3-none-any.whl
47
- entrypoints==0.4
48
- exceptiongroup==1.1.1
49
- executing==1.2.0
50
- farm-haystack==1.14.0
51
- fastapi==0.94.1
52
- fastjsonschema==2.16.3
53
- ffmpy==0.3.0
54
- filelock==3.9.0
55
- Flask==2.2.3
56
- Flask-Cors==3.0.10
57
- fonttools==4.39.0
58
- fqdn==1.5.1
59
- frozenlist==1.3.3
60
- fsspec==2023.3.0
61
- gitdb==4.0.10
62
- GitPython==3.1.31
63
- gradio==3.21.0
64
- greenlet==2.0.2
65
- gunicorn==20.1.0
66
- h11==0.14.0
67
- httpcore==0.16.3
68
- httpx==0.23.3
69
- huggingface-hub==0.13.1
70
- idna==3.4
71
- importlib-metadata==6.0.0
72
- importlib-resources==5.12.0
73
- inflect==6.0.2
74
- inquirer==3.1.3
75
- ipykernel==6.21.3
76
- ipython==8.11.0
77
- ipython-genutils==0.2.0
78
- ipywidgets==8.0.4
79
- isodate==0.6.1
80
- isoduration==20.11.0
81
- itsdangerous==2.1.2
82
- jarowinkler==1.2.3
83
- jedi==0.18.2
84
- Jinja2==3.1.2
85
- joblib==1.2.0
86
- jsonpickle==3.0.1
87
- jsonpointer==2.3
88
- jsonschema==4.17.3
89
- jupyter==1.0.0
90
- jupyter-console==6.6.3
91
- jupyter-events==0.6.3
92
- jupyter_client==8.0.3
93
- jupyter_core==5.2.0
94
- jupyter_server==2.4.0
95
- jupyter_server_terminals==0.4.4
96
- jupyterlab-pygments==0.2.2
97
- jupyterlab-widgets==3.0.5
98
- kiwisolver==1.4.4
99
- langchain==0.0.106
100
- langcodes==3.3.0
101
- langdetect==1.0.9
102
- linkify-it-py==2.0.0
103
- llama-index==0.4.27
104
- llvmlite==0.39.1
105
- loguru==0.6.0
106
- lxml==4.9.2
107
- Mako==1.2.4
108
- Markdown==3.4.1
109
- markdown-it-py==2.2.0
110
- MarkupSafe==2.1.2
111
- marshmallow==3.19.0
112
- marshmallow-enum==1.5.1
113
- matplotlib==3.7.1
114
- matplotlib-inline==0.1.6
115
- mdit-py-plugins==0.3.3
116
- mdurl==0.1.2
117
- mistune==2.0.5
118
- mlflow==2.2.1
119
- mmh3==3.0.0
120
- monotonic==1.6
121
- more-itertools==9.1.0
122
- msrest==0.7.1
123
- multidict==6.0.4
124
- multiprocess==0.70.14
125
- murmurhash==1.0.9
126
- mypy-extensions==1.0.0
127
- nbclassic==0.5.3
128
- nbclient==0.7.2
129
- nbconvert==7.2.9
130
- nbformat==5.7.3
131
- nest-asyncio==1.5.6
132
- networkx==3.0
133
- nltk==3.8.1
134
- notebook==6.5.3
135
- notebook_shim==0.2.2
136
- num2words==0.5.12
137
- numba==0.56.4
138
- numpy==1.23.5
139
- nvidia-cublas-cu11==11.10.3.66
140
- nvidia-cuda-nvrtc-cu11==11.7.99
141
- nvidia-cuda-runtime-cu11==11.7.99
142
- nvidia-cudnn-cu11==8.5.0.96
143
- oauthlib==3.2.2
144
- openai==0.27.1
145
- openTSNE==0.7.1
146
- orjson==3.8.7
147
- outcome==1.2.0
148
- packaging==23.0
149
- pandas==1.5.3
150
- pandocfilters==1.5.0
151
- parso==0.8.3
152
- pathos==0.3.0
153
- pathy==0.10.1
154
- pexpect==4.8.0
155
- pickleshare==0.7.5
156
- Pillow==9.4.0
157
- pinecone-client==2.2.1
158
- pkgutil_resolve_name==1.3.10
159
- platformdirs==3.1.1
160
- posthog==2.3.1
161
- pox==0.3.2
162
- ppft==1.7.6.6
163
- praw==7.7.0
164
- prawcore==2.3.0
165
- preshed==3.0.8
166
- prometheus-client==0.16.0
167
- prompt-toolkit==3.0.38
168
- protobuf==3.20.2
169
- psutil==5.9.4
170
- ptyprocess==0.7.0
171
- pure-eval==0.2.2
172
- pyarrow==11.0.0
173
- pycparser==2.21
174
- pydantic==1.10.6
175
- pydub==0.25.1
176
- Pygments==2.14.0
177
- PyJWT==2.6.0
178
- pyparsing==3.0.9
179
- pyrsistent==0.19.3
180
- PySocks==1.7.1
181
- python-dateutil==2.8.2
182
- python-docx==0.8.11
183
- python-dotenv==1.0.0
184
- python-editor==1.0.4
185
- python-json-logger==2.0.7
186
- python-multipart==0.0.6
187
- pytz==2022.7.1
188
- pyvis==0.3.2
189
- PyYAML==6.0
190
- pyzmq==25.0.0
191
- qtconsole==5.4.0
192
- QtPy==2.3.0
193
- quantulum3==0.8.1
194
- querystring-parser==1.2.4
195
- rank-bm25==0.2.2
196
- rapidfuzz==2.7.0
197
- readchar==4.0.3
198
- regex==2022.10.31
199
- requests==2.28.2
200
- requests-oauthlib==1.3.1
201
- responses==0.18.0
202
- rfc3339-validator==0.1.4
203
- rfc3986==1.5.0
204
- rfc3986-validator==0.1.1
205
- rich==13.3.2
206
- scikit-learn==1.2.2
207
- scipy==1.10.1
208
- selenium==4.8.2
209
- Send2Trash==1.8.0
210
- sentence-transformers==2.2.2
211
- sentencepiece==0.1.97
212
- seqeval==1.2.2
213
- shap==0.41.0
214
- six==1.16.0
215
- slicer==0.0.7
216
- smart-open==6.3.0
217
- smmap==5.0.0
218
- sniffio==1.3.0
219
- sortedcontainers==2.4.0
220
- soupsieve==2.4
221
- spacy==3.5.1
222
- spacy-legacy==3.0.12
223
- spacy-loggers==1.0.4
224
- SQLAlchemy==1.4.46
225
- sqlparse==0.4.3
226
- srsly==2.4.6
227
- stack-data==0.6.2
228
- starlette==0.26.1
229
- tabulate==0.9.0
230
- tenacity==8.2.2
231
- terminado==0.17.1
232
- thinc==8.1.9
233
- threadpoolctl==3.1.0
234
- tika==2.6.0
235
- tiktoken==0.3.1
236
- tinycss2==1.2.1
237
- tokenizers==0.13.2
238
- tomli==2.0.1
239
- toolz==0.12.0
240
- torch==1.13.1
241
- torchvision==0.14.1
242
- tornado==6.2
243
- tqdm==4.65.0
244
- traitlets==5.9.0
245
- transformers==4.25.1
246
- trio==0.22.0
247
- trio-websocket==0.10.0
248
- typer==0.7.0
249
- typing-inspect==0.8.0
250
- typing_extensions==4.5.0
251
- uc-micro-py==1.0.1
252
- update-checker==0.18.0
253
- uri-template==1.2.0
254
- urllib3==1.26.15
255
- uvicorn==0.21.0
256
- wasabi==1.1.1
257
- wcwidth==0.2.6
258
- webcolors==1.12
259
- webdriver-manager==3.8.5
260
- webencodings==0.5.1
261
- websocket-client==1.5.1
262
- websockets==10.4
263
- Werkzeug==2.2.3
264
- widgetsnbextension==4.0.5
265
- wsproto==1.2.0
266
- xxhash==3.2.0
267
- yarl==1.8.2
268
- zenoml==0.4.2
269
- zipp==3.15.0
 
1
+ zenoml>=0.3.4
2
+ pyarrow
3
+ datasets
4
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
zeno_ml.py CHANGED
@@ -1,7 +1,3 @@
1
- import pickle
2
-
3
-
4
- from datasets import load_dataset
5
  from zeno import (
6
  DistillReturn,
7
  MetricReturn,
 
 
 
 
 
1
  from zeno import (
2
  DistillReturn,
3
  MetricReturn,