forked from princeton-nlp/SimCSE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (25 loc) · 771 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
import io
from setuptools import find_packages, setup
with io.open("./README.md", encoding="utf-8") as f:
readme = f.read()
setup(
name="simcse",
packages=["simcse"],
version="0.4",
license="MIT",
description="A sentence embedding tool based on SimCSE",
author="Tianyu Gao, Xingcheng Yao, Danqi Chen",
author_email="[email protected]",
url="https://github.com/princeton-nlp/SimCSE",
download_url="https://github.com/princeton-nlp/SimCSE/archive/refs/tags/0.4.tar.gz",
keywords=["sentence", "embedding", "simcse", "nlp"],
install_requires=[
"tqdm",
"scikit-learn",
"scipy>=1.5.4,<1.6",
"transformers",
"torch",
"numpy>=1.19.5,<1.20",
"setuptools",
],
)