forked from studio-ousia/luke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (41 loc) · 1.06 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
[tool.poetry]
authors = ["Ikuya Yamada <[email protected]>", "Ryokan Ri <[email protected]>"]
description = ""
name = "luke"
version = "0.2.0"
[tool.poetry.dependencies]
python = "^3.7.1,<3.11"
tensorflow = "^2.8.0"
torch = "^1.8.0,<1.11.0"
click = "^8.0.4"
joblib = "^1.1.0"
marisa-trie = "^0.7.7"
sentencepiece = "^0.1.96"
tqdm = "^4.63.0"
ujson = "^5.1.0"
wikipedia2vec = "^1.0.5"
transformers = "4.13.0"
allennlp = {extras = ["checklist"], version = "^2.9.2"}
allennlp-models = "2.9.0"
seqeval = "1.2.2"
PyICU = {version = "^2.8.1", optional = true}
comet-ml = {version = "^3.28.2", optional = true}
pyjnius = {version = "^1.4.1", optional = true}
deepspeed = {version = "^0.6.0", optional = true}
[tool.poetry.extras]
comet = ["comet-ml"]
icu = ["pyicu"]
opennlp = ["pyjnius"]
pretraining = ["deepspeed"]
[tool.poetry.scripts]
luke = 'luke.cli:cli'
[tool.poetry.dev-dependencies]
black = "^22.1.0"
pre-commit = "^2.17.0"
pytest = "^7.1.1"
isort = "^5.10.1"
[tool.black]
line-length = 120
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"