-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (77 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
93 lines (77 loc) · 1.58 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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "kblam"
version = "0.0.1"
description= "Knowledge Base augmented Language Model"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"accelerate",
"datasets==3.2.0",
"transformers==4.46.0",
"torch",
"sentence_transformers",
"azure-ai-ml",
"azure-core",
"azure-identity",
"azure-mgmt-authorization",
"openai",
"pytest",
"rich",
"evaluate",
"nltk",
"rouge-score",
"bert_score"
]
[dependency-groups]
dev = [
"mypy>=1.5.1",
"pre-commit",
"pylint>=3.0.0",
"pytest>=7.4.2",
"codespell",
"coverage",
"ipykernel",
"jinja2",
"ruff",
"pyright",
]
experiment = [
"lm-eval==0.4.5",
"wandb",
]
all = ["kblam[dev,experiment]"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["*_test.py", "tests/*"]
[tool.setuptools.package-data]
"*" = ["py.typed"]
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.isort]
py_version = 310
profile = "black"
line_length = 120
[tool.mypy]
python_version = "3.10"
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pylint.main]
max-line-length = 120
suggestion-mode = true
py-version = "3.10"
[tool.pylint.messages_control]
# Disable the message, report, category or checker with the given id(s).
disable = [
"logging-fstring-interpolation"
]
[tool.pylint.basic]
docstring-min-length = 10
[tool.pdm.build]
includes = ["src"]