kevin-pek commited on
Commit
9dd5639
1 Parent(s): 0ec5e8b

setup environment

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. README.md +40 -1
  3. requirements.txt +73 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ venv/
README.md CHANGED
@@ -1 +1,40 @@
1
- # document-semantic-search
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Document Semantic Search
2
+
3
+ ## Setup
4
+
5
+ (Link to docs)[https://docs.python.org/3/library/venv.html]
6
+
7
+ ### Create environment:
8
+
9
+ ```shell
10
+ $ python3 -m venv venv
11
+ ```
12
+
13
+ ### To activate the environment:
14
+
15
+
16
+ UNIX/MacOS:
17
+
18
+ ```shell
19
+ $ source venv/bin/activate
20
+ ```
21
+
22
+ Windows:
23
+
24
+ ```shell
25
+ $ venv/Scripts/activate
26
+ ```
27
+
28
+ ### Install dependencies:
29
+
30
+ If this is your first time running this or the package dependencies have changed, run this command to install all dependencies.
31
+
32
+ ```shell
33
+ $ pip install -r requirements.txt
34
+ ```
35
+
36
+ ### Deactivate environment:
37
+
38
+ ```shell
39
+ $ deactivate
40
+ ```
requirements.txt ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate==0.19.0
2
+ appdirs==1.4.4
3
+ attrs==23.1.0
4
+ azure-ai-formrecognizer==3.3.0b1
5
+ azure-common==1.1.28
6
+ azure-core==1.27.0
7
+ backoff==2.2.1
8
+ boilerpy3==1.0.6
9
+ canals==0.2.2
10
+ cattrs==23.1.2
11
+ certifi==2023.5.7
12
+ charset-normalizer==3.1.0
13
+ click==8.1.3
14
+ dill==0.3.6
15
+ docopt==0.6.2
16
+ Events==0.4
17
+ farm-haystack==1.17.1
18
+ filelock==3.12.0
19
+ fsspec==2023.5.0
20
+ generalimport==0.3.1
21
+ huggingface-hub==0.15.1
22
+ idna==3.4
23
+ inflect==6.0.4
24
+ isodate==0.6.1
25
+ Jinja2==3.1.2
26
+ joblib==1.2.0
27
+ jsonschema==4.17.3
28
+ MarkupSafe==2.1.3
29
+ monotonic==1.6
30
+ more-itertools==9.1.0
31
+ mpmath==1.3.0
32
+ msrest==0.7.1
33
+ networkx==3.1
34
+ nltk==3.8.1
35
+ num2words==0.5.12
36
+ numpy==1.24.3
37
+ oauthlib==3.2.2
38
+ packaging==23.1
39
+ pandas==2.0.2
40
+ Pillow==9.5.0
41
+ posthog==3.0.1
42
+ protobuf==3.20.2
43
+ psutil==5.9.5
44
+ pydantic==1.10.8
45
+ pyrsistent==0.19.3
46
+ python-dateutil==2.8.2
47
+ pytz==2023.3
48
+ PyYAML==6.0
49
+ quantulum3==0.9.0
50
+ rank-bm25==0.2.2
51
+ regex==2023.6.3
52
+ requests==2.31.0
53
+ requests-cache==0.9.8
54
+ requests-oauthlib==1.3.1
55
+ scikit-learn==1.2.2
56
+ scipy==1.10.1
57
+ sentence-transformers==2.2.2
58
+ sentencepiece==0.1.99
59
+ six==1.16.0
60
+ sseclient-py==1.7.2
61
+ sympy==1.12
62
+ tenacity==8.2.2
63
+ threadpoolctl==3.1.0
64
+ tiktoken==0.4.0
65
+ tokenizers==0.13.3
66
+ torch==2.0.1
67
+ torchvision==0.15.2
68
+ tqdm==4.65.0
69
+ transformers==4.29.1
70
+ typing_extensions==4.5.0
71
+ tzdata==2023.3
72
+ url-normalize==1.4.3
73
+ urllib3==2.0.2