-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (41 loc) · 932 Bytes
/
pyproject.toml
File metadata and controls
46 lines (41 loc) · 932 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "source-code-summarization"
version = "0.1.0"
description = "LLM-based code summarization with AST-aware evaluation"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"transformers>=4.36.0",
"datasets>=2.16.0",
"peft>=0.7.0",
"accelerate>=0.25.0",
"bitsandbytes>=0.41.0",
"trl>=0.7.0",
"distilabel>=1.0.0",
"tree-sitter>=0.20.0",
"tree-sitter-python>=0.20.0",
"evaluate>=0.4.0",
"rouge-score",
"nltk",
"safetensors",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"requests>=2.31.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
"httpx>=0.24.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
testpaths = ["tests"]