summaryrefslogtreecommitdiffstatshomepage
path: root/.gitignore
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 /.gitignore
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 '.gitignore')
-rw-r--r--.gitignore15
1 files changed, 14 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index aec2ae5..41f3aaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -164,4 +164,17 @@ cython_debug/
uv.lock
# dataset
-dataset/ \ No newline at end of file
+dataset/
+
+# 忽略整个 models 目录,但保留推理需要的文件
+models/
+!models/**/*.onnx
+!models/**/*.onnx.data
+!models/**/config.json
+!models/**/tokenizer.json
+!models/**/tokenizer_config.json
+!models/**/special_tokens_map.json
+!models/**/vocab.txt
+
+# CI build artifacts
+model.zip \ No newline at end of file