summaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-12-30 21:21:59 +0800
committerHsiangNianian <i@jyunko.cn>2025-12-30 21:22:07 +0800
commitd35712d0f200b7862450b173a1bee95d1bd85dc8 (patch)
treed29ec96468d1f630262386e5b2c06a13622fdaee /pyproject.toml
parent2a7b27169c6b208175aad3d46c97a97cb59cd751 (diff)
downloadbase-model-d35712d0f200b7862450b173a1bee95d1bd85dc8.tar.gz
base-model-d35712d0f200b7862450b173a1bee95d1bd85dc8.zip
feat: Update Python version requirement and add onnxscript dependency
- Changed the required Python version from >=3.12 to >=3.10 in pyproject.toml. - Reformatted the dependencies section for better readability. - Added "onnxscript>=0.5.7" to the train optional dependencies.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml9
1 files changed, 7 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 410c8e4..356884d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ version = "0.1.5"
description = "HydroRoll TRPG NER 模型 - 桌上角色扮演游戏日志命名实体识别"
authors = [{ name = "HsiangNianian", email = "leader@hydroroll.team" }]
readme = "README.md"
-requires-python = ">=3.12"
+requires-python = ">=3.10"
license = { text = "AFL-3.0" }
keywords = [
"hydroroll",
@@ -30,7 +30,11 @@ classifiers = [
"Topic :: Text Processing :: Linguistic",
]
-dependencies = ["numpy>=1.24.0", "onnxruntime>=1.23.2", "transformers>=4.57.3"]
+dependencies = [
+ "numpy>=1.24.0",
+ "onnxruntime>=1.23.2",
+ "transformers>=4.57.3",
+]
[project.optional-dependencies]
train = [
@@ -38,6 +42,7 @@ train = [
"datasets>=2.18.0",
"accelerate>=0.27.0",
"tqdm>=4.66.0",
+ "onnxscript>=0.5.7",
]
dev = [
"base-model-trpgner[train]",