-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/update requirements and use Python 3.8 as supported minimum vers…
…ion (#83) * Check model existence with model.safetensors Signed-off-by: Aivin V. Solatorio <[email protected]> * Add bump version Signed-off-by: Aivin V. Solatorio <[email protected]> * Use poetry Signed-off-by: Aivin V. Solatorio <[email protected]> * Add dev deps Signed-off-by: Aivin V. Solatorio <[email protected]> * Update ignore file Signed-off-by: Aivin V. Solatorio <[email protected]> * Add download stats Signed-off-by: Aivin V. Solatorio <[email protected]> * Bump minor version, Python 3.7 to 3.8 Signed-off-by: Aivin V. Solatorio <[email protected]> --------- Signed-off-by: Aivin V. Solatorio <[email protected]>
- Loading branch information
1 parent
e14fab3
commit 64e1b04
Showing
7 changed files
with
54 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,54 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[project] | ||
[tool.poetry] | ||
name = "REaLTabFormer" | ||
dynamic = ["version"] | ||
authors = [ | ||
{ name="Aivin V. Solatorio", email="[email protected]" }, | ||
] | ||
description = "A novel method for generating tabular and relational data using language models." | ||
authors = ["Aivin V. Solatorio <[email protected]>"] | ||
readme = "README.md" | ||
license = { file="LICENSE" } | ||
requires-python = ">=3.7" | ||
license = "MIT" | ||
version = "0.2.0" | ||
homepage = "https://github.com/avsolatorio/REaLTabFormer" | ||
documentation = "https://worldbank.github.io/REaLTabFormer/" | ||
|
||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Operating System :: OS Independent" | ||
] | ||
|
||
keywords = [ | ||
"REaLTabFormer", "deep learning", "tabular data", | ||
"transformers", "data generation", "seq2seq model", | ||
"synthetic data", "pytorch", "language models", | ||
"synthetic data generation" | ||
] | ||
dependencies = [ | ||
"accelerate >= 0.20.3", | ||
"datasets >= 2.6.1", | ||
"numpy >= 1.21.6", # "numpy >= 1.23.4", | ||
"pandas >= 1.3.5", # "pandas >= 1.5.1", | ||
"scikit_learn >= 1.0.2", # "scikit_learn >= 1.1.3", | ||
"torch >= 1.13.0", | ||
"tqdm >= 4.64.1", | ||
"transformers >= 4.24.0", | ||
"shapely >= 1.8.5.post1", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/avsolatorio/REaLTabFormer" | ||
"Documentation" = "https://avsolatorio.github.io/REaLTabFormer/" | ||
[tool.poetry.dependencies] | ||
python = ">=3.8" | ||
datasets = ">=2.6.1" | ||
numpy = ">=1.21.6" # ">=1.23.4" | ||
pandas = ">=1.3.5" # ">=1.5.1" | ||
scikit-learn = ">=1.0.2" # ">=1.1.3" | ||
tqdm = ">=4.64.1" | ||
transformers = {extras = ["torch", "sentencepiece"], version = ">=4.41.0"} | ||
shapely = ">=1.8.5.post1" | ||
|
||
[tool.poetry.urls] | ||
Homepage = "https://github.com/avsolatorio/REaLTabFormer" | ||
Documentation = "https://avsolatorio.github.io/REaLTabFormer/" | ||
|
||
[tool.poetry.scripts] | ||
realtabformer = "realtabformer:main" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
[tool.poetry_bumpversion.file."src/realtabformer/VERSION"] | ||
|
||
[tool.setuptools.dynamic] | ||
# version = {attr = "realtabformer.__version__"} | ||
version = {file = "src/realtabformer/VERSION"} | ||
[tool.poetry.group.dev.dependencies] | ||
ipykernel = "^6.29.4" | ||
pytest = "^8.2.2" | ||
isort = "^5.13.2" | ||
black = "^24.4.2" | ||
bandit = "^1.7.9" | ||
trufflehog = "^2.2.1" | ||
pytest-mock = "^3.14.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.7 | ||
0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters