forked from potsawee/selfcheckgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (40 loc) · 1.15 KB
/
setup.py
File metadata and controls
45 lines (40 loc) · 1.15 KB
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
from setuptools import setup
# reading long description from file
with open('DESCRIPTION.txt') as file:
long_description = file.read()
REQUIREMENTS = [
"transformers>=4.35",
"torch>=1.12",
"numpy",
"bert_score",
"spacy",
"nltk",
"openai",
]
# some more details
CLASSIFIERS = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
VERSION = {}
with open("selfcheckgpt/version.py", "r") as version_file:
exec(version_file.read(), VERSION)
# calling the setup function
setup(
name='selfcheckgpt',
version=VERSION["__version__"],
description='SelfCheckGPT: Assessing text-based responses from LLMs',
long_description=long_description,
url='https://github.com/potsawee/selfcheckgpt',
author='Potsawee Manakul',
author_email='m.potsawee@gmail.com',
license='MIT',
packages=['selfcheckgpt'],
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
keywords='selfcheckgpt',
include_package_data=True,
)