forked from stanford-futuredata/ColBERT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (32 loc) · 885 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import setuptools
with open('README.md', 'r') as f:
long_description = f.read()
setuptools.setup(
name='colbert',
version='0.2.0',
author='Omar Khattab',
author_email='[email protected]',
description="Efficient and Effective Passage Search via Contextualized Late Interaction over BERT",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/stanford-futuredata/ColBERT',
packages=setuptools.find_packages(),
python_requires='>=3.8',
install_requires=[
"bitarray",
"datasets",
"flask",
"git-python",
"python-dotenv",
"ninja",
"scipy",
"spacy",
"tqdm",
"transformers",
"ujson"
],
extras_require={
'faiss-gpu': ['faiss-gpu>=1.7.0'],
'torch': ['torch==1.13.1']
}
)