forked from clp-research/clemcore
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (63 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
70 lines (63 loc) · 2.22 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "clemcore"
version = "3.7.2"
description = "The cLLM (chat-optimized Large Language Model, 'clem') framework tests such models' ability to engage in games, that is, rule-constituted activities played using language."
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "MIT" }
authors = [
{ name = "Philipp Sadler", email = "philipp.sadler@gmail.com" },
]
maintainers = [
{ name = "Computational Linguistics Group, University of Potsdam" },
]
dependencies = [
"pyyaml>=6.0",
"retry>=0.9.2",
"tqdm>=4.65.0",
"nltk>=3.9.2,<4.0.0", # for featstruct.unify (3.9 fixes CVE-2024-39705)
"openai>=2.15.0,<3.0.0",
"anthropic>=0.75.0,<1.0.0",
"cohere>=5.20.1,<6.0.0",
"google-genai>=1.57.0,<2.0.0",
"mistralai>=2.0.0,<3.0.0",
"pandas>=2.3.0,<3.0",
"sparklines>=0.7.0",
"pylatex>=1.4.0,<2.0.0", # transcripts
"ordered-set>=4.1.0,<5.0.0", # transcripts
"markdown>=3.8.0,<4.0.0", # transcripts
"pettingzoo>=1.25.0,<2.0.0", # to wrap games as pettingzoo or gymnasium environments
"openenv-core~=0.2.1", # to serve games as openenv server
"datasets>=4.4.0,<5.0.0" # to load playpen-data for openenv server
]
[project.optional-dependencies]
huggingface = [
"transformers>=5.0.0,<6.0.0", # installs torch
"accelerate", # required for device_map="auto"; version compatibility managed by transformers
"bitsandbytes", # for loading models with 4-bit and 8-bit quantization
"peft", # for loading LoRA models (adapters)
"torchvision", # version resolved by torch
]
slurk = [
"python-engineio==4.4.0",
"python-socketio==5.7.2",
"websocket-client"
]
[project.scripts]
clem = "clemcore.cli:main"
[project.urls]
Homepage = "https://github.com/clp-research/clemcore"
[tool.setuptools.package-data]
clemcore = ["resources/**/*"]
[tool.setuptools]
packages = ["clemcore"]
[tool.pytest.ini_options]
markers = [
"api: tests that call external APIs (require keys, cost money)",
"integration: integration tests with known limitations",
"clembench: integration tests requiring clembench games",
]
addopts = "-m 'not api and not integration and not clembench'"