-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
127 lines (115 loc) · 2.71 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
# make it compatible with black
profile = "black"
line_length = 120
[[tool.mypy.overrides]]
module = "nltk.*"
ignore_missing_imports = true
[tool.poetry]
name = "silnlp"
version = "1.0.0"
description = ""
authors = ["SIL International"]
[tool.poetry.scripts]
silnlp-extract-corpora = "silnlp.common.extract_corpora:main"
silnlp-nmt-preprocess = "silnlp.nmt.preprocess:main"
silnlp-nmt-train = "silnlp.nmt.train:main"
silnlp-nmt-test = "silnlp.nmt.test:main"
silnlp-nmt-translate = "silnlp.nmt.translate:main"
silnlp-alignment-preprocess = "silnlp.alignment.preprocess:main"
silnlp-alignment-align = "silnlp.alignment.align:main"
silnlp-alignment-test = "silnlp.alignment.test:main"
silnlp-alignment-aggregate-results = "silnlp.alignment.aggregate_results:main"
clowder = "clowder.clowder:main"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.9"
pandas = "^1.0.4"
sentencepiece = "^0.1.97"
nltk = "^3.5"
python-dotenv = "0.20.0"
seaborn = "0.11.2"
morfessor = "^2.0.6"
Morfessor-FlatCat = "^1.0.8"
psutil = "^5.7.3"
scikit-learn = "1.1.2"
numpy = "^1.23.1"
OpenNMT-tf = "^2.31.0"
lit-nlp = "0.4.1"
tensorflow = "2.7.3"
google-cloud-translate = "^3.0.2"
scipy = "1.8"
clearml = ">=1.4.1"
XlsxWriter = "^3.2.0"
python-Levenshtein = "^0.20.9"
lxml = "^4.6.3"
tqdm = "^4.62.2"
s3path = "0.3.4"
sacrebleu = "^2.3.1"
ctranslate2 = "^3.5.1"
tensorflow-addons = "0.17.1"
libclang = "14.0.6"
sil-machine = {extras = ["thot"], version = "^1.1.0"}
datasets = "^2.7.1"
torch = {version = "2.1.2", source = "torch"}
sacremoses = "^0.0.53"
evaluate = "^0.3.0"
python-docx = "^0.8.11"
iso639-lang = "^2.1.0"
eflomal = { version = "^2.0.0", optional = true }
accelerate = "^0.23.0"
transformers = "^4.36.2"
optimum = "^1.16.0"
google = "^3.0.0"
google-api-python-client = "^2.101.0"
google-auth-httplib2 = "^0.1.1"
google-auth-oauthlib = "^1.0.0"
oauth2client = "^4.1.3"
gspread = "^5.11.2"
pydrive2 = "^1.17.0"
jinja2 = "^3.1.2"
peft = "0.8.0"
typer = "^0.9.0"
rich = "^13.7.0"
gspread-dataframe = "^3.3.1"
attrs = "^22.2.0"
jsonschema = "^4.18.0"
requests = "^2.31"
openpyxl = "^3.1.2"
packaging = "^22.0"
hanzidentifier = "^1.2.0"
[tool.poetry.group.dev.dependencies]
types-pyyaml = "^6.0.12.12"
black = "^22.6.0"
flake8 = "^3.9.0"
ipykernel = "^6.4.1"
pylint = "^2.8.3"
pytest = "^6.2.4"
types-tqdm = "^4.62.4"
pandas-stubs = "^1.0.4"
types-regex = "^2023.10.3.0"
lxml-stubs = "^0.4.0"
mypy = "^1.7.1"
[tool.poetry.extras]
eflomal = ["eflomal"]
[[tool.poetry.source]]
name = "torch"
url = "https://download.pytorch.org/whl/cu121"
priority = "explicit"