-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
41 lines (37 loc) · 1.07 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
[tool.poetry]
name = "tftokenizers"
version = "0.1.8"
description = "Use Huggingface Transformer and Tokenizers as Tensorflow Reusable SavedModels."
authors = ["MarkusSagen <markus.john.sagen@gmail.com>"]
license = "Apache License 2.0"
repository = 'https://github.com/Hugging-Face-Supporter/tftokenizers'
readme = 'README.md'
keywords = ['huggingface', 'transformers', 'tokenizers', 'tensorflow', 'text']
[tool.poetry.dependencies]
python = ">=3.7,<3.10"
sentencepiece = "^0.1.92"
tensorflow = "^2.5.0"
tensorflow-text = "^2.5.0"
tf-sentencepiece = "^0.1.92"
transformers = "^4.0.1"
torch = "^1.6.0"
rich = { extras = ["jupyter"], version = "^10.12.0" }
pydantic = "^1.6.0"
[tool.poetry.dev-dependencies]
pytest = "6.2.5"
pytest-cov = "3.0.0"
isort = "5.10.1"
flake8 = "4.0.1"
black = "20.8b1"
mypy = "0.910"
tox = "3.24.4"
tomlkit = "0.7.2"
pylint = "2.9.0"
autopep8 = "^1.6.0"
python-lsp-server = "^1.4.0"
pyright = "^1.1.229"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
# setup = "tftokenizers.poetry.utils:setup"