-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (117 loc) · 2.63 KB
/
pyproject.toml
File metadata and controls
130 lines (117 loc) · 2.63 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[tool.poetry]
name = "mallm"
version = "v1.0.5"
authors = ["GippLab <projects@gipplab.org>"]
description = "Multi-Agent Large Language Models for Collaborative Task-Solving."
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
[project]
name = "mallm"
version = "v1.0.3"
[project.urls]
Homepage = "https://github.com/Multi-Agent-LLMs/mallm"
Issues = "https://github.com/Multi-Agent-LLMs/mallm/issues"
[tool.poetry.scripts]
mallm-run = "mallm.scheduler:main"
mallm-batch = "mallm.scripts.batch_mallm:main"
mallm-evaluate = "mallm.evaluation.evaluator:main"
[tool.poetry.dependencies]
python = "^3.9"
langchain-core = "^0.1.42"
langchain = "^0.1.16"
fire = "^0.6.0"
tqdm = "^4.66.2"
datasets = "^2.18.0"
colorama = "^0.4.6"
cffi = "^1.16.0"
openai = "^1.25.0"
huggingface-hub = "0.23.0"
requests = "^2.32.2"
nltk = "^3.8.1"
rouge-score = "^0.1.2"
bert-score = "^0.3.13"
evaluate = "^0.4.2"
json-repair = "^0.25.1"
rich = "^13.7.1"
contextplus = "^0.1.3"
langdetect = "^1.0.9"
immutabledict = "^4.2.0"
seaborn = "^0.13.2"
[tool.poetry.group.dev.dependencies]
tqdm = "^4.66.2"
pytest = "^8.2.0"
mypy = "^1.10.0"
types-requests = "^2.32.0.20240521"
flake8 = "^7.0.0"
coverage = "^7.5.1"
coverage-badge = "^1.1.1"
setuptools = "^70.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = ["mallm/"]
python_version = "3.9"
warn_unused_configs = true
exclude = ["mallm/utils/evaluation/", "mallm/evaluation/metrics/ifeval.py"]
follow_imports = "skip"
strict = true
ignore_missing_imports = true
warn_unreachable = true
show_error_context = true
show_error_codes = true
pretty = true
[tool.coverage.run]
branch = true
source = ["mallm"]
[tool.coverage.report]
omit = ["tests/*"]
[tool.flake8]
target-version = "py39"
[tool.ruff]
preview = true
target-version = "py39"
extend-exclude = [
"data/",
"mallm/models/Chat.py",
"notebooks/",
"test/",
"update_readme.py",
]
lint.select = [
"A", # builtins
"B", # bugbear
"C4", # comprehensions
"E", # pycodestyle
"F", # Pyflakes
"FURB", # refurb
"I", # isort
"INP", # no-pep420
"N", # pep8-naming
"PERF", # Perflint
"PIE", # pie
"PL", # Pylint
"RET", # return
"RUF", # Ruff
"SIM", # simplify
"UP", # pyupgrade
"W", # pycodestyle
]
lint.pyupgrade.keep-runtime-typing = true
lint.ignore = [
"E203",
"E501",
"N806",
"N999",
"PERF203",
"PLR09",
"PLR2004",
"PLW15",
"SIM115",
"SIM118",
]