Spaces:
Runtime error
Runtime error
fikird
commited on
Commit
·
54a8bbb
1
Parent(s):
a3b1220
Comprehensive dependency fix for sentence-transformers
Browse files- apt.txt +14 -0
- packages.txt +5 -0
- requirements.txt +13 -11
apt.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python3-dev
|
2 |
+
python3-pip
|
3 |
+
build-essential
|
4 |
+
gcc
|
5 |
+
g++
|
6 |
+
git
|
7 |
+
cmake
|
8 |
+
pkg-config
|
9 |
+
libopenblas-base
|
10 |
+
libopenblas-dev
|
11 |
+
libomp-dev
|
12 |
+
libgomp1
|
13 |
+
python3-venv
|
14 |
+
python-is-python3
|
packages.txt
CHANGED
@@ -4,6 +4,9 @@ build-essential
|
|
4 |
gcc
|
5 |
g++
|
6 |
git
|
|
|
|
|
|
|
7 |
libopenblas-dev
|
8 |
libomp-dev
|
9 |
libgomp1
|
@@ -24,3 +27,5 @@ libgbm1
|
|
24 |
libpango-1.0-0
|
25 |
libcairo2
|
26 |
libasound2
|
|
|
|
|
|
4 |
gcc
|
5 |
g++
|
6 |
git
|
7 |
+
cmake
|
8 |
+
pkg-config
|
9 |
+
libopenblas-base
|
10 |
libopenblas-dev
|
11 |
libomp-dev
|
12 |
libgomp1
|
|
|
27 |
libpango-1.0-0
|
28 |
libcairo2
|
29 |
libasound2
|
30 |
+
python3-venv
|
31 |
+
python-is-python3
|
requirements.txt
CHANGED
@@ -1,17 +1,23 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
--find-links https://download.pytorch.org/whl/torch_stable.html
|
3 |
torch==2.0.1+cpu
|
4 |
torchvision==0.15.2+cpu
|
5 |
torchaudio==2.0.2+cpu
|
6 |
|
7 |
-
#
|
8 |
transformers==4.31.0
|
|
|
9 |
sentence-transformers==2.2.2
|
10 |
-
|
11 |
-
scikit-learn>=1.2.2
|
12 |
-
scipy>=1.10.1
|
13 |
-
pandas>=2.0.2
|
14 |
-
tqdm>=4.65.0
|
15 |
|
16 |
# Web interface
|
17 |
gradio==3.40.1
|
@@ -20,7 +26,6 @@ gradio==3.40.1
|
|
20 |
duckduckgo-search==3.8.5
|
21 |
beautifulsoup4==4.12.2
|
22 |
lxml==4.9.3
|
23 |
-
requests==2.31.0
|
24 |
googlesearch-python==1.2.3
|
25 |
waybackpy==3.0.6
|
26 |
google==3.0.0
|
@@ -46,9 +51,6 @@ idna==3.4
|
|
46 |
certifi==2023.7.22
|
47 |
urllib3==2.0.4
|
48 |
|
49 |
-
# Image processing
|
50 |
-
Pillow==10.0.0
|
51 |
-
|
52 |
# Domain info
|
53 |
python-whois==0.8.0
|
54 |
geopy==2.4.1
|
|
|
1 |
+
# Base dependencies
|
2 |
+
numpy>=1.23.5
|
3 |
+
scikit-learn>=1.2.2
|
4 |
+
scipy>=1.10.1
|
5 |
+
pandas>=2.0.2
|
6 |
+
tqdm>=4.65.0
|
7 |
+
Pillow==10.0.0
|
8 |
+
requests==2.31.0
|
9 |
+
|
10 |
+
# PyTorch CPU
|
11 |
--find-links https://download.pytorch.org/whl/torch_stable.html
|
12 |
torch==2.0.1+cpu
|
13 |
torchvision==0.15.2+cpu
|
14 |
torchaudio==2.0.2+cpu
|
15 |
|
16 |
+
# Transformers and embeddings
|
17 |
transformers==4.31.0
|
18 |
+
tokenizers==0.13.3
|
19 |
sentence-transformers==2.2.2
|
20 |
+
huggingface-hub>=0.16.4
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# Web interface
|
23 |
gradio==3.40.1
|
|
|
26 |
duckduckgo-search==3.8.5
|
27 |
beautifulsoup4==4.12.2
|
28 |
lxml==4.9.3
|
|
|
29 |
googlesearch-python==1.2.3
|
30 |
waybackpy==3.0.6
|
31 |
google==3.0.0
|
|
|
51 |
certifi==2023.7.22
|
52 |
urllib3==2.0.4
|
53 |
|
|
|
|
|
|
|
54 |
# Domain info
|
55 |
python-whois==0.8.0
|
56 |
geopy==2.4.1
|