-
Notifications
You must be signed in to change notification settings - Fork 78
/
setup.py
executable file
·60 lines (59 loc) · 1.71 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
51
52
53
54
55
56
57
58
59
60
from setuptools import setup, find_packages
# read the contents of your README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(
name='llm_blender',
version='0.0.2',
description='LLM-Blender, an innovative ensembling framework to attain consistently superior performance by leveraging the diverse strengths and weaknesses of multiple open-source large language models (LLMs). LLM-Blender cut the weaknesses through ranking and integrate the strengths through fusing generation to enhance the capability of LLMs.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Dongfu Jiang',
author_email='[email protected]',
packages=find_packages(),
url='https://yuchenlin.xyz/LLM-Blender/',
install_requires=[
'transformers',
'torch',
'numpy',
'accelerate',
'safetensors',
'dataclasses-json',
'sentencepiece',
'protobuf',
],
extras_require={
"example": [
'datasets',
'scipy',
'jupyter'
],
"train": [
'datasets',
'bitsandbytes',
'deepspeed',
'wandb',
],
"data": [
'datasets',
'openai',
'peft',
'fschat',
],
"eval": [
'datasets',
'pycocoevalcap',
'spacy',
'prettytable',
'evaluate',
'bert_score',
'tabulate',
'scipy',
'nltk',
'scikit-learn',
'sacrebleu',
'rouge_score',
],
},
)