-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (47 loc) · 1.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
[project]
name = "summarizer"
version = "0.1.0"
description = "Text summarization project using T5 and XSum dataset"
authors = [
{name = "Michał Furgała",email = "83299832+00200200@users.noreply.github.com"}
]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"torch>=2.2.0",
"transformers>=4.37.0",
"datasets>=2.18.0",
"gradio>=4.19.0",
"numpy>=1.24.0",
"tqdm>=4.66.0",
"evaluate>=0.4.0",
"rouge-score>=0.1.2",
"nltk>=3.8.0",
"matplotlib>=3.7.0",
]
[tool.poetry]
name = "summarizer"
version = "0.1.0"
description = "Text summarization project using T5 and XSum dataset"
authors = ["Michał Furgała <83299832+00200200@users.noreply.github.com>"]
packages = [{include = "src"}]
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
pylint = "^2.15.0"
pytest = "^8.0.0"
pre-commit = "^3.6.0"
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
[tool.pylint.messages_control]
disable = [
"C0111", # missing-docstring
"C0114", # missing-module-docstring
"missing-docstring" # alias for both C0111 and C0114
]
[tool.pylint.format]
max-line-length = 88