forked from Moonlight-Syntax/LUNA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (67 loc) · 1.24 KB
/
pyproject.toml
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
[tool.poetry]
name = "luna-nlg"
version = "1.0.0"
description = "Source code for the LUNA project"
authors = [
"Moonlight Syntax <[email protected]>"
]
license = "MIT"
readme = "README.md"
packages = [
{ include = "luna" }
]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
torch = "1.12.1"
numpy = "1.24.1"
joblib = "1.3.2"
gdown = "4.7.1"
transformers = "4.28.1"
gin-config = "0.5.0"
spacy = "3.5.2"
scikit-learn = "1.2.2"
geomloss = "0.2.6"
six = "1.16.0"
blanc = "0.3.0"
evaluate = "0.4.0"
sacrebleu = "2.3.1"
scipy = "1.10.1"
pyemd = "1.0.0"
bert-score = "0.3.13"
absl-py = "1.4.0"
rouge-score = "0.1.2"
POT = "0.9.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "3.3.1"
autoflake = "2.1.1"
pytest = "7.3.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
color = true
line-length = 120
target-version = ["py39"]
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| env
| venv
)/
'''
[tool.isort]
py_version = 38
line_length = 120
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
profile = "black"
include_trailing_comma = true
indent = 4
color_output = true