/
pyproject.toml
85 lines (78 loc) · 1.94 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
[project]
requires-python = ">=3.10, <3.13"
[tool.poetry]
name = "modelbench"
version = "0.5.1"
description = "Run benchmarks and generate reports measuring the behavior of many AI Systems."
license = "Apache-2.0"
authors = ["MLCommons AI Safety <ai-safety-engineering@mlcommons.org>"]
readme = "README.md"
repository = "https://github.com/mlcommons/modelbench"
keywords = [
"AI",
"GenAI",
"LLM",
"NLP",
"evaluate",
"measure",
"quality",
"testing",
"prompt",
"safety",
"compare",
"artificial",
"intelligence",
"Large",
"Language",
"Models",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Benchmark",
"Typing :: Typed",
]
packages = [
{ include = "modelbench", from = "src" }
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
modelgauge = { version = ">=0.5.1", extras = ["perspective_api", "standard_tests", "together"] }
jq = "^1.6.0"
click = "^8.1.7"
casefy = "^0.1.7"
termcolor = "^2.4.0"
pip = "^24.0"
jinja2 = "^3.1.3"
scipy = "^1.12.0"
retry = "^0.9.2"
tabulate = "^0.9.0"
[tool.poetry.group.dev.dependencies]
pytest-datafiles = "^3.0.0"
pytest = "^8.0.1"
mypy = "^1.7.1"
black = "^24.3.0"
beautifulsoup4 = "^4.12.3"
types-beautifulsoup4 = "^4.12.0.20240229"
[tool.poetry.scripts]
modelbench = "modelbench.run:cli"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
pythonpath = [
"src", "tests"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120