-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.08 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ml-playground"
version = "0.1.0"
description = "Machine Learning Playground with LLM Embedding Demos"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"torch>=2.6.0",
"transformers>=4.40.0",
"datasets>=2.18.0",
"accelerate>=0.30.0",
"numpy>=1.26.0",
"scikit-learn>=1.4.0",
"matplotlib>=3.8.0",
"seaborn>=0.13.0",
"tqdm>=4.66.0",
"wandb>=0.21.1",
"hf_transfer>=0.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"jupyter>=1.0.0",
"ipykernel>=6.0.0",
]
wandb = ["wandb>=0.16.0"]
[tool.black]
line-length = 88
target-version = ['py38']
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.8"
warn_return_any = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.hatch.build.targets.wheel]
packages = ["modeling"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v"