Refactor: Use bert_models.transfer_model()

This commit is contained in:
tsukumi
2024-08-10 16:18:14 +09:00
parent f84d2ed48b
commit bdf20e8911
5 changed files with 13 additions and 4 deletions

View File

@@ -80,10 +80,12 @@ cov = ["test-cov", "cov-report"]
detached = true
dependencies = ["black[jupyter]", "isort"]
[tool.hatch.envs.style.scripts]
# Usage: `hatch run style:check`
check = [
"black --check --diff .",
"isort --check-only --diff --profile black --gitignore --lai 2 . --sg \"Data/*\" --sg \"inputs/*\" --sg \"model_assets/*\" --sg \"static/*\"",
]
# Usage: `hatch run style:fmt`
fmt = [
"black .",
"isort --profile black --gitignore --lai 2 . --sg \"Data/*\" --sg \"inputs/*\" --sg \"model_assets/*\" --sg \"static/*\"",