forked from opendatahub-io/lm-evaluation-harness
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (85 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
94 lines (85 loc) · 2.37 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
[build-system]
requires = ["setuptools==70.0.0", "wheel==0.45.1"]
build-backend = "setuptools.build_meta"
[project]
name = "lm_eval"
version = "0.4.8"
authors = [
{name="EleutherAI", email="contact@eleuther.ai"}
]
description = "A framework for evaluating language models"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.11,<3.13"
license = { "text" = "MIT" }
dependencies = [
"urllib3==2.6.3",
"accelerate==1.0.1",
"evaluate==0.4.3",
"eval-hub-sdk[adapter]==0.1.2",
"datasets==3.1.0",
"jsonlines==4.0.0",
"numexpr==2.10.1",
"peft==0.13.2",
"pybind11==2.13.6",
"pytablewriter==1.2.0",
"rouge-score==0.1.2",
"sacrebleu==2.4.3",
"scikit-learn==1.5.2",
"sqlitedict==2.1.0",
"torch==2.6.0",
"tqdm-multiprocess==0.0.11",
"transformers==4.48.0",
"zstandard==0.23.0",
"dill==0.3.8",
"word2number==1.1",
"more_itertools==10.5.0",
"unitxt==1.17.2",
"jiwer==3.0.5",
"boto3==1.42.12",
"olot==0.1.15",
]
[tool.setuptools.packages.find]
include = ["lm_eval*"]
# required to include yaml files in pip installation
[tool.setuptools.package-data]
lm_eval = ["**/*.yaml", "tasks/**/*"]
[project.scripts]
lm-eval = "lm_eval.__main__:cli_evaluate"
lm_eval = "lm_eval.__main__:cli_evaluate"
[project.urls]
Homepage = "https://github.com/EleutherAI/lm-evaluation-harness"
Repository = "https://github.com/EleutherAI/lm-evaluation-harness"
[project.optional-dependencies]
api = [
"requests==2.32.5",
"aiohttp==3.13.3",
"tenacity==9.0.0",
"tqdm==4.66.6",
"tiktoken==0.8.0",
]
ifeval = ["langdetect==1.0.9", "immutabledict==4.2.1", "nltk==3.9.1"]
math = ["sympy>=1.12", "antlr4-python3-runtime==4.11", "math_verify[antlr4_11_0]"]
dev = [
"pytest==8.3.3",
"pytest-cov==6.0.0",
"pytest-xdist==3.6.1",
"pre-commit==4.0.1",
"mypy==1.13.0",
]
hf_transfer = ["hf-transfer==0.1.9"]
testing = ["pytest==8.3.3", "pytest-cov==6.0.0", "pytest-xdist==3.6.1"]
ibm_watsonx_ai = ["ibm-watsonx-ai==1.4.11"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["lm_eval"]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401", "F402", "F403"]
"utils.py" = ["F401"]