-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.28 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# -*- coding:utf-8 -*-
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
readme = fh.read()
setup(
name="adaptor",
version='0.1.3',
description="Adaptor: Objective-centric Adaptation Framework for Language Models.",
long_description_content_type="text/markdown",
long_description=readme,
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.8"
],
author="Adaptor Authors & Contributors",
url="https://github.com/gaussalgo/adaptor",
python_requires=">=3.7",
license="MIT",
packages=find_packages(include=["adaptor", "adaptor.*"]),
include_package_data=True,
zip_safe=True,
install_requires=[
"torch>=1.7",
"transformers==4.10.2",
"sentencepiece",
],
test_require=[
"pytest"
],
extras_require={
"generative": [
"sacrebleu",
"rouge-score",
"bert-score",
"fairseq",
"protobuf",
],
"utils": [
"comet-ml",
],
},
)