-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
132 lines (108 loc) · 2.71 KB
/
pyproject.toml
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
131
132
[tool.poetry]
name = "research-town"
version = "0.0.2"
description = "multi-agent environment for research community simulation"
authors = ["Haofei Yu <[email protected]>"]
license = "Apache 2.0 License"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10, <3.12"
pydantic = ">=2.5.0"
pypdf2 = ">=3.0.1"
litellm = "^1.49.7"
beartype = "^0.19.0"
numpy = "<2.0.0"
transformers = "^4.45.1"
termcolor = "^2.4.0"
arxiv = "^2.1.0"
requests = "*"
beautifulsoup4 = "*"
lxml = "*"
tqdm = "*"
keybert = "*"
semanticscholar = "*"
socksio = "*"
torch = { version = ">=2.2.0, <2.3.0", optional = true }
uvicorn = { version = "*", optional = true }
fastapi = { version = "*", optional = true }
pandas = { version = "*", optional = true }
bert_score = { version = "*", optional = true }
rouge_score = { version = "*", optional = true }
nltk = { version = "*", optional = true }
voyageai = { version = "*", optional = true }
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
nbmake = "*"
types-setuptools = "*"
types-requests = "*"
types-tqdm = "*"
types-PyYAML = "*"
ruff = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-cov = "*"
pytest-asyncio = "*"
mypy = "^1.11.2"
[tool.poetry.extras]
humaneval = ["pandas"]
backend = ["uvicorn", "fastapi"]
researchbench = ["bert_score", "rouge_score", "nltk", "voyageai"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
follow_imports = "normal"
strict = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
[tool.codespell]
ignore-words-list = "dout, te, indicies, astroid"
skip = ["data"]
[tool.isort]
profile = "black"
use_parentheses = true
skip_gitignore = true
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
line_length = 88
[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
[tool.ruff]
line-length = 88
fix = true
target-version = "py310"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.mypy-arxiv]
ignore_missing_imports = true
[tool.mypy-transformers]
ignore_missing_imports = true
[tool.mypy-litellm]
ignore_missing_imports = true
[tool.pydoc-markdown]
loaders = [
{ type = "python", search_path = ["."] }
]
[[tool.pydoc-markdown.processors]]
type = "filter"
skip_empty_modules = true
[[tool.pydoc-markdown.processors]]
type = "smart"
[[tool.pydoc-markdown.processors]]
type = "crossref"
[tool.pydoc-markdown.renderer]
type = "docusaurus"
docs_base_path = "docs"
relative_output_path = ""
sidebar_top_level_label = "Documentation"
[[tool.poetry.source]]
name = "torchcpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"